LineEdit

Inherited: None

Description

The LineEdit class provides a user interface for text input, supporting text editing, cursor positioning, and input handling. It inherits functionality from the Widget class and extends it to handle text-related features and animations.

Public Methods

void

setText (const TString & text)

void

setTextColor (const Vector4 & color)

void

setTextComponent (Label * label)

TString

text () const

Vector4

textColor () const

Label *

textComponent () const

Static Methods

None

Methods Description

void LineEdit::setText (TString & text)

Sets the text in the TextInput.

See also text().


void LineEdit::setTextColor (Vector4 & color)

Sets the color of the text.

See also textColor().


void LineEdit::setTextComponent (Label * label)

Sets the text label component.

See also textComponent().


TString LineEdit::text () const

Returns the current text entered into the TextInput.

See also setText().


Vector4 LineEdit::textColor () const

Returns the color of the text.

See also setTextColor().


Label * LineEdit::textComponent () const

Returns the text label component.

See also setTextComponent().