|
|
| CGUIEditBox (const wchar_t *text, bool border, IGUIEnvironment *environment, IGUIElement *parent, s32 id, const core::rect< s32 > &rectangle) |
| | constructor
|
| |
|
virtual | ~CGUIEditBox () |
| | destructor
|
| |
|
virtual void | setOverrideFont (IGUIFont *font=0) |
| | Sets another skin independent font.
|
| |
|
virtual void | setOverrideColor (video::SColor color) |
| | Sets another color for the text.
|
| |
|
virtual video::SColor | getOverrideColor () const |
| | Gets the override color.
|
| |
|
virtual void | enableOverrideColor (bool enable) |
| | Sets if the text should use the overide color or the color in the gui skin.
|
| |
| virtual bool | isOverrideColorEnabled (void) const |
| | Checks if an override color is enabled. More...
|
| |
|
virtual void | setDrawBorder (bool border) |
| | Turns the border on or off.
|
| |
|
virtual void | setWordWrap (bool enable) |
| | Enables or disables word wrap for using the edit box as multiline text editor.
|
| |
| virtual bool | isWordWrapEnabled () const |
| | Checks if word wrap is enabled. More...
|
| |
| virtual void | setMultiLine (bool enable) |
| | Enables or disables newlines. More...
|
| |
| virtual bool | isMultiLineEnabled () const |
| | Checks if multi line editing is enabled. More...
|
| |
| virtual void | setAutoScroll (bool enable) |
| | Enables or disables automatic scrolling with cursor position. More...
|
| |
| virtual bool | isAutoScrollEnabled () const |
| | Checks to see if automatic scrolling is enabled. More...
|
| |
| virtual core::dimension2du | getTextDimension () |
| | Gets the size area of the text in the edit box. More...
|
| |
|
virtual void | setTextAlignment (EGUI_ALIGNMENT horizontal, EGUI_ALIGNMENT vertical) |
| | Sets text justification.
|
| |
|
virtual bool | OnEvent (const SEvent &event) |
| | called if an event happened.
|
| |
|
virtual void | draw () |
| | draws the element and its children
|
| |
|
virtual void | setText (const core::stringw &text) |
| | Sets the new caption of this element.
|
| |
| virtual void | setMax (u32 max) |
| | Sets the maximum amount of characters which may be entered in the box. More...
|
| |
|
virtual u32 | getMax () const |
| | Returns maximum amount of characters, previously set by setMax();.
|
| |
| virtual void | setPasswordBox (bool passwordBox, wchar_t passwordChar=L' *') |
| | Sets whether the edit box is a password box. Setting this to true will. More...
|
| |
|
virtual bool | isPasswordBox () const |
| | Returns true if the edit box is currently a password box.
|
| |
|
virtual void | updateAbsolutePosition () |
| | Updates the absolute position, splits text if required.
|
| |
|
virtual void | serializeAttributes (io::IAttributes *out, io::SAttributeReadWriteOptions *options) const |
| | Writes attributes of the element.
|
| |
|
virtual void | deserializeAttributes (io::IAttributes *in, io::SAttributeReadWriteOptions *options) |
| | Reads attributes of the element.
|
| |
|
virtual irr::gui::IGUIFont * | getOverrideFont () const |
| |
|
virtual irr::gui::IGUIFont * | getActiveFont () const |
| |
|
virtual void | setDrawBackground (bool) |
| |
|
void | fromAndroidEditText (const std::u32string &text, int start, int end, int composing_start, int composing_end) |
| |
|
void | openScreenKeyboard () |
| |
|
s32 | getCursorPosInBox () const |
| |
|
s32 | getTextCount () const |
| |
|
void | setTextBoxType (GUIEngine::TextBoxType t) |
| |
|
virtual void | setComposingText (const std::u32string &ct) |
| |
|
virtual void | clearComposingText () |
| |
|
virtual const core::position2di & | getICPos () const |
| |
|
void | sendGuiEvent (EGUI_EVENT_TYPE type) |
| | send some gui event to parent
|
| |