Codename LogoCodename Logo

funkin.editors.ui.UIDropDown

APIWikiTools

Static methods

View on GitHub

staticgetItems(options:Array<String>):Array<DropDownItem>

View on GitHub

staticindexOfItemLabel(items:Array<DropDownItem>, str:String):Int

View on GitHub

staticindexOfItemValue(items:Array<DropDownItem>, value:Dynamic):Int

Constructor

View on GitHub

new(x:Float, y:Float, width:Int = 320, height:Int = 32, _options:Array<OneOfTwo<DropDownItem, String>>, index:Int = 0)

Variables

dropIcon:FlxSprite

index:Int = 0

read onlykey:String

options:Array<String>

read onlyvalue:Dynamic

onChange:Int ‑> Void

Methods

Inherited Variables

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