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

#include <MyGUI_ISubWidgetText.h>

+ Inheritance diagram for MyGUI::ISubWidgetText:

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 ()
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 UStringgetCaption ()
virtual void setTextColour (const Colour &_value)
virtual const ColourgetTextColour ()
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)
- Public Member Functions inherited from MyGUI::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
- Public Member Functions inherited from MyGUI::ICroppedRectangle
 ICroppedRectangle ()
virtual ~ICroppedRectangle ()
ICroppedRectanglegetCroppedParent ()
virtual void setCoord (const IntCoord &_value)
const IntCoordgetCoord () const
virtual void setPosition (const IntPoint &_value)
IntPoint getPosition () const
virtual void setSize (const IntSize &_value)
IntSize getSize () const
virtual void setVisible (bool _value)
bool isVisible () const
const IntPointgetAbsolutePosition () const
IntRect getAbsoluteRect () const
IntCoord getAbsoluteCoord () const
int getAbsoluteLeft () const
int getAbsoluteTop () const
virtual void setAlign (Align _value)
Align getAlign () 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
virtual void _updateView ()
virtual void _correctView ()
virtual void _setAlign (const IntSize &_oldsize, bool _update)
virtual void _setAlign (const IntCoord &_oldcoord, bool _update)
void _setCroppedParent (ICroppedRectangle *_parent)
const IntRect_getMargin () const
int _getMarginLeft () const
int _getMarginRight () const
int _getMarginTop () const
int _getMarginBottom () const
void show ()
void hide ()
bool isShow ()
- Public Member Functions inherited from MyGUI::IObject
template<typename Type >
Type * castType (bool _throw=true)
template<typename Type >
const Type * castType (bool _throw=true) const
virtual ~IObject ()

Static Public Member Functions

static const std::string & getClassTypeName ()

Additional Inherited Members

- Protected Member Functions inherited from MyGUI::ICroppedRectangle
bool _checkPoint (int _left, int _top)
bool _checkMargin ()
bool _checkOutside ()
- Protected Attributes inherited from MyGUI::ICroppedRectangle
bool mIsMargin
IntRect mMargin
IntCoord mCoord
IntPoint mAbsolutePosition
ICroppedRectanglemCroppedParent
bool mVisible
Align mAlign

Detailed Description

Definition at line 33 of file MyGUI_ISubWidgetText.h.

Member Typedef Documentation

Definition at line 35 of file MyGUI_ISubWidgetText.h.

Definition at line 35 of file MyGUI_ISubWidgetText.h.

Constructor & Destructor Documentation

virtual MyGUI::ISubWidgetText::~ISubWidgetText ( )
inlinevirtual

Definition at line 38 of file MyGUI_ISubWidgetText.h.

Member Function Documentation

virtual const UString& MyGUI::ISubWidgetText::getCaption ( )
inlinevirtual

Reimplemented in MyGUI::EditText.

Definition at line 94 of file MyGUI_ISubWidgetText.h.

static const std::string& MyGUI::ISubWidgetText::getClassTypeName ( )
inlinestatic

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)
inlinevirtual

Reimplemented in MyGUI::EditText.

Definition at line 70 of file MyGUI_ISubWidgetText.h.

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

Definition at line 73 of file MyGUI_ISubWidgetText.h.

virtual size_t MyGUI::ISubWidgetText::getCursorPosition ( )
inlinevirtual

Reimplemented in MyGUI::EditText.

Definition at line 60 of file MyGUI_ISubWidgetText.h.

virtual size_t MyGUI::ISubWidgetText::getCursorPosition ( const IntPoint _point)
inlinevirtual

Reimplemented in MyGUI::EditText.

Definition at line 67 of file MyGUI_ISubWidgetText.h.

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

Definition at line 80 of file MyGUI_ISubWidgetText.h.

virtual int MyGUI::ISubWidgetText::getFontHeight ( )
inlinevirtual

Reimplemented in MyGUI::EditText.

Definition at line 103 of file MyGUI_ISubWidgetText.h.

virtual const std::string& MyGUI::ISubWidgetText::getFontName ( )
inlinevirtual

Reimplemented in MyGUI::EditText.

Definition at line 100 of file MyGUI_ISubWidgetText.h.

virtual bool MyGUI::ISubWidgetText::getInvertSelected ( )
inlinevirtual

Reimplemented in MyGUI::EditText.

Definition at line 52 of file MyGUI_ISubWidgetText.h.

virtual bool MyGUI::ISubWidgetText::getSelectBackground ( )
inlinevirtual

Reimplemented in MyGUI::EditText.

Definition at line 48 of file MyGUI_ISubWidgetText.h.

virtual Align MyGUI::ISubWidgetText::getTextAlign ( )
inlinevirtual

Reimplemented in MyGUI::EditText.

Definition at line 106 of file MyGUI_ISubWidgetText.h.

virtual const Colour& MyGUI::ISubWidgetText::getTextColour ( )
inlinevirtual

Reimplemented in MyGUI::EditText.

Definition at line 97 of file MyGUI_ISubWidgetText.h.

virtual size_t MyGUI::ISubWidgetText::getTextSelectionEnd ( )
inlinevirtual

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 ( )
inlinevirtual

Get index of start of selection

Reimplemented in MyGUI::EditText.

Definition at line 41 of file MyGUI_ISubWidgetText.h.

virtual IntSize MyGUI::ISubWidgetText::getTextSize ( )
inlinevirtual

Reimplemented in MyGUI::EditText.

Definition at line 87 of file MyGUI_ISubWidgetText.h.

virtual const std::string& MyGUI::ISubWidgetText::getTypeName ( ) const
inlinevirtual

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 ( )
inlinevirtual

Reimplemented in MyGUI::EditText.

Definition at line 91 of file MyGUI_ISubWidgetText.h.

template<typename Type >
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
inlinevirtual

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 ( )
inlinevirtual

Reimplemented in MyGUI::EditText.

Definition at line 56 of file MyGUI_ISubWidgetText.h.

virtual void MyGUI::ISubWidgetText::setCaption ( const UString _value)
inlinevirtual

Reimplemented in MyGUI::EditText.

Definition at line 93 of file MyGUI_ISubWidgetText.h.

virtual void MyGUI::ISubWidgetText::setCursorPosition ( size_t  _index)
inlinevirtual

Reimplemented in MyGUI::EditText.

Definition at line 61 of file MyGUI_ISubWidgetText.h.

virtual void MyGUI::ISubWidgetText::setFontHeight ( int  _value)
inlinevirtual

Reimplemented in MyGUI::EditText.

Definition at line 102 of file MyGUI_ISubWidgetText.h.

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

Reimplemented in MyGUI::EditText.

Definition at line 99 of file MyGUI_ISubWidgetText.h.

virtual void MyGUI::ISubWidgetText::setInvertSelected ( bool  _value)
inlinevirtual

Reimplemented in MyGUI::EditText.

Definition at line 53 of file MyGUI_ISubWidgetText.h.

virtual void MyGUI::ISubWidgetText::setSelectBackground ( bool  _normal)
inlinevirtual

Reimplemented in MyGUI::EditText.

Definition at line 49 of file MyGUI_ISubWidgetText.h.

virtual void MyGUI::ISubWidgetText::setShiftText ( bool  _value)
inlinevirtual

Reimplemented in MyGUI::EditText.

Definition at line 108 of file MyGUI_ISubWidgetText.h.

virtual void MyGUI::ISubWidgetText::setTextAlign ( Align  _value)
inlinevirtual

Reimplemented in MyGUI::EditText.

Definition at line 105 of file MyGUI_ISubWidgetText.h.

virtual void MyGUI::ISubWidgetText::setTextColour ( const Colour _value)
inlinevirtual

Reimplemented in MyGUI::EditText.

Definition at line 96 of file MyGUI_ISubWidgetText.h.

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

Set text selection

Reimplemented in MyGUI::EditText.

Definition at line 45 of file MyGUI_ISubWidgetText.h.

virtual void MyGUI::ISubWidgetText::setViewOffset ( const IntPoint _point)
inlinevirtual

Reimplemented in MyGUI::EditText, and MyGUI::SimpleText.

Definition at line 90 of file MyGUI_ISubWidgetText.h.

virtual void MyGUI::ISubWidgetText::setVisibleCursor ( bool  _value)
inlinevirtual

Reimplemented in MyGUI::EditText.

Definition at line 57 of file MyGUI_ISubWidgetText.h.

virtual void MyGUI::ISubWidgetText::setWordWrap ( bool  _value)
inlinevirtual

Reimplemented in MyGUI::EditText.

Definition at line 63 of file MyGUI_ISubWidgetText.h.


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