MCPcopy Create free account
hub / github.com/benfry/processing4 / updateTheme

Method updateTheme

app/src/processing/app/ui/EditorHeader.java:138–151  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

136
137
138 public void updateTheme() {
139 textColor[SELECTED] = Theme.getColor("header.text.selected.color");
140 textColor[UNSELECTED] = Theme.getColor("header.text.unselected.color");
141 font = Theme.getFont("header.text.font");
142
143 tabColor[SELECTED] = Theme.getColor("header.tab.selected.color");
144 tabColor[UNSELECTED] = Theme.getColor("header.tab.unselected.color");
145
146 arrowColor = Theme.getColor("header.tab.arrow.color");
147 //modifiedColor = mode.getColor("editor.selection.color");
148 modifiedColor = Theme.getColor("header.tab.modified.color");
149
150 gradient = Theme.makeGradient("header", 400, HIGH);
151 }
152
153
154 public void paintComponent(Graphics g) {

Callers 1

EditorHeaderMethod · 0.95

Calls 3

getColorMethod · 0.95
getFontMethod · 0.95
makeGradientMethod · 0.95

Tested by

no test coverage detected