Codename LogoCodename Logo

funkin.editors.ui.UITextBox

APIWikiTools

Constructor

View on GitHub

new(x:Float, y:Float, text:String = "", width:Int = 320, height:Int = 32, multiline:Bool = false, small:Bool = false)

Variables

caretSpr:FlxSprite

multiline:Bool = false

position:Int = 0

onChange:String ‑> Void

Methods

View on GitHub

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

View on GitHub

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

View on GitHub

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

View on GitHub

onTextInput(text:String):Void

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