A simple class to hold window item data. The same class is used for every window item kind so that it's easier to recycle it and avoid allocating too much data at every frame.

Static methods

staticget():WindowItem

Constructor

new()

Variables

@:value(UNKNOWN)kind:WindowItemKind = UNKNOWN

@:value(null)previous:WindowItem = null

@:value(null)theme:Theme = null

@:value(0)int0:Int = 0

@:value(0)int1:Int = 0

@:value(0)int2:Int = 0

@:value(0)labelPosition:Int = 0

@:value(false)disabled:Bool = false

@:value(1)flex:Int = 1

@:value(0)float0:Float = 0

@:value(0)float1:Float = 0

@:value(0)labelWidth:Float = 0

@:value(0)float3:Float = 0

@:value(0)float4:Float = 0

@:value(false)bool0:Bool = false

@:value(false)bool1:Bool = false

@:value(false)bool2:Bool = false

@:value(null)string0:String = null

@:value(null)string1:String = null

@:value(null)string2:String = null

@:value(null)string3:String = null

@:value(null)string4:String = null

@:value(null)any0:Any = null

@:value(null)any1:Any = null

@:value(null)any2:Any = null

@:value(null)any3:Any = null

@:value(null)any4:Any = null

@:value(null)any5:Any = null

@:value(null)visual:Visual = null

@:value(null)stringArray0:Array<String> = null

@:value(null)stringArray1:Array<String> = null

@:value(null)anyArray0:Array<Any> = null

@:value(-1)row:Int = -1

Methods