MyGUI 3.2.2

- Main Page
- Related Pages
- Namespaces
- Data Structures
- Files
- Examples

- Data Structures
- Data Structure Index
- Class Hierarchy
- Data Fields

Public Types | Public Member Functions | Static Public Member Functions
MyGUI::ISubWidgetText Class Reference

`#include <MyGUI_ISubWidgetText.h>`

Inheritance diagram for MyGUI::ISubWidgetText:
[legend]

## Public Types
typedef RTTIBase | Base
typedef ISubWidgetText | RTTIBase
Public Types inherited from MyGUI::ISubWidget
typedef RTTIBase | Base
typedef ISubWidget | RTTIBase
Public Types inherited from MyGUI::IObject
typedef IObject | 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 () const
virtual size_t | getTextSelectionEnd () const
virtual void | setTextSelection (size_t _start, size_t _end)
virtual bool | getSelectBackground () const
virtual void | setSelectBackground (bool _normal)
virtual bool | getInvertSelected () const
virtual void | setInvertSelected (bool _value)
virtual bool | getShadow () const
virtual void | setShadow (bool _value)
virtual bool | isVisibleCursor () const
virtual void | setVisibleCursor (bool _value)
virtual size_t | getCursorPosition () const
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 () const
virtual void | setCaption (const UString &_value)
virtual const UString & | getCaption () const
virtual void | setTextColour (const Colour &_value)
virtual const Colour & | getTextColour () const
virtual void | setFontName (const std::string &_value)
virtual const std::string & | getFontName () const
virtual void | setFontHeight (int _value)
virtual int | getFontHeight () const
virtual void | setTextAlign (Align _value)
virtual Align | getTextAlign () const
virtual void | setShiftText (bool _value)
virtual void | setShadowColour (const Colour &_value)
virtual const Colour & | getShadowColour () const
Public Member Functions inherited from MyGUI::ISubWidget
template<typename Type >
bool | isType () const
| ISubWidget ()
virtual | ~ISubWidget ()
virtual void | createDrawItem (ITexture *_texture, ILayerNode *_node)=0
virtual void | destroyDrawItem ()=0
virtual void | setAlpha (float _alpha)
virtual void | setStateData (IStateInfo *_data)
virtual void | doRender ()=0
virtual void | setAlign (Align _value)
virtual void | setVisible (bool _value)
virtual void | _updateView ()
virtual void | _correctView ()
virtual void | _setAlign (const IntSize &_oldsize)
virtual void | doManualRender (IVertexBuffer *_buffer, ITexture *_texture, size_t _count)
Public Member Functions inherited from MyGUI::ICroppedRectangle
| ICroppedRectangle ()
virtual | ~ICroppedRectangle ()
ICroppedRectangle * | getCroppedParent ()
virtual void | setPosition (const IntPoint &_value)
virtual void | setSize (const IntSize &_value)
virtual void | setCoord (const IntCoord &_value)
IntPoint | getPosition () const
IntSize | getSize () const
const IntCoord & | getCoord () const
const IntPoint & | getAbsolutePosition () const
IntRect | getAbsoluteRect () const
IntCoord | getAbsoluteCoord () const
int | getAbsoluteLeft () const
int | getAbsoluteTop () const
int | getLeft () const
int | getRight () const
int | getTop () const
int | getBottom () const
int | getWidth () const
int | getHeight () const
bool | _isMargin () const
int | _getViewLeft () const
int | _getViewRight () const
int | _getViewTop () const
int | _getViewBottom () const
int | _getViewWidth () const
int | _getViewHeight () const
void | _setCroppedParent (ICroppedRectangle *_parent)
const IntRect & | _getMargin () const
int | _getMarginLeft () const
int | _getMarginRight () const
int | _getMarginTop () const
int | _getMarginBottom () const
Public Member Functions inherited from MyGUI::IObject
template<typename Type >
bool | isType () const
template<typename Type >
Type * | castType (bool _throw=true)
template<typename Type >
const Type * | castType (bool _throw=true) const
| IObject ()
virtual | ~IObject ()

## Static Public Member Functions
static const std::string & | getClassTypeName ()
Static Public Member Functions inherited from MyGUI::ISubWidget
static const std::string & | getClassTypeName ()
Static Public Member Functions inherited from MyGUI::IObject
static const std::string & | getClassTypeName ()

## Additional Inherited Members
Protected Member Functions inherited from MyGUI::ICroppedRectangle
bool | _checkMargin ()
bool | _checkOutside () const
Protected Attributes inherited from MyGUI::ISubWidget
Align | mAlign
bool | mVisible
Protected Attributes inherited from MyGUI::ICroppedRectangle
IntRect | mMargin
IntCoord | mCoord
IntPoint | mAbsolutePosition
bool | mIsMargin
ICroppedRectangle * | mCroppedParent

## Detailed Description

Definition at line 18 of file MyGUI_ISubWidgetText.h.

## Member Typedef Documentation

typedef RTTIBase MyGUI::ISubWidgetText::Base

Definition at line 21 of file MyGUI_ISubWidgetText.h.

typedef ISubWidgetText MyGUI::ISubWidgetText::RTTIBase

Definition at line 21 of file MyGUI_ISubWidgetText.h.

## Constructor & Destructor Documentation

virtual MyGUI::ISubWidgetText::~ISubWidgetText | ( |  | ) |
| inline virtual

Definition at line 24 of file MyGUI_ISubWidgetText.h.

## Member Function Documentation

virtual const UString& MyGUI::ISubWidgetText::getCaption | ( |  | ) | const
| inline virtual

Reimplemented in MyGUI::EditText.

Definition at line 124 of file MyGUI_ISubWidgetText.h.

static const std::string& MyGUI::ISubWidgetText::getClassTypeName | ( |  | ) |
| inline static

Definition at line 21 of file MyGUI_ISubWidgetText.h.

virtual IntCoord MyGUI::ISubWidgetText::getCursorCoord | ( | size_t | _position | ) |
| inline virtual

Reimplemented in MyGUI::EditText.

Definition at line 91 of file MyGUI_ISubWidgetText.h.

IntPoint MyGUI::ISubWidgetText::getCursorPoint | ( | size_t | _position | ) |
| inline

Definition at line 97 of file MyGUI_ISubWidgetText.h.

virtual size_t MyGUI::ISubWidgetText::getCursorPosition | ( |  | ) | const
| inline virtual

Reimplemented in MyGUI::EditText.

Definition at line 74 of file MyGUI_ISubWidgetText.h.

virtual size_t MyGUI::ISubWidgetText::getCursorPosition | ( | const IntPoint & | _point | ) |
| inline virtual

Reimplemented in MyGUI::EditText.

Definition at line 85 of file MyGUI_ISubWidgetText.h.

IntRect MyGUI::ISubWidgetText::getCursorRect | ( | size_t | _position | ) |
| inline

Definition at line 104 of file MyGUI_ISubWidgetText.h.

virtual int MyGUI::ISubWidgetText::getFontHeight | ( |  | ) | const
| inline virtual

Reimplemented in MyGUI::EditText.

Definition at line 142 of file MyGUI_ISubWidgetText.h.

virtual const std::string& MyGUI::ISubWidgetText::getFontName | ( |  | ) | const
| inline virtual

Reimplemented in MyGUI::EditText.

Definition at line 136 of file MyGUI_ISubWidgetText.h.

virtual bool MyGUI::ISubWidgetText::getInvertSelected | ( |  | ) | const
| inline virtual

Reimplemented in MyGUI::EditText.

Definition at line 50 of file MyGUI_ISubWidgetText.h.

virtual bool MyGUI::ISubWidgetText::getSelectBackground | ( |  | ) | const
| inline virtual

Reimplemented in MyGUI::EditText.

Definition at line 42 of file MyGUI_ISubWidgetText.h.

virtual bool MyGUI::ISubWidgetText::getShadow | ( |  | ) | const
| inline virtual

Reimplemented in MyGUI::EditText.

Definition at line 58 of file MyGUI_ISubWidgetText.h.

virtual const Colour& MyGUI::ISubWidgetText::getShadowColour | ( |  | ) | const
| inline virtual

Reimplemented in MyGUI::EditText.

Definition at line 156 of file MyGUI_ISubWidgetText.h.

virtual Align MyGUI::ISubWidgetText::getTextAlign | ( |  | ) | const
| inline virtual

Reimplemented in MyGUI::EditText.

Definition at line 148 of file MyGUI_ISubWidgetText.h.

virtual const Colour& MyGUI::ISubWidgetText::getTextColour | ( |  | ) | const
| inline virtual

Reimplemented in MyGUI::EditText.

Definition at line 130 of file MyGUI_ISubWidgetText.h.

virtual size_t MyGUI::ISubWidgetText::getTextSelectionEnd | ( |  | ) | const
| inline virtual

Get index of end of selection

Reimplemented in MyGUI::EditText.

Definition at line 33 of file MyGUI_ISubWidgetText.h.

virtual size_t MyGUI::ISubWidgetText::getTextSelectionStart | ( |  | ) | const
| inline virtual

Get index of start of selection

Reimplemented in MyGUI::EditText.

Definition at line 27 of file MyGUI_ISubWidgetText.h.

virtual IntSize MyGUI::ISubWidgetText::getTextSize | ( |  | ) |
| inline virtual

Reimplemented in MyGUI::EditText.

Definition at line 111 of file MyGUI_ISubWidgetText.h.

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 21 of file MyGUI_ISubWidgetText.h.

virtual IntPoint MyGUI::ISubWidgetText::getViewOffset | ( |  | ) | const
| inline virtual

Reimplemented in MyGUI::EditText.

Definition at line 118 of file MyGUI_ISubWidgetText.h.

template<typename Type >

bool MyGUI::ISubWidgetText::isType | ( |  | ) | const
| inline

Compare with selected type

Definition at line 21 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 21 of file MyGUI_ISubWidgetText.h.

virtual bool MyGUI::ISubWidgetText::isVisibleCursor | ( |  | ) | const
| inline virtual

Reimplemented in MyGUI::EditText.

Definition at line 66 of file MyGUI_ISubWidgetText.h.

virtual void MyGUI::ISubWidgetText::setCaption | ( | const UString & | _value | ) |
| inline virtual

Reimplemented in MyGUI::EditText.

Definition at line 123 of file MyGUI_ISubWidgetText.h.

virtual void MyGUI::ISubWidgetText::setCursorPosition | ( | size_t | _index | ) |
| inline virtual

Reimplemented in MyGUI::EditText.

Definition at line 79 of file MyGUI_ISubWidgetText.h.

virtual void MyGUI::ISubWidgetText::setFontHeight | ( | int | _value | ) |
| inline virtual

Reimplemented in MyGUI::EditText.

Definition at line 141 of file MyGUI_ISubWidgetText.h.

virtual void MyGUI::ISubWidgetText::setFontName | ( | const std::string & | _value | ) |
| inline virtual

Reimplemented in MyGUI::EditText.

Definition at line 135 of file MyGUI_ISubWidgetText.h.

virtual void MyGUI::ISubWidgetText::setInvertSelected | ( | bool | _value | ) |
| inline virtual

Reimplemented in MyGUI::EditText.

Definition at line 55 of file MyGUI_ISubWidgetText.h.

virtual void MyGUI::ISubWidgetText::setSelectBackground | ( | bool | _normal | ) |
| inline virtual

Reimplemented in MyGUI::EditText.

Definition at line 47 of file MyGUI_ISubWidgetText.h.

virtual void MyGUI::ISubWidgetText::setShadow | ( | bool | _value | ) |
| inline virtual

Reimplemented in MyGUI::EditText.

Definition at line 63 of file MyGUI_ISubWidgetText.h.

virtual void MyGUI::ISubWidgetText::setShadowColour | ( | const Colour & | _value | ) |
| inline virtual

Reimplemented in MyGUI::EditText.

Definition at line 155 of file MyGUI_ISubWidgetText.h.

virtual void MyGUI::ISubWidgetText::setShiftText | ( | bool | _value | ) |
| inline virtual

Reimplemented in MyGUI::EditText.

Definition at line 153 of file MyGUI_ISubWidgetText.h.

virtual void MyGUI::ISubWidgetText::setTextAlign | ( | Align | _value | ) |
| inline virtual

Reimplemented in MyGUI::EditText.

Definition at line 147 of file MyGUI_ISubWidgetText.h.

virtual void MyGUI::ISubWidgetText::setTextColour | ( | const Colour & | _value | ) |
| inline virtual

Reimplemented in MyGUI::EditText.

Definition at line 129 of file MyGUI_ISubWidgetText.h.

virtual void MyGUI::ISubWidgetText::setTextSelection | ( | size_t | _start,
|  | size_t | _end
| ) |  |
| inline virtual

Set text selection

Reimplemented in MyGUI::EditText.

Definition at line 39 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 117 of file MyGUI_ISubWidgetText.h.

virtual void MyGUI::ISubWidgetText::setVisibleCursor | ( | bool | _value | ) |
| inline virtual

Reimplemented in MyGUI::EditText.

Definition at line 71 of file MyGUI_ISubWidgetText.h.

virtual void MyGUI::ISubWidgetText::setWordWrap | ( | bool | _value | ) |
| inline virtual

Reimplemented in MyGUI::EditText.

Definition at line 81 of file MyGUI_ISubWidgetText.h.

The documentation for this class was generated from the following file:

- MyGUI_ISubWidgetText.h