Codename LogoCodename Logo

funkin.editors.ui.UITextBox

APIWiki

Constructor

View in GitHub

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

Variables

caretSpr:FlxSprite

multiline:Bool = false

position:Int = 0

onChange:String ‑> Void

Methods

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

Inherited Variables

Defined by UISliceSprite

bHeight:Int = 20

bWidth:Int = 120

drawBottom:Bool = true

drawMiddle:Bool = true

drawTop:Bool = true

framesOffset:Int = 0

incorporeal:Bool = false

Defined by UISprite

autoAlpha:Bool = true

canBeHovered:Bool = true

cursor:MouseCursor = ARROW

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 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.