Codename LogoCodename Logo

funkin.editors.ui.UIButtonList

APIWiki

Constructor

View in GitHub

new(x:Float, y:Float, width:Int, height:Int, windowName:String, buttonSize:FlxPoint, ?buttonOffset:FlxPoint, ?buttonSpacing:Float)

Variables

addIcon:FlxSprite

buttonCameras:FlxCamera

@:value(FlxPoint.get())buttonOffset:FlxPoint = FlxPoint.get()

@:value(FlxPoint.get())buttonSize:FlxPoint = FlxPoint.get()

@:value(16)buttonSpacing:Float = 16

@:value(new FlxTypedGroup&lt;T&gt;())buttons:FlxTypedGroup<T> = new FlxTypedGroup<T>()

@:value(30)cameraSpacing:Int = 30

@:value(false)dragging:Bool = false

dragCallback:(T, Int, Int) ‑> Void

Methods

View in GitHub

inlineadd(button:T):Void

View in GitHub

inlineinsert(button:T, position:Int):Void

View in GitHub

inlineremove(button:T):Void

View in GitHub

inlineupdateButtonsPos(elapsed:Float):Void

Inherited Variables

Defined by UIWindow

Defined by UISliceSprite

@:value(20)bHeight:Int = 20

@:value(120)bWidth:Int = 120

@:value(true)drawBottom:Bool = true

@:value(true)drawMiddle:Bool = true

@:value(true)drawTop:Bool = true

@:value(0)framesOffset:Int = 0

@:value(false)incorporeal:Bool = false

Defined by UISprite

@:value(true)autoAlpha:Bool = true

@:value(true)canBeHovered:Bool = true

@:value(ARROW)cursor:MouseCursor = ARROW

focused:Bool

@:value(null)hoverCallback:() ‑> Void = null

@:value(false)hovered:Bool = false

@:value(false)hoveredByChild:Bool = false

@:value([])members:Array<FlxBasic> = []

@:value(false)pressed:Bool = false

@:value(true)selectable:Bool = true

Inherited Methods

Defined by UISliceSprite

View in GitHub

resize(w:Int, h:Int):Void

Defined by UISprite

View in GitHub

onHovered():Void

Called whenever the sprite is being hovered by the mouse.