- Your Widget Set For OpenGL
#include <utextedit.hpp>
Inheritance diagram for ufo::UTextEdit:

Public Member Functions | |
| UTextEdit () | |
| UTextEdit (const std::string &text) | |
| void | setEditable (bool b) |
| bool | isEditable () const |
| virtual std::string | getSelectedText () const |
| void | setSelection (unsigned int indexFrom, unsigned int indexTo) |
| void | getSelection (unsigned int *indexFrom, unsigned int *indexTo) const |
| bool | hasSelection () const |
| void | setCaretPosition (unsigned int positionA) |
| void | moveCaretPosition (unsigned int positionA) |
| void | setMaxLength (int maxLength) |
| int | getMaxLength () const |
| virtual void | processKeyEvent (UKeyEvent *e) |
| virtual void | processMouseEvent (UMouseEvent *e) |
|
|
Creates a new multi line text widget |
|
|
Creates a text widget with initial text
|
|
|
Returns the maximum length of the document. |
|
|
Returns only the currently selected text. |
|
|
moves the caret to the new position leaving a mark at the old position Reimplemented from ufo::UTextWidget.
|
|
|
Processes key events. Primarily, it is used to notify listeners. Reimplemented from ufo::UWidget.
Reimplemented in ufo::ULineEdit.
|
|
|
Processes focus events. Primarily, it is used to notify listeners. Reimplemented from ufo::UTextWidget.
|
|
|
Reimplemented from ufo::UTextWidget.
|
|
|
Sets whether the text is editable by the user. This does not affect the use of operators or direct document use. |
|
|
Sets the maximum length of the document. A value of 0 indicates no limit. |