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

Method VirtualList

src/main/java/ui/VirtualList.java:398–420  ·  view source on GitHub ↗

Creates a new instance of VirtualList

()

Source from the content-addressed store, hash-verified

396
397 /** Creates a new instance of VirtualList */
398 public VirtualList() {
399 //setFullScreenMode(Config.fullscreen);
400 /* if (phoneManufacturer != Config.MICROEMU) {
401 width = sd.canvas.getWidth();
402 height = sd.canvas.getHeight();
403 }*/
404
405 PopUp.getInstance();
406
407 changeOrient(cf.panelsState);
408
409// setFullScreenMode(fullscreen);
410
411 scrollbar=new ScrollBar();
412 scrollbar.setHasPointerEvents(VirtualCanvas.getInstance().hasPointerEvents());
413
414 infobar = new MainBar("", true, VirtualCanvas.getInstance().hasPointerEvents() && cf.advTouch && Config.fullscreen);
415 infobar.addElement(null); //1
416 infobar.addRAlign();
417 infobar.addElement(null); //3
418
419 stringHeight = FontCache.getFont(false, FontCache.roster).getHeight();
420 }
421
422 public void show() {
423 parentView = VirtualCanvas.getInstance().getList();

Callers

nothing calls this directly

Calls 9

getInstanceMethod · 0.95
changeOrientMethod · 0.95
getInstanceMethod · 0.95
getFontMethod · 0.95
addElementMethod · 0.80
addRAlignMethod · 0.80
hasPointerEventsMethod · 0.65
getHeightMethod · 0.65
setHasPointerEventsMethod · 0.45

Tested by

no test coverage detected