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

#include <MyGUI_SimpleText.h>

+ Inheritance diagram for MyGUI::SimpleText:

Public Types

typedef RTTIBase Base
typedef SimpleText RTTIBase
- Public Types inherited from MyGUI::EditText
typedef RTTIBase Base
typedef EditText RTTIBase
- Public Types inherited from MyGUI::ISubWidgetText
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
 SimpleText ()
virtual ~SimpleText ()
virtual void setViewOffset (const IntPoint &_point)
virtual void doRender ()
- Public Member Functions inherited from MyGUI::EditText
 EditText ()
virtual ~EditText ()
virtual void setVisible (bool _value)
virtual void updateRawData ()
void setCaption (const UString &_value)
const UStringgetCaption ()
void setTextColour (const Colour &_value)
const ColourgetTextColour ()
void setAlpha (float _value)
float getAlpha ()
virtual void setFontName (const std::string &_value)
virtual const std::string & getFontName ()
virtual void setFontHeight (int _value)
virtual int getFontHeight ()
virtual void createDrawItem (ITexture *_texture, ILayerNode *_node)
virtual void destroyDrawItem ()
virtual void setTextAlign (Align _value)
virtual Align getTextAlign ()
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 isVisibleCursor ()
virtual void setVisibleCursor (bool _value)
virtual bool getInvertSelected ()
virtual void setInvertSelected (bool _value)
virtual size_t getCursorPosition ()
virtual void setCursorPosition (size_t _index)
virtual IntSize getTextSize ()
virtual IntPoint getViewOffset ()
virtual size_t getCursorPosition (const IntPoint &_point)
virtual IntCoord getCursorCoord (size_t _position)
void setShiftText (bool _shift)
void setWordWrap (bool _value)
virtual void setStateData (IStateInfo *_data)
void _updateView ()
void _correctView ()
void _setAlign (const IntSize &_oldsize, bool _update)
void _setAlign (const IntCoord &_oldcoord, bool _update)
- Public Member Functions inherited from MyGUI::ISubWidgetText
virtual ~ISubWidgetText ()
IntPoint getCursorPoint (size_t _position)
IntRect getCursorRect (size_t _position)
- Public Member Functions inherited from MyGUI::ISubWidget
virtual ~ISubWidget ()
- 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
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
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::EditText
bool mEmptyView
uint32 mCurrentColour
uint32 mInverseColour
uint32 mCurrentAlpha
IntCoord mCurrentCoord
UString mCaption
bool mTextOutDate
Align mTextAlign
Colour mColour
float mAlpha
VertexColourType mVertexFormat
IFontmFont
ITexturemTexture
int mFontHeight
bool mBackgroundNormal
size_t mStartSelect
size_t mEndSelect
size_t mCursorPosition
bool mVisibleCursor
bool mInvertSelect
IntPoint mViewOffset
ILayerNodemNode
RenderItemmRenderItem
size_t mCountVertex
bool mIsAddCursorWidth
bool mShiftText
bool mWordWrap
int mOldWidth
TextView mTextView

Detailed Description

Definition at line 35 of file MyGUI_SimpleText.h.

Member Typedef Documentation

Definition at line 37 of file MyGUI_SimpleText.h.

Definition at line 37 of file MyGUI_SimpleText.h.

Constructor & Destructor Documentation

MyGUI::SimpleText::SimpleText ( )

Definition at line 34 of file MyGUI_SimpleText.cpp.

MyGUI::SimpleText::~SimpleText ( )
virtual

Definition at line 40 of file MyGUI_SimpleText.cpp.

Member Function Documentation

void MyGUI::SimpleText::doRender ( )
virtual

Reimplemented from MyGUI::EditText.

Definition at line 48 of file MyGUI_SimpleText.cpp.

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

Reimplemented from MyGUI::EditText.

Definition at line 37 of file MyGUI_SimpleText.h.

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

Get type name as string

Reimplemented from MyGUI::EditText.

Definition at line 37 of file MyGUI_SimpleText.h.

template<typename Type >
bool MyGUI::SimpleText::isType ( ) const
inline

Compare with selected type

Reimplemented from MyGUI::EditText.

Definition at line 37 of file MyGUI_SimpleText.h.

virtual bool MyGUI::SimpleText::isType ( const std::type_info &  _type) const
inlinevirtual

Compare with selected type

Reimplemented from MyGUI::EditText.

Definition at line 37 of file MyGUI_SimpleText.h.

void MyGUI::SimpleText::setViewOffset ( const IntPoint _point)
virtual

Reimplemented from MyGUI::EditText.

Definition at line 44 of file MyGUI_SimpleText.cpp.


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