Jump to content

[SOLVED] Wall System GUI


photo

Recommended Posts

Posted

I Wall System is used. ( AppWall_x86.dll Plugin)

I want to output on each of the Windows(Wall) WidgetSpriteViewport or WidgetSprite.

Posted

engine.wall.getGui() function will be available in the next SDK update.

 

forloop(int y = 0; engine.wall.getHeight()) {
forloop(int x = 0; engine.wall.getWidth()) {
 Gui gui = engine.wall.getGui(x,y);
 WidgetLabel label = new WidgetLabel(engine.getGui(),format("%dx%d",x,y));
 gui.addChild(label,GUI_ALIGN_OVERLAP);
 label.setPosition(128,128);
 label.setFontSize(32);
}
}

×
×
  • Create New...