Codename LogoCodename Logo

funkin.editors.ui.UIButton

APIWiki

Constructor

View in GitHub

new(x:Float, y:Float, text:String, callback:() ‑> Void, w:Int = 120, h:Int = 32)

Variables

hasBeenPressed:Bool = false

shouldPress:Bool = true

callback:() ‑> Void = null

Methods

Inherited Variables

Defined by UISliceSprite

bHeight:Int = 20

bWidth:Int = 120

drawBottom:Bool = true

drawMiddle:Bool = true

drawTop:Bool = true

framesOffset:Int = 0

incorporeal:Bool = false

Defined by UISprite

autoAlpha:Bool = true

canBeHovered:Bool = true

cursor:MouseCursor = ARROW

focused:Bool

hoverCallback:() ‑> Void = null

hovered:Bool = false

hoveredByChild:Bool = false

members:Array<FlxBasic> = []

pressed:Bool = false

selectable:Bool = true

Inherited Methods