MCPcopy Index your code
hub / github.com/processing/processing / updateMode

Method updateMode

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

Source from the content-addressed store, hash-verified

142
143
144 public void updateMode() {
145 Mode mode = editor.getMode();
146
147 textColor[SELECTED] = mode.getColor("header.text.selected.color");
148 textColor[UNSELECTED] = mode.getColor("header.text.unselected.color");
149 font = mode.getFont("header.text.font");
150
151 tabColor[SELECTED] = mode.getColor("header.tab.selected.color");
152 tabColor[UNSELECTED] = mode.getColor("header.tab.unselected.color");
153
154 arrowColor = mode.getColor("header.tab.arrow.color");
155 //modifiedColor = mode.getColor("editor.selection.color");
156 modifiedColor = mode.getColor("header.tab.modified.color");
157
158 gradient = mode.makeGradient("header", 400, HIGH);
159 }
160
161
162 public void paintComponent(Graphics screen) {

Callers 1

EditorHeaderMethod · 0.95

Calls 4

getColorMethod · 0.95
getFontMethod · 0.95
makeGradientMethod · 0.95
getModeMethod · 0.45

Tested by

no test coverage detected