Codename LogoCodename Logo

funkin.editors.ui.UIButtonList

APIWikiTools

Constructor

View on GitHub

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

Variables

addIcon:FlxSprite

buttonCameras:FlxCamera

buttonOffset:FlxPoint = FlxPoint.get()

buttonSize:FlxPoint = null

buttonSpacing:Float = 16

buttons:FlxTypedGroup<T> = new FlxTypedGroup<T>()

cameraSpacing:Int = 30

dragging:Bool = false

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

Methods

View on GitHub

inlineadd(button:T):Void

View on GitHub

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

View on GitHub

inlineremove(button:T):Void

View on GitHub

inlineupdateButtonsPos(elapsed:Float):Void

Inherited Variables

Defined by UIWindow

collapsable:Bool = false

content:FlxTypedGroup<FlxBasic>

Defined by UISliceSprite

bHeight:Int = 20

bWidth:Int = 120

bottomAlpha:Null<Float> = null

bottomHeight:Int = 0

drawBottom:Bool = true

drawMiddle:Bool = true

drawTop:Bool = true

framesOffset:Int = 0

incorporeal:Bool = false

leftWidth:Int = 0

middleAlpha:Null<Float> = null

rightWidth:Int = 0

topAlpha:Null<Float> = null

topHeight:Int = 0

Defined by UISprite

autoAlpha:Bool = true

canBeHovered:Bool = true

focused:Bool

hoverCallback:() ‑> Void = null

hovered:Bool = false

hoveredByChild:Bool = false

members:Array<FlxBasic> = []

pressed:Bool = false

selectable:Bool = true

Inherited Methods

Defined by UISliceSprite

View on GitHub

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

Defined by UISprite