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

Method getColorBgnd

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

Source from the content-addressed store, hash-verified

233 }
234
235 private int getColorBgnd() {
236 int type=((PopUpElement)popUps.elementAt(0)).getType();
237 switch (type) {
238 case TYPE_SYSTEM:
239 return ColorTheme.getColor(ColorTheme.POPUP_SYSTEM_BGND);
240 case TYPE_MESSAGE:
241 return ColorTheme.getColor(ColorTheme.POPUP_MESSAGE_BGND);
242 }
243 return COLOR_ALERT_BGND;
244 }
245
246//paint
247 //private static int[] alphaBuffer = null;

Callers 1

paintCustomMethod · 0.95

Calls 2

getColorMethod · 0.95
getTypeMethod · 0.65

Tested by

no test coverage detected