MyGUI
3.0.1
|
#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 () |
void | setTextColour (const Colour &_value) |
const Colour & | getTextColour () |
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 void | setViewOffset (const IntPoint &_point) |
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) |
![]() | |
virtual | ~ISubWidgetText () |
IntPoint | getCursorPoint (size_t _position) |
IntRect | getCursorRect (size_t _position) |
![]() | |
virtual | ~ISubWidget () |
![]() | |
ICroppedRectangle () | |
virtual | ~ICroppedRectangle () |
ICroppedRectangle * | getCroppedParent () |
virtual void | setCoord (const IntCoord &_value) |
const IntCoord & | getCoord () const |
virtual void | setPosition (const IntPoint &_value) |
IntPoint | getPosition () const |
virtual void | setSize (const IntSize &_value) |
IntSize | getSize () const |
bool | isVisible () const |
const IntPoint & | getAbsolutePosition () 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 () |
![]() | |
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 () |
Protected Attributes | |
bool | mEmptyView |
uint32 | mCurrentColour |
uint32 | mInverseColour |
uint32 | mCurrentAlpha |
IntCoord | mCurrentCoord |
UString | mCaption |
bool | mTextOutDate |
Align | mTextAlign |
Colour | mColour |
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 |
IntPoint | mViewOffset |
ILayerNode * | mNode |
RenderItem * | mRenderItem |
size_t | mCountVertex |
bool | mIsAddCursorWidth |
bool | mShiftText |
bool | mWordWrap |
int | mOldWidth |
TextView | mTextView |
Additional Inherited Members | |
![]() | |
bool | _checkPoint (int _left, int _top) |
bool | _checkMargin () |
bool | _checkOutside () |
Definition at line 40 of file MyGUI_EditText.h.
typedef RTTIBase MyGUI::EditText::Base |
Definition at line 42 of file MyGUI_EditText.h.
typedef EditText MyGUI::EditText::RTTIBase |
Definition at line 42 of file MyGUI_EditText.h.
MyGUI::EditText::EditText | ( | ) |
Definition at line 100 of file MyGUI_EditText.cpp.
|
virtual |
Definition at line 136 of file MyGUI_EditText.cpp.
|
virtual |
Reimplemented from MyGUI::ICroppedRectangle.
Definition at line 148 of file MyGUI_EditText.cpp.
|
virtual |
Reimplemented from MyGUI::ICroppedRectangle.
Definition at line 158 of file MyGUI_EditText.cpp.
|
virtual |
Reimplemented from MyGUI::ICroppedRectangle.
Definition at line 153 of file MyGUI_EditText.cpp.
|
virtual |
Reimplemented from MyGUI::ICroppedRectangle.
Definition at line 224 of file MyGUI_EditText.cpp.
|
virtual |
Implements MyGUI::ISubWidget.
Definition at line 367 of file MyGUI_EditText.cpp.
|
virtual |
Implements MyGUI::ISubWidget.
Definition at line 380 of file MyGUI_EditText.cpp.
|
virtual |
Implements MyGUI::ISubWidget.
Reimplemented in MyGUI::SimpleText.
Definition at line 542 of file MyGUI_EditText.cpp.
float MyGUI::EditText::getAlpha | ( | ) |
Definition at line 311 of file MyGUI_EditText.cpp.
|
virtual |
Reimplemented from MyGUI::ISubWidgetText.
Definition at line 276 of file MyGUI_EditText.cpp.
|
inlinestatic |
Reimplemented from MyGUI::ISubWidgetText.
Reimplemented in MyGUI::SimpleText.
Definition at line 42 of file MyGUI_EditText.h.
|
virtual |
Reimplemented from MyGUI::ISubWidgetText.
Definition at line 490 of file MyGUI_EditText.cpp.
|
virtual |
Reimplemented from MyGUI::ISubWidgetText.
Definition at line 431 of file MyGUI_EditText.cpp.
|
virtual |
Reimplemented from MyGUI::ISubWidgetText.
Definition at line 477 of file MyGUI_EditText.cpp.
|
virtual |
Reimplemented from MyGUI::ISubWidgetText.
Definition at line 362 of file MyGUI_EditText.cpp.
|
virtual |
Reimplemented from MyGUI::ISubWidgetText.
Definition at line 350 of file MyGUI_EditText.cpp.
|
inlinevirtual |
Get invert selected text color property
Reimplemented from MyGUI::ISubWidgetText.
Definition at line 88 of file MyGUI_EditText.h.
|
virtual |
Reimplemented from MyGUI::ISubWidgetText.
Definition at line 407 of file MyGUI_EditText.cpp.
|
virtual |
Reimplemented from MyGUI::ISubWidgetText.
Definition at line 449 of file MyGUI_EditText.cpp.
|
virtual |
Reimplemented from MyGUI::ISubWidgetText.
Definition at line 295 of file MyGUI_EditText.cpp.
|
virtual |
Get index of end of selection
Reimplemented from MyGUI::ISubWidgetText.
Definition at line 395 of file MyGUI_EditText.cpp.
|
virtual |
Get index of start of selection
Reimplemented from MyGUI::ISubWidgetText.
Definition at line 390 of file MyGUI_EditText.cpp.
|
virtual |
Reimplemented from MyGUI::ISubWidgetText.
Definition at line 454 of file MyGUI_EditText.cpp.
|
inlinevirtual |
Get type name as string
Reimplemented from MyGUI::ISubWidgetText.
Reimplemented in MyGUI::SimpleText.
Definition at line 42 of file MyGUI_EditText.h.
|
virtual |
Reimplemented from MyGUI::ISubWidgetText.
Definition at line 472 of file MyGUI_EditText.cpp.
|
inline |
Compare with selected type
Reimplemented from MyGUI::ISubWidgetText.
Reimplemented in MyGUI::SimpleText.
Definition at line 42 of file MyGUI_EditText.h.
|
inlinevirtual |
Compare with selected type
Reimplemented from MyGUI::ISubWidgetText.
Reimplemented in MyGUI::SimpleText.
Definition at line 42 of file MyGUI_EditText.h.
|
virtual |
Reimplemented from MyGUI::ISubWidgetText.
Definition at line 419 of file MyGUI_EditText.cpp.
|
virtual |
Reimplemented from MyGUI::ISubWidget.
Definition at line 300 of file MyGUI_EditText.cpp.
|
virtual |
Reimplemented from MyGUI::ISubWidgetText.
Definition at line 261 of file MyGUI_EditText.cpp.
|
virtual |
Reimplemented from MyGUI::ISubWidgetText.
Definition at line 436 of file MyGUI_EditText.cpp.
|
virtual |
Reimplemented from MyGUI::ISubWidgetText.
Definition at line 355 of file MyGUI_EditText.cpp.
|
virtual |
Reimplemented from MyGUI::ISubWidgetText.
Definition at line 316 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 827 of file MyGUI_EditText.cpp.
|
virtual |
Reimplemented from MyGUI::ISubWidgetText.
Definition at line 412 of file MyGUI_EditText.cpp.
|
virtual |
Reimplemented from MyGUI::ISubWidgetText.
Definition at line 503 of file MyGUI_EditText.cpp.
|
virtual |
Reimplemented from MyGUI::ISubWidget.
Definition at line 535 of file MyGUI_EditText.cpp.
|
virtual |
Reimplemented from MyGUI::ISubWidgetText.
Definition at line 443 of file MyGUI_EditText.cpp.
|
virtual |
Reimplemented from MyGUI::ISubWidgetText.
Definition at line 281 of file MyGUI_EditText.cpp.
|
virtual |
Set text selection
Reimplemented from MyGUI::ISubWidgetText.
Definition at line 400 of file MyGUI_EditText.cpp.
|
virtual |
Reimplemented from MyGUI::ISubWidgetText.
Reimplemented in MyGUI::SimpleText.
Definition at line 466 of file MyGUI_EditText.cpp.
|
virtual |
Hide or show
Reimplemented from MyGUI::ICroppedRectangle.
Definition at line 140 of file MyGUI_EditText.cpp.
|
virtual |
Reimplemented from MyGUI::ISubWidgetText.
Definition at line 424 of file MyGUI_EditText.cpp.
|
virtual |
Reimplemented from MyGUI::ISubWidgetText.
Definition at line 510 of file MyGUI_EditText.cpp.
|
virtual |
Definition at line 517 of file MyGUI_EditText.cpp.
|
protected |
Definition at line 134 of file MyGUI_EditText.h.
|
protected |
Definition at line 141 of file MyGUI_EditText.h.
|
protected |
Definition at line 129 of file MyGUI_EditText.h.
|
protected |
Definition at line 133 of file MyGUI_EditText.h.
|
protected |
Definition at line 152 of file MyGUI_EditText.h.
|
protected |
Definition at line 126 of file MyGUI_EditText.h.
|
protected |
Definition at line 124 of file MyGUI_EditText.h.
|
protected |
Definition at line 127 of file MyGUI_EditText.h.
|
protected |
Definition at line 144 of file MyGUI_EditText.h.
|
protected |
Definition at line 123 of file MyGUI_EditText.h.
|
protected |
Definition at line 143 of file MyGUI_EditText.h.
|
protected |
Definition at line 137 of file MyGUI_EditText.h.
|
protected |
Definition at line 139 of file MyGUI_EditText.h.
|
protected |
Definition at line 125 of file MyGUI_EditText.h.
|
protected |
Definition at line 146 of file MyGUI_EditText.h.
|
protected |
Definition at line 153 of file MyGUI_EditText.h.
|
protected |
Definition at line 150 of file MyGUI_EditText.h.
|
protected |
Definition at line 157 of file MyGUI_EditText.h.
|
protected |
Definition at line 151 of file MyGUI_EditText.h.
|
protected |
Definition at line 155 of file MyGUI_EditText.h.
|
protected |
Definition at line 142 of file MyGUI_EditText.h.
|
protected |
Definition at line 131 of file MyGUI_EditText.h.
|
protected |
Definition at line 130 of file MyGUI_EditText.h.
|
protected |
Definition at line 138 of file MyGUI_EditText.h.
|
protected |
Definition at line 159 of file MyGUI_EditText.h.
|
protected |
Definition at line 135 of file MyGUI_EditText.h.
|
protected |
Definition at line 148 of file MyGUI_EditText.h.
|
protected |
Definition at line 145 of file MyGUI_EditText.h.
|
protected |
Definition at line 156 of file MyGUI_EditText.h.