Codename LogoCodename Logo

funkin.editors.ui.UINumericStepper

APIWiki

Constructor

View in GitHub

@:value({ h : 32, w : 180, precision : 0, step : 1, value : 0 })new(x:Float, y:Float, value:Float = 0, step:Float = 1, precision:Int = 0, ?min:Float, ?max:Float, w:Int = 180, h:Int = 32)

Variables

@:value(null)max:Null<Float> = null

@:value(null)min:Null<Float> = null

@:value(0)precision:Int = 0

@:value(1)step:Float = 1

value:Float

Inherited Variables

Defined by UITextBox

caretSpr:FlxSprite

@:value(false)multiline:Bool = false

onChange:String ‑> Void

@:value(0)position:Int = 0

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 UITextBox

View in GitHub

onKeyDown(e:KeyCode, modifier:KeyModifier):Void

View in GitHub

onKeyUp(e:KeyCode, modifier:KeyModifier):Void

View in GitHub

onTextEdit(text:String, start:Int, end:Int):Void

View in GitHub

onTextInput(text:String):Void

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.