MCPcopy Create free account
hub / github.com/dumbledore/AlbiteREADER / applyColorProfile

Method applyColorProfile

src/org/albite/albite/BookCanvas.java:1765–1791  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1763 //#endif
1764
1765 private void applyColorProfile() {
1766
1767 /*
1768 * apply to cursor
1769 */
1770 waitCursor.setColor(
1771 currentScheme.colors[ColorScheme.COLOR_CURSOR_WAIT]);
1772
1773 //#if !(TinyMode || TinyModeExport || LightMode || LightModeExport)
1774 /*
1775 * apply to buttons
1776 */
1777 colorizeButtons();
1778 //#endif
1779
1780 /*
1781 * apply to status bar
1782 */
1783 repaintStatusBar = true;
1784
1785 /*
1786 * apply to pages
1787 */
1788 if (currentPageCanvas != null) {
1789 renderPages();
1790 }
1791 }
1792
1793 private void loadFont() {
1794 final int currentFontSize;

Callers 3

initializeMethod · 0.95
cycleColorSchemesMethod · 0.95
setSchemeMethod · 0.95

Calls 3

colorizeButtonsMethod · 0.95
renderPagesMethod · 0.95
setColorMethod · 0.80

Tested by

no test coverage detected