|
MyGUI 3.4.3
|
widget description should be here. More...
#include <MyGUI_EditBox.h>

Public Types | |
| typedef RTTIBase | Base |
| typedef EditBox | RTTIBase |
Public Types inherited from MyGUI::TextBox | |
| typedef RTTIBase | Base |
| typedef TextBox | RTTIBase |
Public Types inherited from MyGUI::Widget | |
| typedef RTTIBase | Base |
| typedef Widget | RTTIBase |
Public Types inherited from MyGUI::IObject | |
| typedef IObject | RTTIBase |
Static Public Member Functions | |
| static std::string_view | getClassTypeName () |
Static Public Member Functions inherited from MyGUI::TextBox | |
| static std::string_view | getClassTypeName () |
Static Public Member Functions inherited from MyGUI::Widget | |
| static std::string_view | getClassTypeName () |
Static Public Member Functions inherited from MyGUI::IObject | |
| static std::string_view | getClassTypeName () |
widget description should be here.
Definition at line 25 of file MyGUI_EditBox.h.
Definition at line 27 of file MyGUI_EditBox.h.
Definition at line 27 of file MyGUI_EditBox.h.
| MyGUI::EditBox::EditBox | ( | ) |
Definition at line 63 of file MyGUI_EditBox.cpp.
Add text
Definition at line 1994 of file MyGUI_EditBox.cpp.
| void MyGUI::EditBox::deleteTextSelection | ( | ) |
Delete selected text
Definition at line 1964 of file MyGUI_EditBox.cpp.
Erase _count characters from _start position
Definition at line 1999 of file MyGUI_EditBox.cpp.
|
protected |
Definition at line 1612 of file MyGUI_EditBox.cpp.
Get edit text with tags
Reimplemented from MyGUI::TextBox.
Definition at line 1643 of file MyGUI_EditBox.cpp.
|
inlinestatic |
Definition at line 27 of file MyGUI_EditBox.h.
| bool MyGUI::EditBox::getEditMultiLine | ( | ) | const |
Get edit multiline mode flag
Definition at line 2234 of file MyGUI_EditBox.cpp.
| bool MyGUI::EditBox::getEditPassword | ( | ) | const |
Get edit password mode flag
Definition at line 2229 of file MyGUI_EditBox.cpp.
| bool MyGUI::EditBox::getEditReadOnly | ( | ) | const |
Get edit read only mode flag
Definition at line 2224 of file MyGUI_EditBox.cpp.
| bool MyGUI::EditBox::getEditStatic | ( | ) | const |
Get edit static mode flag
Definition at line 2239 of file MyGUI_EditBox.cpp.
| bool MyGUI::EditBox::getEditWordWrap | ( | ) | const |
Get edit word wrap mode flag
Definition at line 2249 of file MyGUI_EditBox.cpp.
|
overridevirtual |
Get widget text font height
Reimplemented from MyGUI::TextBox.
Definition at line 1804 of file MyGUI_EditBox.cpp.
| size_t MyGUI::EditBox::getHScrollPosition | ( | ) | const |
Get current position of horizontal scroll (or 0 if no scroll)
Definition at line 2092 of file MyGUI_EditBox.cpp.
| size_t MyGUI::EditBox::getHScrollRange | ( | ) | const |
Get range of horizontal scroll (or 0 if no scroll). Range measured in pixels (full text width minus EditBox width). For example if EditBox is 200 pixels width and the longest line is 600 pixels width, then return value is 400 ( = 600 - 200 ).
Definition at line 2087 of file MyGUI_EditBox.cpp.
| bool MyGUI::EditBox::getInvertSelected | ( | ) | const |
Get invert selected text color property
Definition at line 2114 of file MyGUI_EditBox.cpp.
| size_t MyGUI::EditBox::getMaxTextLength | ( | ) | const |
Gets the max amount of text allowed in the edit field.
Definition at line 2219 of file MyGUI_EditBox.cpp.
| UString MyGUI::EditBox::getOnlyText | ( | ) | const |
Get edit text without tags
Definition at line 1984 of file MyGUI_EditBox.cpp.
| bool MyGUI::EditBox::getOverflowToTheLeft | ( | ) | const |
Returns true if surplus characters will be pushed off the left rather than ignored.
Definition at line 2209 of file MyGUI_EditBox.cpp.
| Char MyGUI::EditBox::getPasswordChar | ( | ) | const |
Get edit password character
Definition at line 2244 of file MyGUI_EditBox.cpp.
| bool MyGUI::EditBox::getTabPrinting | ( | ) | const |
Get edit tab printing wrap mode flag
Definition at line 2259 of file MyGUI_EditBox.cpp.
| size_t MyGUI::EditBox::getTextCursor | ( | ) | const |
Get text cursor position
Definition at line 2194 of file MyGUI_EditBox.cpp.
Get _count characters with tags from _start position
Definition at line 1102 of file MyGUI_EditBox.cpp.
| size_t MyGUI::EditBox::getTextLength | ( | ) | const |
Get text length excluding tags For example "Hello" length is 5 and "#00FF00Hello!" length is 6
Definition at line 2199 of file MyGUI_EditBox.cpp.
|
overridevirtual |
Get text region coordinate
Reimplemented from MyGUI::TextBox.
Definition at line 1697 of file MyGUI_EditBox.cpp.
| UString MyGUI::EditBox::getTextSelection | ( | ) | const |
Get selected text
Definition at line 1232 of file MyGUI_EditBox.cpp.
| size_t MyGUI::EditBox::getTextSelectionEnd | ( | ) | const |
Get index of last selected character or ITEM_NONE if nothing selected
Definition at line 1954 of file MyGUI_EditBox.cpp.
| size_t MyGUI::EditBox::getTextSelectionLength | ( | ) | const |
Get length of selected text
Definition at line 1974 of file MyGUI_EditBox.cpp.
| size_t MyGUI::EditBox::getTextSelectionStart | ( | ) | const |
Get index of first selected character or ITEM_NONE if nothing selected
Definition at line 1949 of file MyGUI_EditBox.cpp.
|
overridevirtual |
Get text region size
Reimplemented from MyGUI::TextBox.
Definition at line 1704 of file MyGUI_EditBox.cpp.
|
inlineoverridevirtual |
Get type name as string
Reimplemented from MyGUI::TextBox.
Reimplemented in MyGUI::ComboBox.
Definition at line 27 of file MyGUI_EditBox.h.
| size_t MyGUI::EditBox::getVScrollPosition | ( | ) | const |
Get current position of vertical scroll (or 0 if no scroll)
Definition at line 2065 of file MyGUI_EditBox.cpp.
| size_t MyGUI::EditBox::getVScrollRange | ( | ) | const |
Get range of vertical scroll (or 0 if no scroll). Range measured in pixels (full text heiht minus EditBox height). For example if EditBox is 200 pixels height and 40 lines of text 30 pixels height each (i.e. 600 pixels total), then return value is 400 ( = 600 - 200 ).
Definition at line 2060 of file MyGUI_EditBox.cpp.
|
overrideprotectedvirtual |
Reimplemented from MyGUI::Widget.
Definition at line 69 of file MyGUI_EditBox.cpp.
Inser text at _index position (text end by default)
Definition at line 1989 of file MyGUI_EditBox.cpp.
| bool MyGUI::EditBox::isTextSelection | ( | ) | const |
Is any text selected
Definition at line 1959 of file MyGUI_EditBox.cpp.
Compare with selected type
Definition at line 27 of file MyGUI_EditBox.h.
Compare with selected type
Reimplemented from MyGUI::TextBox.
Reimplemented in MyGUI::ComboBox.
Definition at line 27 of file MyGUI_EditBox.h.
| bool MyGUI::EditBox::isVisibleHScroll | ( | ) | const |
Get Show HScroll flag
Definition at line 2269 of file MyGUI_EditBox.cpp.
| bool MyGUI::EditBox::isVisibleVScroll | ( | ) | const |
Get Show VScroll flag
Definition at line 2264 of file MyGUI_EditBox.cpp.
Definition at line 215 of file MyGUI_EditBox.cpp.
|
protected |
Definition at line 175 of file MyGUI_EditBox.cpp.
Definition at line 140 of file MyGUI_EditBox.cpp.
|
protected |
Definition at line 149 of file MyGUI_EditBox.cpp.
|
protected |
Definition at line 169 of file MyGUI_EditBox.cpp.
Definition at line 131 of file MyGUI_EditBox.cpp.
Definition at line 1730 of file MyGUI_EditBox.cpp.
Definition at line 1711 of file MyGUI_EditBox.cpp.
Reimplemented from MyGUI::WidgetInput.
Definition at line 389 of file MyGUI_EditBox.cpp.
Reimplemented from MyGUI::WidgetInput.
Definition at line 283 of file MyGUI_EditBox.cpp.
Reimplemented from MyGUI::WidgetInput.
Definition at line 260 of file MyGUI_EditBox.cpp.
|
overrideprotectedvirtual |
Reimplemented from MyGUI::WidgetInput.
Definition at line 253 of file MyGUI_EditBox.cpp.
Set edit text applying tags
Reimplemented from MyGUI::TextBox.
Definition at line 1638 of file MyGUI_EditBox.cpp.
Set widget position and size
Reimplemented from MyGUI::ICroppedRectangle.
Definition at line 1631 of file MyGUI_EditBox.cpp.
Set widget position and size
Reimplemented from MyGUI::ICroppedRectangle.
Definition at line 172 of file MyGUI_Widget.cpp.
See Widget::setCoord(const IntCoord& _coord)
Definition at line 179 of file MyGUI_Widget.cpp.
Enable or disable edit multiline mode
Multile mode: new line character moves text to new line.
Otherwise new lines replaced with space and all text is in single line.
Disabled (false) by default.
Definition at line 2011 of file MyGUI_EditBox.cpp.
Enable or disable edit password mode
Password mode: you see password chars (*** by default) instead text.
Disabled (false) by default.
Definition at line 1241 of file MyGUI_EditBox.cpp.
Enable or disable edit read only mode
Read only mode: you can't edit text, but can select it.
Disabled (false) by default.
Definition at line 2004 of file MyGUI_EditBox.cpp.
Enable or disable edit static mode
Static mode is same as read only, but you also can't select text.
Disabled (false) by default.
Definition at line 2028 of file MyGUI_EditBox.cpp.
Enable or disable edit word wrap mode
Word Wrap mode: move words to new line if they goes out of width. Also in this mode you can't edit or select text.
Disabled (false) by default.
Definition at line 1775 of file MyGUI_EditBox.cpp.
Set widget text font height. If set to 0 then default height from selected font is used
Reimplemented from MyGUI::TextBox.
Definition at line 1794 of file MyGUI_EditBox.cpp.
|
overridevirtual |
Set widget text font
Reimplemented from MyGUI::TextBox.
Definition at line 1784 of file MyGUI_EditBox.cpp.
Set current position of horizontal scroll
Definition at line 2097 of file MyGUI_EditBox.cpp.
Enable or disable inverting color of selected text
Enabled (true) by default
Definition at line 2119 of file MyGUI_EditBox.cpp.
Sets the max amount of text allowed in the edit field.
Definition at line 2214 of file MyGUI_EditBox.cpp.
Set edit text without tags
Definition at line 1979 of file MyGUI_EditBox.cpp.
Sets if surplus characters should push characters off the left side rather than ignored.
Definition at line 2204 of file MyGUI_EditBox.cpp.
Set edit password character ('*' by default)
Definition at line 1574 of file MyGUI_EditBox.cpp.
Set edit password character ('*' by default). First character of string used.
Definition at line 2042 of file MyGUI_EditBox.cpp.
Set widget position (position of left top corner)
Reimplemented from MyGUI::ICroppedRectangle.
Definition at line 1607 of file MyGUI_EditBox.cpp.
Set widget position (position of left top corner)
Reimplemented from MyGUI::ICroppedRectangle.
Definition at line 168 of file MyGUI_Widget.cpp.
See Widget::setPosition(const IntPoint& _pos)
Definition at line 175 of file MyGUI_Widget.cpp.
|
overrideprotectedvirtual |
Reimplemented from MyGUI::Widget.
Definition at line 2125 of file MyGUI_EditBox.cpp.
Set widget size
Reimplemented from MyGUI::ICroppedRectangle.
Definition at line 1624 of file MyGUI_EditBox.cpp.
Set widget size
Reimplemented from MyGUI::ICroppedRectangle.
Definition at line 170 of file MyGUI_Widget.cpp.
See Widget::setSize(const IntSize& _size)
Definition at line 177 of file MyGUI_Widget.cpp.
Enable or disable tab printing mode
Tab printing mode: when editing text and pressing Tab key it displayed. If this mode disabled Tab key ignored.
Disabled (false) by default.
Definition at line 2254 of file MyGUI_EditBox.cpp.
Set widget text align
Reimplemented from MyGUI::TextBox.
Definition at line 1678 of file MyGUI_EditBox.cpp.
Set widget text colour
Reimplemented from MyGUI::TextBox.
Definition at line 1689 of file MyGUI_EditBox.cpp.
Set text cursor position
Definition at line 907 of file MyGUI_EditBox.cpp.
Colour interval
Definition at line 1944 of file MyGUI_EditBox.cpp.
Set selected text interval
| _start | of interval |
| _end | of interval |
Definition at line 928 of file MyGUI_EditBox.cpp.
Colour selected text
Definition at line 1969 of file MyGUI_EditBox.cpp.
Set widget text shadow
Reimplemented from MyGUI::TextBox.
Definition at line 2293 of file MyGUI_EditBox.cpp.
Set widget text shadow colour
Reimplemented from MyGUI::TextBox.
Definition at line 2285 of file MyGUI_EditBox.cpp.
Show HScroll when text size larger than EditBox
Definition at line 2054 of file MyGUI_EditBox.cpp.
Show VScroll when text size larger than EditBox
Definition at line 2048 of file MyGUI_EditBox.cpp.
Set current position of vertical scroll
Definition at line 2070 of file MyGUI_EditBox.cpp.
|
overrideprotectedvirtual |
Reimplemented from MyGUI::Widget.
Definition at line 121 of file MyGUI_EditBox.cpp.
|
protected |
Definition at line 1809 of file MyGUI_EditBox.cpp.
|
protected |
Definition at line 1815 of file MyGUI_EditBox.cpp.
| EventPair<EventHandle_WidgetVoid, EventHandle_EditPtr> MyGUI::EditBox::eventEditSelectAccept |
Event : Enter pressed (Ctrl+enter in multiline mode).
signature : void method(MyGUI::EditBox* _sender)
| _sender | widget that called this event |
Definition at line 242 of file MyGUI_EditBox.h.
| EventPair<EventHandle_WidgetVoid, EventHandle_EditPtr> MyGUI::EditBox::eventEditTextChange |
Event : Text changed.
signature : void method(MyGUI::EditBox* _sender)
| _sender | widget that called this event |
Definition at line 248 of file MyGUI_EditBox.h.
|
protected |
Definition at line 346 of file MyGUI_EditBox.h.
|
protected |
Definition at line 377 of file MyGUI_EditBox.h.
|
protected |
Definition at line 382 of file MyGUI_EditBox.h.
Definition at line 344 of file MyGUI_EditBox.h.
|
protected |
Definition at line 349 of file MyGUI_EditBox.h.
|
protected |
Definition at line 345 of file MyGUI_EditBox.h.
|
protected |
Definition at line 355 of file MyGUI_EditBox.h.
Definition at line 342 of file MyGUI_EditBox.h.
Definition at line 340 of file MyGUI_EditBox.h.
|
protected |
Definition at line 380 of file MyGUI_EditBox.h.
Definition at line 365 of file MyGUI_EditBox.h.
Definition at line 364 of file MyGUI_EditBox.h.
Definition at line 363 of file MyGUI_EditBox.h.
Definition at line 366 of file MyGUI_EditBox.h.
Definition at line 367 of file MyGUI_EditBox.h.
Definition at line 361 of file MyGUI_EditBox.h.
|
protected |
Definition at line 375 of file MyGUI_EditBox.h.
Definition at line 379 of file MyGUI_EditBox.h.
|
protected |
Definition at line 372 of file MyGUI_EditBox.h.
Definition at line 354 of file MyGUI_EditBox.h.
Definition at line 369 of file MyGUI_EditBox.h.
|
protected |
Definition at line 351 of file MyGUI_EditBox.h.
|
protected |
Definition at line 359 of file MyGUI_EditBox.h.
|
protected |
Definition at line 358 of file MyGUI_EditBox.h.