MCPcopy Create free account
hub / github.com/Card-Forge/forge / drawCheckBox

Method drawCheckBox

forge-gui-mobile/src/forge/toolbox/FCheckBox.java:62–64  ·  view source on GitHub ↗
(Graphics g, boolean isChecked, float x, float y, float w, float h)

Source from the content-addressed store, hash-verified

60 }
61
62 public static void drawCheckBox(Graphics g, boolean isChecked, float x, float y, float w, float h) {
63 drawCheckBox(g, getBoxColor(), getCheckColor(), isChecked, x, y, w, h);
64 }
65 public static void drawCheckBox(Graphics g, FSkinColor boxColor, FSkinColor checkColor, boolean isChecked, float x, float y, float w, float h) {
66 g.drawRect(Utils.scale(1), boxColor, x, y, w, h);
67 if (isChecked) {

Callers 8

drawMethod · 0.95
drawValueMethod · 0.95
drawPrefValueMethod · 0.95
drawValueMethod · 0.95
drawMethod · 0.95
drawValueMethod · 0.95
drawValueMethod · 0.95
drawMethod · 0.80

Calls 5

getBoxColorMethod · 0.95
getCheckColorMethod · 0.95
scaleMethod · 0.95
drawRectMethod · 0.80
drawLineMethod · 0.80

Tested by

no test coverage detected