MCPcopy Create free account
hub / github.com/Var3D/var3dframe / getSelectBox

Method getSelectBox

core/src/core/java/var3d/net/center/VGame.java:2268–2278  ·  view source on GitHub ↗
(String titlebg)

Source from the content-addressed store, hash-verified

2266 }
2267
2268 @SuppressWarnings("rawtypes")
2269 public <T> UI<VSelectBox> getSelectBox(String titlebg) {
2270 SelectBoxStyle style = new SelectBoxStyle();
2271 style.fontColor = Color.BLACK;
2272 style.background = getDrawable(titlebg);
2273 style.font = getFont();
2274 style.scrollStyle = new ScrollPaneStyle(getRectColorDrawable(1, 1, new Color(0.4f, 0.4f, 0.4f, 0.6f)), null, null, null, null);
2275 style.listStyle = new ListStyle(getFont(), Color.BROWN, Color.WHITE, getRectColorDrawable(1, 1, new Color(1, 1, 0, 0.3f)));
2276 VSelectBox select = new VSelectBox(style);
2277 return getUI(select);
2278 }
2279
2280 /**
2281 * 创建ScrollPane

Callers

nothing calls this directly

Calls 4

getDrawableMethod · 0.95
getFontMethod · 0.95
getRectColorDrawableMethod · 0.95
getUIMethod · 0.95

Tested by

no test coverage detected