MyGUI
3.2.0
|
#include <MyGUI_EditText.h>
Public Types | |
typedef RTTIBase | Base |
typedef EditText | RTTIBase |
![]() | |
typedef RTTIBase | Base |
typedef ISubWidgetText | RTTIBase |
![]() | |
typedef RTTIBase | Base |
typedef ISubWidget | RTTIBase |
![]() | |
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 |
EditText () | |
virtual | ~EditText () |
virtual void | setVisible (bool _value) |
virtual void | updateRawData () |
virtual void | doRender () |
void | setCaption (const UString &_value) |
const UString & | getCaption () const |
void | setTextColour (const Colour &_value) |
const Colour & | getTextColour () const |
void | setAlpha (float _value) |
float | getAlpha () 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 | createDrawItem (ITexture *_texture, ILayerNode *_node) |
virtual void | destroyDrawItem () |
virtual void | setTextAlign (Align _value) |
virtual Align | getTextAlign () const |
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 | isVisibleCursor () const |
virtual void | setVisibleCursor (bool _value) |
virtual bool | getInvertSelected () const |
virtual void | setInvertSelected (bool _value) |
virtual size_t | getCursorPosition () const |
virtual void | setCursorPosition (size_t _index) |
virtual IntSize | getTextSize () |
virtual void | setViewOffset (const IntPoint &_point) |
virtual IntPoint | getViewOffset () const |
virtual size_t | getCursorPosition (const IntPoint &_point) |
virtual IntCoord | getCursorCoord (size_t _position) |
virtual bool | getShadow () const |
virtual void | setShadow (bool _value) |
virtual void | setShiftText (bool _shift) |
virtual void | setWordWrap (bool _value) |
virtual void | setStateData (IStateInfo *_data) |
virtual void | setShadowColour (const Colour &_value) |
virtual const Colour & | getShadowColour () const |
virtual void | _updateView () |
virtual void | _correctView () |
virtual void | _setAlign (const IntSize &_oldsize) |
![]() | |
template<typename Type > | |
bool | isType () const |
virtual | ~ISubWidgetText () |
IntPoint | getCursorPoint (size_t _position) |
IntRect | getCursorRect (size_t _position) |
![]() | |
template<typename Type > | |
bool | isType () const |
ISubWidget () | |
virtual | ~ISubWidget () |
virtual void | setAlign (Align _value) |
virtual void | doManualRender (IVertexBuffer *_buffer, ITexture *_texture, size_t _count) |
![]() | |
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 |
![]() | |
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 const std::string & | getClassTypeName () |
![]() | |
static const std::string & | getClassTypeName () |
![]() | |
static const std::string & | getClassTypeName () |
Protected Attributes | |
bool | mEmptyView |
uint32 | mCurrentColourNative |
uint32 | mInverseColourNative |
uint32 | mCurrentAlphaNative |
uint32 | mShadowColourNative |
IntCoord | mCurrentCoord |
UString | mCaption |
bool | mTextOutDate |
Align | mTextAlign |
Colour | mColour |
Colour | mShadowColour |
float | mAlpha |
VertexColourType | mVertexFormat |
IFont * | mFont |
ITexture * | mTexture |
int | mFontHeight |
bool | mBackgroundNormal |
size_t | mStartSelect |
size_t | mEndSelect |
size_t | mCursorPosition |
bool | mVisibleCursor |
bool | mInvertSelect |
bool | mShadow |
IntPoint | mViewOffset |
ILayerNode * | mNode |
RenderItem * | mRenderItem |
size_t | mCountVertex |
bool | mIsAddCursorWidth |
bool | mShiftText |
bool | mWordWrap |
bool | mManualColour |
int | mOldWidth |
TextView | mTextView |
Additional Inherited Members | |
![]() | |
bool | _checkMargin () |
bool | _checkOutside () const |
Definition at line 40 of file MyGUI_EditText.h.
typedef RTTIBase MyGUI::EditText::Base |
Definition at line 43 of file MyGUI_EditText.h.
typedef EditText MyGUI::EditText::RTTIBase |
Definition at line 43 of file MyGUI_EditText.h.
MyGUI::EditText::EditText | ( | ) |
Definition at line 39 of file MyGUI_EditText.cpp.
|
virtual |
Definition at line 80 of file MyGUI_EditText.cpp.
|
virtual |
Reimplemented from MyGUI::ISubWidget.
Definition at line 94 of file MyGUI_EditText.cpp.
|
virtual |
Reimplemented from MyGUI::ISubWidget.
Definition at line 100 of file MyGUI_EditText.cpp.
|
virtual |
Reimplemented from MyGUI::ISubWidget.
Definition at line 164 of file MyGUI_EditText.cpp.
|
virtual |
Implements MyGUI::ISubWidget.
Definition at line 332 of file MyGUI_EditText.cpp.
|
virtual |
Implements MyGUI::ISubWidget.
Definition at line 345 of file MyGUI_EditText.cpp.
|
virtual |
Implements MyGUI::ISubWidget.
Reimplemented in MyGUI::SimpleText.
Definition at line 544 of file MyGUI_EditText.cpp.
float MyGUI::EditText::getAlpha | ( | ) | const |
Definition at line 274 of file MyGUI_EditText.cpp.
|
virtual |
Reimplemented from MyGUI::ISubWidgetText.
Definition at line 226 of file MyGUI_EditText.cpp.
|
inlinestatic |
Definition at line 43 of file MyGUI_EditText.h.
|
virtual |
Reimplemented from MyGUI::ISubWidgetText.
Definition at line 482 of file MyGUI_EditText.cpp.
|
virtual |
Reimplemented from MyGUI::ISubWidgetText.
Definition at line 404 of file MyGUI_EditText.cpp.
|
virtual |
Reimplemented from MyGUI::ISubWidgetText.
Definition at line 466 of file MyGUI_EditText.cpp.
|
virtual |
Reimplemented from MyGUI::ISubWidgetText.
Definition at line 327 of file MyGUI_EditText.cpp.
|
virtual |
Reimplemented from MyGUI::ISubWidgetText.
Definition at line 313 of file MyGUI_EditText.cpp.
|
virtual |
Get invert selected text color property.
Reimplemented from MyGUI::ISubWidgetText.
Definition at line 652 of file MyGUI_EditText.cpp.
|
virtual |
Reimplemented from MyGUI::ISubWidgetText.
Definition at line 374 of file MyGUI_EditText.cpp.
|
virtual |
Reimplemented from MyGUI::ISubWidgetText.
Definition at line 657 of file MyGUI_EditText.cpp.
|
virtual |
Reimplemented from MyGUI::ISubWidgetText.
Definition at line 686 of file MyGUI_EditText.cpp.
|
virtual |
Reimplemented from MyGUI::ISubWidgetText.
Definition at line 427 of file MyGUI_EditText.cpp.
|
virtual |
Reimplemented from MyGUI::ISubWidgetText.
Definition at line 254 of file MyGUI_EditText.cpp.
|
virtual |
Get index of end of selection
Reimplemented from MyGUI::ISubWidgetText.
Definition at line 360 of file MyGUI_EditText.cpp.
|
virtual |
Get index of start of selection
Reimplemented from MyGUI::ISubWidgetText.
Definition at line 355 of file MyGUI_EditText.cpp.
|
virtual |
Reimplemented from MyGUI::ISubWidgetText.
Definition at line 432 of file MyGUI_EditText.cpp.
|
inlinevirtual |
Get type name as string
Reimplemented from MyGUI::ISubWidgetText.
Reimplemented in MyGUI::SimpleText.
Definition at line 43 of file MyGUI_EditText.h.
|
virtual |
Reimplemented from MyGUI::ISubWidgetText.
Definition at line 461 of file MyGUI_EditText.cpp.
|
inline |
Compare with selected type
Definition at line 43 of file MyGUI_EditText.h.
|
inlinevirtual |
Compare with selected type
Reimplemented from MyGUI::ISubWidgetText.
Reimplemented in MyGUI::SimpleText.
Definition at line 43 of file MyGUI_EditText.h.
|
virtual |
Reimplemented from MyGUI::ISubWidgetText.
Definition at line 389 of file MyGUI_EditText.cpp.
|
virtual |
Reimplemented from MyGUI::ISubWidget.
Definition at line 259 of file MyGUI_EditText.cpp.
|
virtual |
Reimplemented from MyGUI::ISubWidgetText.
Definition at line 203 of file MyGUI_EditText.cpp.
|
virtual |
Reimplemented from MyGUI::ISubWidgetText.
Definition at line 409 of file MyGUI_EditText.cpp.
|
virtual |
Reimplemented from MyGUI::ISubWidgetText.
Definition at line 318 of file MyGUI_EditText.cpp.
|
virtual |
Reimplemented from MyGUI::ISubWidgetText.
Definition at line 279 of file MyGUI_EditText.cpp.
|
virtual |
Enable or disable inverting color of selected text.
Enabled (true) by default.
Reimplemented from MyGUI::ISubWidgetText.
Definition at line 642 of file MyGUI_EditText.cpp.
|
virtual |
Reimplemented from MyGUI::ISubWidgetText.
Definition at line 379 of file MyGUI_EditText.cpp.
|
virtual |
Reimplemented from MyGUI::ISubWidgetText.
Definition at line 662 of file MyGUI_EditText.cpp.
|
virtual |
Reimplemented from MyGUI::ISubWidgetText.
Definition at line 673 of file MyGUI_EditText.cpp.
|
virtual |
Reimplemented from MyGUI::ISubWidgetText.
Definition at line 498 of file MyGUI_EditText.cpp.
|
virtual |
Reimplemented from MyGUI::ISubWidget.
Definition at line 536 of file MyGUI_EditText.cpp.
|
virtual |
Reimplemented from MyGUI::ISubWidgetText.
Definition at line 419 of file MyGUI_EditText.cpp.
|
virtual |
Reimplemented from MyGUI::ISubWidgetText.
Definition at line 231 of file MyGUI_EditText.cpp.
|
virtual |
Set text selection
Reimplemented from MyGUI::ISubWidgetText.
Definition at line 365 of file MyGUI_EditText.cpp.
|
virtual |
Reimplemented from MyGUI::ISubWidgetText.
Reimplemented in MyGUI::SimpleText.
Definition at line 453 of file MyGUI_EditText.cpp.
|
virtual |
Reimplemented from MyGUI::ISubWidget.
Definition at line 84 of file MyGUI_EditText.cpp.
|
virtual |
Reimplemented from MyGUI::ISubWidgetText.
Definition at line 394 of file MyGUI_EditText.cpp.
|
virtual |
Reimplemented from MyGUI::ISubWidgetText.
Definition at line 508 of file MyGUI_EditText.cpp.
|
virtual |
Definition at line 517 of file MyGUI_EditText.cpp.
|
protected |
Definition at line 162 of file MyGUI_EditText.h.
|
protected |
Definition at line 169 of file MyGUI_EditText.h.
|
protected |
Definition at line 156 of file MyGUI_EditText.h.
|
protected |
Definition at line 160 of file MyGUI_EditText.h.
|
protected |
Definition at line 181 of file MyGUI_EditText.h.
|
protected |
Definition at line 152 of file MyGUI_EditText.h.
|
protected |
Definition at line 150 of file MyGUI_EditText.h.
|
protected |
Definition at line 154 of file MyGUI_EditText.h.
|
protected |
Definition at line 172 of file MyGUI_EditText.h.
|
protected |
Definition at line 149 of file MyGUI_EditText.h.
|
protected |
Definition at line 171 of file MyGUI_EditText.h.
|
protected |
Definition at line 165 of file MyGUI_EditText.h.
|
protected |
Definition at line 167 of file MyGUI_EditText.h.
|
protected |
Definition at line 151 of file MyGUI_EditText.h.
|
protected |
Definition at line 174 of file MyGUI_EditText.h.
|
protected |
Definition at line 182 of file MyGUI_EditText.h.
|
protected |
Definition at line 186 of file MyGUI_EditText.h.
|
protected |
Definition at line 179 of file MyGUI_EditText.h.
|
protected |
Definition at line 187 of file MyGUI_EditText.h.
|
protected |
Definition at line 180 of file MyGUI_EditText.h.
|
protected |
Definition at line 175 of file MyGUI_EditText.h.
|
protected |
Definition at line 161 of file MyGUI_EditText.h.
|
protected |
Definition at line 153 of file MyGUI_EditText.h.
|
protected |
Definition at line 184 of file MyGUI_EditText.h.
|
protected |
Definition at line 170 of file MyGUI_EditText.h.
|
protected |
Definition at line 158 of file MyGUI_EditText.h.
|
protected |
Definition at line 157 of file MyGUI_EditText.h.
|
protected |
Definition at line 166 of file MyGUI_EditText.h.
|
protected |
Definition at line 189 of file MyGUI_EditText.h.
|
protected |
Definition at line 163 of file MyGUI_EditText.h.
|
protected |
Definition at line 177 of file MyGUI_EditText.h.
|
protected |
Definition at line 173 of file MyGUI_EditText.h.
|
protected |
Definition at line 185 of file MyGUI_EditText.h.