MCPcopy Index your code
hub / github.com/BombusMod/BombusMod / getColorInk

Method getColorInk

src/main/java/ui/controls/PopUp.java:224–233  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

222 }
223
224 private int getColorInk() {
225 int type=((PopUpElement)popUps.elementAt(0)).getType();
226 switch (type) {
227 case TYPE_SYSTEM:
228 return ColorTheme.getColor(ColorTheme.POPUP_SYSTEM_INK);
229 case TYPE_MESSAGE:
230 return ColorTheme.getColor(ColorTheme.POPUP_MESSAGE_INK);
231 }
232 return COLOR_ALERT_INK;
233 }
234
235 private int getColorBgnd() {
236 int type=((PopUpElement)popUps.elementAt(0)).getType();

Callers 1

paintCustomMethod · 0.95

Calls 2

getColorMethod · 0.95
getTypeMethod · 0.65

Tested by

no test coverage detected