MyGUI
3.0.1
|
#include <MyGUI_Edit.h>
Public Types | |
typedef RTTIBase | Base |
typedef Edit | RTTIBase |
Public Member Functions | |
virtual const std::string & | getTypeName () const |
virtual bool | isType (const std::type_info &_type) const |
template<typename Type > | |
bool | isType () const |
Edit () | |
void | setTextIntervalColour (size_t _start, size_t _count, const Colour &_colour) |
size_t | getTextSelectionStart () |
size_t | getTextSelectionEnd () |
size_t | getTextSelectionLength () |
UString | getTextInterval (size_t _start, size_t _count) |
void | setTextSelection (size_t _start, size_t _end) |
void | deleteTextSelection () |
UString | getTextSelection () |
bool | isTextSelection () |
void | setTextSelectionColour (const Colour &_value) |
void | setTextCursor (size_t _index) |
size_t | getTextCursor () |
virtual void | setCaption (const UString &_value) |
virtual const UString & | getCaption () |
void | setOnlyText (const UString &_value) |
UString | getOnlyText () |
size_t | getTextLength () const |
void | setOverflowToTheLeft (bool _value) |
Sets if surplus characters should push characters off the left side rather than ignored. | |
bool | getOverflowToTheLeft () |
Returns true if surplus characters will be pushed off the left rather than ignored. | |
void | setMaxTextLength (size_t _value) |
Sets the max amount of text allowed in the edit field. | |
size_t | getMaxTextLength () |
Gets the max amount of text allowed in the edit field. | |
void | insertText (const UString &_text, size_t _index=ITEM_NONE) |
void | addText (const UString &_text) |
void | eraseText (size_t _start, size_t _count=1) |
void | setEditReadOnly (bool _value) |
bool | getEditReadOnly () |
void | setEditPassword (bool _value) |
bool | getEditPassword () |
void | setEditMultiLine (bool _value) |
bool | getEditMultiLine () |
void | setEditStatic (bool _value) |
bool | getEditStatic () |
void | setPasswordChar (Char _value) |
void | setPasswordChar (const UString &_char) |
Char | getPasswordChar () |
void | setEditWordWrap (bool _value) |
bool | getEditWordWrap () |
void | setTabPrinting (bool _value) |
bool | getTabPrinting () |
bool | getInvertSelected () |
void | setInvertSelected (bool _value) |
virtual void | setPosition (const IntPoint &_value) |
| |
virtual void | setSize (const IntSize &_value) |
| |
virtual void | setCoord (const IntCoord &_value) |
| |
void | setPosition (int _left, int _top) |
| |
void | setSize (int _width, int _height) |
| |
void | setCoord (int _left, int _top, int _width, int _height) |
| |
void | setVisibleVScroll (bool _value) |
bool | isVisibleVScroll () |
size_t | getVScrollRange () |
size_t | getVScrollPosition () |
void | setVScrollPosition (size_t _index) |
void | setVisibleHScroll (bool _value) |
bool | isVisibleHScroll () |
size_t | getHScrollRange () |
size_t | getHScrollPosition () |
void | setHScrollPosition (size_t _index) |
virtual void | setFontName (const std::string &_value) |
| |
virtual void | setFontHeight (int _value) |
| |
virtual void | setTextAlign (Align _value) |
| |
virtual void | setProperty (const std::string &_key, const std::string &_value) |
| |
virtual void | _initialise (WidgetStyle _style, const IntCoord &_coord, Align _align, ResourceSkin *_info, Widget *_parent, ICroppedRectangle *_croppedParent, IWidgetCreator *_creator, const std::string &_name) |
void | showVScroll (bool _visible) |
bool | isShowVScroll () |
void | showHScroll (bool _visible) |
bool | isShowHScroll () |
void | setPosition (const IntCoord &_coord) |
void | setPosition (int _left, int _top, int _width, int _height) |
virtual void | setTextColour (const Colour &_colour) |
void | setTextColour (size_t _start, size_t _count, const Colour &_colour) |
void | getTextSelect (size_t &_start, size_t &_end) |
UString | getText (size_t _start, size_t _count) |
void | setTextSelect (size_t _start, size_t _end) |
void | deleteTextSelect () |
UString | getSelectedText () |
bool | isTextSelect () |
void | setTextSelectColour (const Colour &_colour) |
Static Public Member Functions | |
static const std::string & | getClassTypeName () |
Data Fields | |
EventPair < EventHandle_WidgetVoid, EventHandle_EditPtr > | eventEditSelectAccept |
EventPair < EventHandle_WidgetVoid, EventHandle_EditPtr > | eventEditTextChange |
Protected Member Functions | |
virtual | ~Edit () |
virtual void | onMouseDrag (int _left, int _top) |
virtual void | onKeyLostFocus (Widget *_new) |
virtual void | onKeySetFocus (Widget *_old) |
virtual void | onKeyButtonPressed (KeyCode _key, Char _char) |
void | notifyMouseSetFocus (Widget *_sender, Widget *_old) |
void | notifyMouseLostFocus (Widget *_sender, Widget *_new) |
void | notifyMousePressed (Widget *_sender, int _left, int _top, MouseButton _id) |
void | notifyMouseReleased (Widget *_sender, int _left, int _top, MouseButton _id) |
void | notifyMouseDrag (Widget *_sender, int _left, int _top) |
void | notifyMouseButtonDoubleClick (Widget *_sender) |
void | notifyScrollChangePosition (VScroll *_sender, size_t _position) |
void | notifyMouseWheel (Widget *_sender, int _rel) |
void | updateView () |
void | updateViewWithCursor () |
void | baseChangeWidgetSkin (ResourceSkin *_info) |
void | eraseView () |
Protected Attributes | |
bool | mIsPressed |
bool | mIsFocus |
bool | mCursorActive |
float | mCursorTimer |
float | mActionMouseTimer |
size_t | mCursorPosition |
size_t | mTextLength |
size_t | mStartSelect |
size_t | mEndSelect |
DequeUndoRedoInfo | mVectorUndoChangeInfo |
DequeUndoRedoInfo | mVectorRedoChangeInfo |
bool | mMouseLeftPressed |
bool | mModeReadOnly |
bool | mModePassword |
bool | mModeMultiline |
bool | mModeStatic |
bool | mModeWordWrap |
bool | mTabPrinting |
UString | mPasswordText |
std::string | mOriginalPointer |
Char | mCharPassword |
bool | mOverflowToTheLeft |
size_t | mMaxTextLength |
Definition at line 38 of file MyGUI_Edit.h.
typedef RTTIBase MyGUI::Edit::Base |
Reimplemented from MyGUI::StaticText.
Reimplemented in MyGUI::ComboBox.
Definition at line 42 of file MyGUI_Edit.h.
typedef Edit MyGUI::Edit::RTTIBase |
Reimplemented from MyGUI::StaticText.
Reimplemented in MyGUI::ComboBox.
Definition at line 42 of file MyGUI_Edit.h.
Definition at line 49 of file MyGUI_Edit.cpp.
MyGUI::Edit::~Edit | ( | ) | [protected, virtual] |
Definition at line 80 of file MyGUI_Edit.cpp.
void MyGUI::Edit::_initialise | ( | WidgetStyle | _style, |
const IntCoord & | _coord, | ||
Align | _align, | ||
ResourceSkin * | _info, | ||
Widget * | _parent, | ||
ICroppedRectangle * | _croppedParent, | ||
IWidgetCreator * | _creator, | ||
const std::string & | _name | ||
) | [virtual] |
Reimplemented from MyGUI::StaticText.
Reimplemented in MyGUI::ComboBox.
Definition at line 73 of file MyGUI_Edit.cpp.
void MyGUI::Edit::addText | ( | const UString & | _text | ) |
Add text
Definition at line 1784 of file MyGUI_Edit.cpp.
void MyGUI::Edit::baseChangeWidgetSkin | ( | ResourceSkin * | _info | ) | [protected, virtual] |
Reimplemented from MyGUI::StaticText.
Reimplemented in MyGUI::ComboBox.
Definition at line 85 of file MyGUI_Edit.cpp.
void MyGUI::Edit::deleteTextSelect | ( | ) | [inline] |
Definition at line 290 of file MyGUI_Edit.h.
void MyGUI::Edit::deleteTextSelection | ( | ) |
Delete selected text
Definition at line 1754 of file MyGUI_Edit.cpp.
void MyGUI::Edit::eraseText | ( | size_t | _start, |
size_t | _count = 1 |
||
) |
Erase _count characters from _start position
Definition at line 1789 of file MyGUI_Edit.cpp.
void MyGUI::Edit::eraseView | ( | ) | [protected] |
Definition at line 1458 of file MyGUI_Edit.cpp.
const UString & MyGUI::Edit::getCaption | ( | ) | [virtual] |
Get edit text with tags
Reimplemented from MyGUI::Widget.
Definition at line 1489 of file MyGUI_Edit.cpp.
static const std::string& MyGUI::Edit::getClassTypeName | ( | ) | [inline, static] |
Reimplemented from MyGUI::StaticText.
Reimplemented in MyGUI::ComboBox.
Definition at line 42 of file MyGUI_Edit.h.
bool MyGUI::Edit::getEditMultiLine | ( | ) | [inline] |
Get edit multiline mode flag
Definition at line 142 of file MyGUI_Edit.h.
bool MyGUI::Edit::getEditPassword | ( | ) | [inline] |
Get edit password mode flag
Definition at line 133 of file MyGUI_Edit.h.
bool MyGUI::Edit::getEditReadOnly | ( | ) | [inline] |
Get edit read only mode flag
Definition at line 125 of file MyGUI_Edit.h.
bool MyGUI::Edit::getEditStatic | ( | ) | [inline] |
Get edit static mode flag
Definition at line 150 of file MyGUI_Edit.h.
bool MyGUI::Edit::getEditWordWrap | ( | ) | [inline] |
Get edit word wrap mode flag
Definition at line 166 of file MyGUI_Edit.h.
size_t MyGUI::Edit::getHScrollPosition | ( | ) |
Get current position of horizontal scroll (or 0 if no scroll)
Definition at line 1914 of file MyGUI_Edit.cpp.
size_t MyGUI::Edit::getHScrollRange | ( | ) |
Get range of horizontal scroll (or 0 if no scroll). Range measured in pixels (full text width minus Edit width). For example if Edit is 200 pixels width and the longest line is 600 pixels width, then return value is 400 ( = 600 - 200 ).
Definition at line 1909 of file MyGUI_Edit.cpp.
bool MyGUI::Edit::getInvertSelected | ( | ) |
Get invert selected text color property
Definition at line 1936 of file MyGUI_Edit.cpp.
size_t MyGUI::Edit::getMaxTextLength | ( | ) | [inline] |
Gets the max amount of text allowed in the edit field.
Definition at line 110 of file MyGUI_Edit.h.
Get edit text without tags
Definition at line 1774 of file MyGUI_Edit.cpp.
bool MyGUI::Edit::getOverflowToTheLeft | ( | ) | [inline] |
Returns true if surplus characters will be pushed off the left rather than ignored.
Definition at line 105 of file MyGUI_Edit.h.
Char MyGUI::Edit::getPasswordChar | ( | ) | [inline] |
Get edit password character
Definition at line 157 of file MyGUI_Edit.h.
UString MyGUI::Edit::getSelectedText | ( | ) | [inline] |
Definition at line 293 of file MyGUI_Edit.h.
bool MyGUI::Edit::getTabPrinting | ( | ) | [inline] |
Get edit tab printing wrap mode flag
Definition at line 175 of file MyGUI_Edit.h.
UString MyGUI::Edit::getText | ( | size_t | _start, |
size_t | _count | ||
) | [inline] |
Definition at line 284 of file MyGUI_Edit.h.
size_t MyGUI::Edit::getTextCursor | ( | ) | [inline] |
Get text cursor position
Definition at line 84 of file MyGUI_Edit.h.
UString MyGUI::Edit::getTextInterval | ( | size_t | _start, |
size_t | _count | ||
) |
Get _count characters with tags from _start position
Definition at line 975 of file MyGUI_Edit.cpp.
size_t MyGUI::Edit::getTextLength | ( | ) | const [inline] |
Get text length excluding tags For example "#00FF00Hello" length is 5
Definition at line 100 of file MyGUI_Edit.h.
void MyGUI::Edit::getTextSelect | ( | size_t & | _start, |
size_t & | _end | ||
) |
Get selected text
Definition at line 1102 of file MyGUI_Edit.cpp.
size_t MyGUI::Edit::getTextSelectionEnd | ( | ) |
Get index of last selected character or ITEM_NONE if nothing selected
Definition at line 1744 of file MyGUI_Edit.cpp.
size_t MyGUI::Edit::getTextSelectionLength | ( | ) |
Get length of selected text
Definition at line 1764 of file MyGUI_Edit.cpp.
size_t MyGUI::Edit::getTextSelectionStart | ( | ) |
Get index of first selected character or ITEM_NONE if nothing selected
Definition at line 1739 of file MyGUI_Edit.cpp.
virtual const std::string& MyGUI::Edit::getTypeName | ( | ) | const [inline, virtual] |
Get type name as string
Reimplemented from MyGUI::StaticText.
Reimplemented in MyGUI::ComboBox.
Definition at line 42 of file MyGUI_Edit.h.
size_t MyGUI::Edit::getVScrollPosition | ( | ) |
Get current position of vertical scroll (or 0 if no scroll)
Definition at line 1887 of file MyGUI_Edit.cpp.
size_t MyGUI::Edit::getVScrollRange | ( | ) |
Get range of vertical scroll (or 0 if no scroll). Range measured in pixels (full text heiht minus Edit height). For example if Edit 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 1882 of file MyGUI_Edit.cpp.
void MyGUI::Edit::insertText | ( | const UString & | _text, |
size_t | _index = ITEM_NONE |
||
) |
Inser text at _index position (text end by default)
Definition at line 1779 of file MyGUI_Edit.cpp.
bool MyGUI::Edit::isShowHScroll | ( | ) | [inline] |
Definition at line 267 of file MyGUI_Edit.h.
bool MyGUI::Edit::isShowVScroll | ( | ) | [inline] |
Definition at line 263 of file MyGUI_Edit.h.
bool MyGUI::Edit::isTextSelect | ( | ) | [inline] |
Definition at line 296 of file MyGUI_Edit.h.
bool MyGUI::Edit::isTextSelection | ( | ) |
Is any text selected
Definition at line 1749 of file MyGUI_Edit.cpp.
bool MyGUI::Edit::isType | ( | ) | const [inline] |
Compare with selected type
Reimplemented from MyGUI::StaticText.
Reimplemented in MyGUI::ComboBox.
Definition at line 42 of file MyGUI_Edit.h.
virtual bool MyGUI::Edit::isType | ( | const std::type_info & | _type | ) | const [inline, virtual] |
Compare with selected type
Reimplemented from MyGUI::StaticText.
Reimplemented in MyGUI::ComboBox.
Definition at line 42 of file MyGUI_Edit.h.
bool MyGUI::Edit::isVisibleHScroll | ( | ) | [inline] |
Get Show HScroll flag
Definition at line 217 of file MyGUI_Edit.h.
bool MyGUI::Edit::isVisibleVScroll | ( | ) | [inline] |
Get Show VScroll flag
Definition at line 201 of file MyGUI_Edit.h.
void MyGUI::Edit::notifyMouseButtonDoubleClick | ( | Widget * | _sender | ) | [protected] |
Definition at line 233 of file MyGUI_Edit.cpp.
void MyGUI::Edit::notifyMouseDrag | ( | Widget * | _sender, |
int | _left, | ||
int | _top | ||
) | [protected] |
Definition at line 201 of file MyGUI_Edit.cpp.
void MyGUI::Edit::notifyMouseLostFocus | ( | Widget * | _sender, |
Widget * | _new | ||
) | [protected] |
Definition at line 169 of file MyGUI_Edit.cpp.
void MyGUI::Edit::notifyMousePressed | ( | Widget * | _sender, |
int | _left, | ||
int | _top, | ||
MouseButton | _id | ||
) | [protected] |
Definition at line 176 of file MyGUI_Edit.cpp.
void MyGUI::Edit::notifyMouseReleased | ( | Widget * | _sender, |
int | _left, | ||
int | _top, | ||
MouseButton | _id | ||
) | [protected] |
Definition at line 195 of file MyGUI_Edit.cpp.
void MyGUI::Edit::notifyMouseSetFocus | ( | Widget * | _sender, |
Widget * | _old | ||
) | [protected] |
Definition at line 162 of file MyGUI_Edit.cpp.
void MyGUI::Edit::notifyMouseWheel | ( | Widget * | _sender, |
int | _rel | ||
) | [protected] |
Definition at line 1551 of file MyGUI_Edit.cpp.
void MyGUI::Edit::notifyScrollChangePosition | ( | VScroll * | _sender, |
size_t | _position | ||
) | [protected] |
Definition at line 1532 of file MyGUI_Edit.cpp.
void MyGUI::Edit::onKeyButtonPressed | ( | KeyCode | _key, |
Char | _char | ||
) | [protected, virtual] |
Reimplemented from MyGUI::WidgetEvent.
Reimplemented in MyGUI::ComboBox.
Definition at line 318 of file MyGUI_Edit.cpp.
void MyGUI::Edit::onKeyLostFocus | ( | Widget * | _new | ) | [protected, virtual] |
Reimplemented from MyGUI::WidgetEvent.
Definition at line 299 of file MyGUI_Edit.cpp.
void MyGUI::Edit::onKeySetFocus | ( | Widget * | _old | ) | [protected, virtual] |
Reimplemented from MyGUI::WidgetEvent.
Definition at line 276 of file MyGUI_Edit.cpp.
void MyGUI::Edit::onMouseDrag | ( | int | _left, |
int | _top | ||
) | [protected, virtual] |
Reimplemented from MyGUI::WidgetEvent.
Definition at line 269 of file MyGUI_Edit.cpp.
void MyGUI::Edit::setCaption | ( | const UString & | _value | ) | [virtual] |
Set edit text applying tags
Reimplemented from MyGUI::Widget.
Definition at line 1484 of file MyGUI_Edit.cpp.
void MyGUI::Edit::setCoord | ( | const IntCoord & | _value | ) | [virtual] |
Set widget position and size
Reimplemented from MyGUI::Widget.
Definition at line 1477 of file MyGUI_Edit.cpp.
void MyGUI::Edit::setCoord | ( | int | _left, |
int | _top, | ||
int | _width, | ||
int | _height | ||
) | [inline] |
See Widget::setCoord(const IntCoord& _coord)
Reimplemented from MyGUI::Widget.
Definition at line 196 of file MyGUI_Edit.h.
void MyGUI::Edit::setEditMultiLine | ( | bool | _value | ) |
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 1801 of file MyGUI_Edit.cpp.
void MyGUI::Edit::setEditPassword | ( | bool | _value | ) |
Enable or disable edit password mode
Password mode: you see password chars (*** by default) instead text.
Disabled (false) by default.
Definition at line 1110 of file MyGUI_Edit.cpp.
void MyGUI::Edit::setEditReadOnly | ( | bool | _value | ) |
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 1794 of file MyGUI_Edit.cpp.
void MyGUI::Edit::setEditStatic | ( | bool | _value | ) |
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 1815 of file MyGUI_Edit.cpp.
void MyGUI::Edit::setEditWordWrap | ( | bool | _value | ) |
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 1594 of file MyGUI_Edit.cpp.
void MyGUI::Edit::setFontHeight | ( | int | _value | ) | [virtual] |
Set widget text font height
Reimplemented from MyGUI::StaticText.
Definition at line 1610 of file MyGUI_Edit.cpp.
void MyGUI::Edit::setFontName | ( | const std::string & | _value | ) | [virtual] |
Set widget text font
Reimplemented from MyGUI::StaticText.
Definition at line 1603 of file MyGUI_Edit.cpp.
void MyGUI::Edit::setHScrollPosition | ( | size_t | _index | ) |
Set current position of horizontal scroll
Definition at line 1919 of file MyGUI_Edit.cpp.
void MyGUI::Edit::setInvertSelected | ( | bool | _value | ) |
Enable or disable inverting color of selected text
Enabled (true) by default
Definition at line 1941 of file MyGUI_Edit.cpp.
void MyGUI::Edit::setMaxTextLength | ( | size_t | _value | ) | [inline] |
Sets the max amount of text allowed in the edit field.
Definition at line 108 of file MyGUI_Edit.h.
void MyGUI::Edit::setOnlyText | ( | const UString & | _value | ) |
Set edit text without tags
Definition at line 1769 of file MyGUI_Edit.cpp.
void MyGUI::Edit::setOverflowToTheLeft | ( | bool | _value | ) | [inline] |
Sets if surplus characters should push characters off the left side rather than ignored.
Definition at line 103 of file MyGUI_Edit.h.
void MyGUI::Edit::setPasswordChar | ( | Char | _value | ) |
Set edit password character ('*' by default)
Definition at line 1431 of file MyGUI_Edit.cpp.
void MyGUI::Edit::setPasswordChar | ( | const UString & | _char | ) |
Set edit password character ('*' by default). First character of string used.
Definition at line 1827 of file MyGUI_Edit.cpp.
void MyGUI::Edit::setPosition | ( | const IntPoint & | _value | ) | [virtual] |
Set widget position (position of left top corner)
Reimplemented from MyGUI::Widget.
Definition at line 1453 of file MyGUI_Edit.cpp.
void MyGUI::Edit::setPosition | ( | int | _left, |
int | _top | ||
) | [inline] |
See Widget::setPosition(const IntPoint& _pos)
Reimplemented from MyGUI::Widget.
Definition at line 192 of file MyGUI_Edit.h.
void MyGUI::Edit::setPosition | ( | const IntCoord & | _coord | ) | [inline] |
Reimplemented from MyGUI::Widget.
Definition at line 270 of file MyGUI_Edit.h.
void MyGUI::Edit::setPosition | ( | int | _left, |
int | _top, | ||
int | _width, | ||
int | _height | ||
) | [inline] |
Reimplemented from MyGUI::Widget.
Definition at line 272 of file MyGUI_Edit.h.
void MyGUI::Edit::setProperty | ( | const std::string & | _key, |
const std::string & | _value | ||
) | [virtual] |
Set any widget property
_key | Property name (for example Widget_Alpha or Edit_MultiLine) |
_value | Value converted to string |
Reimplemented from MyGUI::StaticText.
Reimplemented in MyGUI::ComboBox.
Definition at line 1844 of file MyGUI_Edit.cpp.
void MyGUI::Edit::setSize | ( | const IntSize & | _value | ) | [virtual] |
void MyGUI::Edit::setSize | ( | int | _width, |
int | _height | ||
) | [inline] |
See Widget::setSize(const IntSize& _size)
Reimplemented from MyGUI::Widget.
Definition at line 194 of file MyGUI_Edit.h.
void MyGUI::Edit::setTabPrinting | ( | bool | _value | ) | [inline] |
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 173 of file MyGUI_Edit.h.
void MyGUI::Edit::setTextAlign | ( | Align | _value | ) | [virtual] |
Set widget text align
Reimplemented from MyGUI::StaticText.
Definition at line 1524 of file MyGUI_Edit.cpp.
virtual void MyGUI::Edit::setTextColour | ( | const Colour & | _value | ) | [inline, virtual] |
Set widget text colour
Reimplemented from MyGUI::StaticText.
Definition at line 275 of file MyGUI_Edit.h.
void MyGUI::Edit::setTextColour | ( | size_t | _start, |
size_t | _count, | ||
const Colour & | _colour | ||
) | [inline] |
Definition at line 278 of file MyGUI_Edit.h.
void MyGUI::Edit::setTextCursor | ( | size_t | _index | ) |
Set text cursor position
Definition at line 793 of file MyGUI_Edit.cpp.
void MyGUI::Edit::setTextIntervalColour | ( | size_t | _start, |
size_t | _count, | ||
const Colour & | _colour | ||
) |
Colour interval
Definition at line 1734 of file MyGUI_Edit.cpp.
void MyGUI::Edit::setTextSelect | ( | size_t | _start, |
size_t | _end | ||
) | [inline] |
Definition at line 287 of file MyGUI_Edit.h.
void MyGUI::Edit::setTextSelectColour | ( | const Colour & | _colour | ) | [inline] |
Definition at line 299 of file MyGUI_Edit.h.
void MyGUI::Edit::setTextSelection | ( | size_t | _start, |
size_t | _end | ||
) |
Set selected text interval
_start | of interval |
_end | of interval |
Definition at line 809 of file MyGUI_Edit.cpp.
void MyGUI::Edit::setTextSelectionColour | ( | const Colour & | _value | ) |
Colour selected text
Definition at line 1759 of file MyGUI_Edit.cpp.
void MyGUI::Edit::setVisibleHScroll | ( | bool | _value | ) |
Show HScroll when text size larger than Edit
Definition at line 1838 of file MyGUI_Edit.cpp.
void MyGUI::Edit::setVisibleVScroll | ( | bool | _value | ) |
Show VScroll when text size larger than Edit
Definition at line 1832 of file MyGUI_Edit.cpp.
void MyGUI::Edit::setVScrollPosition | ( | size_t | _index | ) |
Set current position of vertical scroll
Definition at line 1892 of file MyGUI_Edit.cpp.
void MyGUI::Edit::showHScroll | ( | bool | _visible | ) | [inline] |
Definition at line 265 of file MyGUI_Edit.h.
void MyGUI::Edit::showVScroll | ( | bool | _visible | ) | [inline] |
Definition at line 261 of file MyGUI_Edit.h.
void MyGUI::Edit::updateView | ( | ) | [protected] |
Definition at line 1617 of file MyGUI_Edit.cpp.
void MyGUI::Edit::updateViewWithCursor | ( | ) | [protected] |
Definition at line 1623 of file MyGUI_Edit.cpp.
Event : Enter pressed (Ctrl+enter in multiline mode).
signature : void method(MyGUI::Edit* _sender)
_sender | widget that called this event |
Definition at line 246 of file MyGUI_Edit.h.
Event : Text changed.
signature : void method(MyGUI::Edit* _sender)
_sender | widget that called this event |
Definition at line 252 of file MyGUI_Edit.h.
float MyGUI::Edit::mActionMouseTimer [protected] |
Definition at line 403 of file MyGUI_Edit.h.
Char MyGUI::Edit::mCharPassword [protected] |
Definition at line 434 of file MyGUI_Edit.h.
bool MyGUI::Edit::mCursorActive [protected] |
Definition at line 401 of file MyGUI_Edit.h.
size_t MyGUI::Edit::mCursorPosition [protected] |
Definition at line 406 of file MyGUI_Edit.h.
float MyGUI::Edit::mCursorTimer [protected] |
Definition at line 402 of file MyGUI_Edit.h.
size_t MyGUI::Edit::mEndSelect [protected] |
Definition at line 412 of file MyGUI_Edit.h.
bool MyGUI::Edit::mIsFocus [protected] |
Definition at line 399 of file MyGUI_Edit.h.
bool MyGUI::Edit::mIsPressed [protected] |
Definition at line 397 of file MyGUI_Edit.h.
size_t MyGUI::Edit::mMaxTextLength [protected] |
Definition at line 437 of file MyGUI_Edit.h.
bool MyGUI::Edit::mModeMultiline [protected] |
Definition at line 422 of file MyGUI_Edit.h.
bool MyGUI::Edit::mModePassword [protected] |
Definition at line 421 of file MyGUI_Edit.h.
bool MyGUI::Edit::mModeReadOnly [protected] |
Definition at line 420 of file MyGUI_Edit.h.
bool MyGUI::Edit::mModeStatic [protected] |
Definition at line 423 of file MyGUI_Edit.h.
bool MyGUI::Edit::mModeWordWrap [protected] |
Definition at line 424 of file MyGUI_Edit.h.
bool MyGUI::Edit::mMouseLeftPressed [protected] |
Definition at line 418 of file MyGUI_Edit.h.
std::string MyGUI::Edit::mOriginalPointer [protected] |
Definition at line 432 of file MyGUI_Edit.h.
bool MyGUI::Edit::mOverflowToTheLeft [protected] |
Definition at line 436 of file MyGUI_Edit.h.
UString MyGUI::Edit::mPasswordText [protected] |
Definition at line 429 of file MyGUI_Edit.h.
size_t MyGUI::Edit::mStartSelect [protected] |
Definition at line 411 of file MyGUI_Edit.h.
bool MyGUI::Edit::mTabPrinting [protected] |
Definition at line 426 of file MyGUI_Edit.h.
size_t MyGUI::Edit::mTextLength [protected] |
Definition at line 408 of file MyGUI_Edit.h.
DequeUndoRedoInfo MyGUI::Edit::mVectorRedoChangeInfo [protected] |
Definition at line 416 of file MyGUI_Edit.h.
DequeUndoRedoInfo MyGUI::Edit::mVectorUndoChangeInfo [protected] |
Definition at line 415 of file MyGUI_Edit.h.