Static variables

@:value(false)staticshow:Bool = false

Static methods

@:value({ mh : 160, mw : 400, my : -1, mx : -1, commands : null })staticshowCustom(ui:Zui, ?commands:Zui ‑> Void, mx:Int = -1, my:Int = -1, mw:Int = 400, mh:Int = 160):Void

Displays a popup box with custom drawing code.

Parameters:

ui

the Zui instance for the popup

commands

the function for drawing the popup's content

mx

the x position of the popup. -1 = screen center (defaults to -1)

my

the y position of the popup. -1 = screen center (defaults to -1)

mw

the width of the popup (defaults to 400)

mh

the height of the popup (defaults to 160)

staticshowMessage(ui:Zui, title:String, text:String):Void

Displays a message box with a title, a text body and a centered "OK" button.

Parameters:

ui

the Zui instance for the popup

title

the title to display

text

the text to display

staticupdate():Void