#include <MyGUI_ISubWidgetText.h>
Public Types | |
typedef RTTIBase | Base |
typedef ISubWidgetText | 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 |
virtual | ~ISubWidgetText () |
virtual size_t | getTextSelectionStart () |
virtual size_t | getTextSelectionEnd () |
virtual void | setTextSelection (size_t _start, size_t _end) |
virtual bool | getSelectBackground () |
virtual void | setSelectBackground (bool _normal) |
virtual bool | getInvertSelected () |
virtual void | setInvertSelected (bool _value) |
virtual bool | isVisibleCursor () |
virtual void | setVisibleCursor (bool _value) |
virtual size_t | getCursorPosition () |
virtual void | setCursorPosition (size_t _index) |
virtual void | setWordWrap (bool _value) |
virtual size_t | getCursorPosition (const IntPoint &_point) |
virtual IntCoord | getCursorCoord (size_t _position) |
IntPoint | getCursorPoint (size_t _position) |
IntRect | getCursorRect (size_t _position) |
virtual IntSize | getTextSize () |
virtual void | setViewOffset (const IntPoint &_point) |
virtual IntPoint | getViewOffset () |
virtual void | setCaption (const UString &_value) |
virtual const UString & | getCaption () |
virtual void | setTextColour (const Colour &_value) |
virtual const Colour & | getTextColour () |
virtual void | setFontName (const std::string &_value) |
virtual const std::string & | getFontName () |
virtual void | setFontHeight (int _value) |
virtual int | getFontHeight () |
virtual void | setTextAlign (Align _value) |
virtual Align | getTextAlign () |
virtual void | setShiftText (bool _value) |
Static Public Member Functions | |
static const std::string & | getClassTypeName () |
Definition at line 33 of file MyGUI_ISubWidgetText.h.
typedef RTTIBase MyGUI::ISubWidgetText::Base |
Reimplemented from MyGUI::ISubWidget.
Reimplemented in MyGUI::EditText, and MyGUI::SimpleText.
Definition at line 35 of file MyGUI_ISubWidgetText.h.
Reimplemented from MyGUI::ISubWidget.
Reimplemented in MyGUI::EditText, and MyGUI::SimpleText.
Definition at line 35 of file MyGUI_ISubWidgetText.h.
virtual MyGUI::ISubWidgetText::~ISubWidgetText | ( | ) | [inline, virtual] |
Definition at line 38 of file MyGUI_ISubWidgetText.h.
virtual const UString& MyGUI::ISubWidgetText::getCaption | ( | ) | [inline, virtual] |
static const std::string& MyGUI::ISubWidgetText::getClassTypeName | ( | ) | [inline, static] |
Reimplemented from MyGUI::ISubWidget.
Reimplemented in MyGUI::EditText, and MyGUI::SimpleText.
Definition at line 35 of file MyGUI_ISubWidgetText.h.
virtual IntCoord MyGUI::ISubWidgetText::getCursorCoord | ( | size_t | _position | ) | [inline, virtual] |
IntPoint MyGUI::ISubWidgetText::getCursorPoint | ( | size_t | _position | ) | [inline] |
Definition at line 73 of file MyGUI_ISubWidgetText.h.
virtual size_t MyGUI::ISubWidgetText::getCursorPosition | ( | const IntPoint & | _point | ) | [inline, virtual] |
virtual size_t MyGUI::ISubWidgetText::getCursorPosition | ( | ) | [inline, virtual] |
IntRect MyGUI::ISubWidgetText::getCursorRect | ( | size_t | _position | ) | [inline] |
Definition at line 80 of file MyGUI_ISubWidgetText.h.
virtual int MyGUI::ISubWidgetText::getFontHeight | ( | ) | [inline, virtual] |
virtual const std::string& MyGUI::ISubWidgetText::getFontName | ( | ) | [inline, virtual] |
virtual bool MyGUI::ISubWidgetText::getInvertSelected | ( | ) | [inline, virtual] |
virtual bool MyGUI::ISubWidgetText::getSelectBackground | ( | ) | [inline, virtual] |
virtual Align MyGUI::ISubWidgetText::getTextAlign | ( | ) | [inline, virtual] |
virtual const Colour& MyGUI::ISubWidgetText::getTextColour | ( | ) | [inline, virtual] |
virtual size_t MyGUI::ISubWidgetText::getTextSelectionEnd | ( | ) | [inline, virtual] |
Get index of end of selection
Reimplemented in MyGUI::EditText.
Definition at line 43 of file MyGUI_ISubWidgetText.h.
virtual size_t MyGUI::ISubWidgetText::getTextSelectionStart | ( | ) | [inline, virtual] |
Get index of start of selection
Reimplemented in MyGUI::EditText.
Definition at line 41 of file MyGUI_ISubWidgetText.h.
virtual IntSize MyGUI::ISubWidgetText::getTextSize | ( | ) | [inline, virtual] |
virtual const std::string& MyGUI::ISubWidgetText::getTypeName | ( | ) | const [inline, virtual] |
Get type name as string
Reimplemented from MyGUI::ISubWidget.
Reimplemented in MyGUI::EditText, and MyGUI::SimpleText.
Definition at line 35 of file MyGUI_ISubWidgetText.h.
virtual IntPoint MyGUI::ISubWidgetText::getViewOffset | ( | ) | [inline, virtual] |
bool MyGUI::ISubWidgetText::isType | ( | ) | const [inline] |
Compare with selected type
Reimplemented from MyGUI::ISubWidget.
Reimplemented in MyGUI::EditText, and MyGUI::SimpleText.
Definition at line 35 of file MyGUI_ISubWidgetText.h.
virtual bool MyGUI::ISubWidgetText::isType | ( | const std::type_info & | _type | ) | const [inline, virtual] |
Compare with selected type
Reimplemented from MyGUI::ISubWidget.
Reimplemented in MyGUI::EditText, and MyGUI::SimpleText.
Definition at line 35 of file MyGUI_ISubWidgetText.h.
virtual bool MyGUI::ISubWidgetText::isVisibleCursor | ( | ) | [inline, virtual] |
virtual void MyGUI::ISubWidgetText::setCaption | ( | const UString & | _value | ) | [inline, virtual] |
virtual void MyGUI::ISubWidgetText::setCursorPosition | ( | size_t | _index | ) | [inline, virtual] |
virtual void MyGUI::ISubWidgetText::setFontHeight | ( | int | _value | ) | [inline, virtual] |
virtual void MyGUI::ISubWidgetText::setFontName | ( | const std::string & | _value | ) | [inline, virtual] |
virtual void MyGUI::ISubWidgetText::setInvertSelected | ( | bool | _value | ) | [inline, virtual] |
virtual void MyGUI::ISubWidgetText::setSelectBackground | ( | bool | _normal | ) | [inline, virtual] |
virtual void MyGUI::ISubWidgetText::setShiftText | ( | bool | _value | ) | [inline, virtual] |
virtual void MyGUI::ISubWidgetText::setTextAlign | ( | Align | _value | ) | [inline, virtual] |
virtual void MyGUI::ISubWidgetText::setTextColour | ( | const Colour & | _value | ) | [inline, virtual] |
virtual void MyGUI::ISubWidgetText::setTextSelection | ( | size_t | _start, | |
size_t | _end | |||
) | [inline, virtual] |
Set text selection
Reimplemented in MyGUI::EditText.
Definition at line 45 of file MyGUI_ISubWidgetText.h.
virtual void MyGUI::ISubWidgetText::setViewOffset | ( | const IntPoint & | _point | ) | [inline, virtual] |
Reimplemented in MyGUI::EditText, and MyGUI::SimpleText.
Definition at line 90 of file MyGUI_ISubWidgetText.h.
virtual void MyGUI::ISubWidgetText::setVisibleCursor | ( | bool | _value | ) | [inline, virtual] |
virtual void MyGUI::ISubWidgetText::setWordWrap | ( | bool | _value | ) | [inline, virtual] |