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

Method setScheme

src/org/albite/albite/BookCanvas.java:1740–1749  ·  view source on GitHub ↗
(final byte type, final float hue)

Source from the content-addressed store, hash-verified

1738 }
1739
1740 public final void setScheme(final byte type, final float hue) {
1741
1742 ColorScheme sc =
1743 ColorScheme.getScheme(type, currentScheme.isDay(), hue);
1744
1745 final ColorScheme other = currentScheme.getOther();
1746 sc.link(other);
1747 currentScheme = sc;
1748 applyColorProfile();
1749 }
1750
1751 //#if !(TinyMode || TinyModeExport || LightMode || LightModeExport)
1752 private void colorizeButtons() {

Callers 1

applyColorSchemeMethod · 0.80

Calls 5

getSchemeMethod · 0.95
linkMethod · 0.95
applyColorProfileMethod · 0.95
isDayMethod · 0.80
getOtherMethod · 0.80

Tested by

no test coverage detected