MyGUI
3.4.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 override |
virtual bool | isType (const std::type_info &_type) const override |
template<typename Type > | |
bool | isType () const |
EditText () | |
void | setVisible (bool _value) override |
virtual void | updateRawData () |
void | doRender () override |
void | setCaption (const UString &_value) override |
const UString & | getCaption () const override |
void | setTextColour (const Colour &_value) override |
const Colour & | getTextColour () const override |
void | setAlpha (float _value) override |
void | setFontName (const std::string &_value) override |
const std::string & | getFontName () const override |
void | setFontHeight (int _value) override |
int | getFontHeight () const override |
void | createDrawItem (ITexture *_texture, ILayerNode *_node) override |
void | destroyDrawItem () override |
void | setTextAlign (Align _value) override |
Align | getTextAlign () const override |
size_t | getTextSelectionStart () const override |
size_t | getTextSelectionEnd () const override |
void | setTextSelection (size_t _start, size_t _end) override |
bool | getSelectBackground () const override |
void | setSelectBackground (bool _normal) override |
bool | isVisibleCursor () const override |
void | setVisibleCursor (bool _value) override |
bool | getInvertSelected () const override |
void | setInvertSelected (bool _value) override |
size_t | getCursorPosition () const override |
void | setCursorPosition (size_t _index) override |
IntSize | getTextSize () override |
void | setViewOffset (const IntPoint &_point) override |
IntPoint | getViewOffset () const override |
size_t | getCursorPosition (const IntPoint &_point) override |
IntCoord | getCursorCoord (size_t _position) override |
bool | getShadow () const override |
void | setShadow (bool _value) override |
void | setShiftText (bool _shift) override |
void | setWordWrap (bool _value) override |
void | setStateData (IStateInfo *_data) override |
void | setShadowColour (const Colour &_value) override |
const Colour & | getShadowColour () const override |
void | _updateView () override |
void | _correctView () override |
void | _setAlign (const IntSize &_oldsize) override |
virtual const VectorLineInfo & | getLineInfo () const |
![]() | |
template<typename Type > | |
bool | isType () const |
IntPoint | getCursorPoint (size_t _position) |
IntRect | getCursorRect (size_t _position) |
![]() | |
template<typename Type > | |
bool | isType () const |
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 ()=default | |
virtual | ~IObject ()=default |
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 | 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 |
![]() | |
Align | mAlign |
bool | mVisible |
![]() | |
IntRect | mMargin |
IntCoord | mCoord |
IntPoint | mAbsolutePosition |
bool | mIsMargin |
ICroppedRectangle * | mCroppedParent |
Additional Inherited Members | |
![]() | |
bool | _checkMargin () |
bool | _checkOutside () const |
Definition at line 25 of file MyGUI_EditText.h.
typedef RTTIBase MyGUI::EditText::Base |
Definition at line 28 of file MyGUI_EditText.h.
typedef EditText MyGUI::EditText::RTTIBase |
Definition at line 28 of file MyGUI_EditText.h.
MyGUI::EditText::EditText | ( | ) |
Definition at line 23 of file MyGUI_EditText.cpp.
|
overridevirtual |
Reimplemented from MyGUI::ISubWidget.
Definition at line 66 of file MyGUI_EditText.cpp.
|
overridevirtual |
Reimplemented from MyGUI::ISubWidget.
Definition at line 72 of file MyGUI_EditText.cpp.
|
overridevirtual |
Reimplemented from MyGUI::ISubWidget.
Definition at line 136 of file MyGUI_EditText.cpp.
|
overridevirtual |
Implements MyGUI::ISubWidget.
Definition at line 304 of file MyGUI_EditText.cpp.
|
overridevirtual |
Implements MyGUI::ISubWidget.
Definition at line 317 of file MyGUI_EditText.cpp.
|
overridevirtual |
Implements MyGUI::ISubWidget.
Reimplemented in MyGUI::SimpleText.
Definition at line 521 of file MyGUI_EditText.cpp.
|
overridevirtual |
Reimplemented from MyGUI::ISubWidgetText.
Definition at line 203 of file MyGUI_EditText.cpp.
|
inlinestatic |
Definition at line 28 of file MyGUI_EditText.h.
|
overridevirtual |
Reimplemented from MyGUI::ISubWidgetText.
Definition at line 459 of file MyGUI_EditText.cpp.
|
overridevirtual |
Reimplemented from MyGUI::ISubWidgetText.
Definition at line 376 of file MyGUI_EditText.cpp.
|
overridevirtual |
Reimplemented from MyGUI::ISubWidgetText.
Definition at line 443 of file MyGUI_EditText.cpp.
|
overridevirtual |
Reimplemented from MyGUI::ISubWidgetText.
Definition at line 299 of file MyGUI_EditText.cpp.
|
overridevirtual |
Reimplemented from MyGUI::ISubWidgetText.
Definition at line 285 of file MyGUI_EditText.cpp.
|
overridevirtual |
Get invert selected text color property.
Reimplemented from MyGUI::ISubWidgetText.
Definition at line 629 of file MyGUI_EditText.cpp.
|
virtual |
Definition at line 425 of file MyGUI_EditText.cpp.
|
overridevirtual |
Reimplemented from MyGUI::ISubWidgetText.
Definition at line 346 of file MyGUI_EditText.cpp.
|
overridevirtual |
Reimplemented from MyGUI::ISubWidgetText.
Definition at line 634 of file MyGUI_EditText.cpp.
|
overridevirtual |
Reimplemented from MyGUI::ISubWidgetText.
Definition at line 663 of file MyGUI_EditText.cpp.
|
overridevirtual |
Reimplemented from MyGUI::ISubWidgetText.
Definition at line 399 of file MyGUI_EditText.cpp.
|
overridevirtual |
Reimplemented from MyGUI::ISubWidgetText.
Definition at line 231 of file MyGUI_EditText.cpp.
|
overridevirtual |
Get index of end of selection
Reimplemented from MyGUI::ISubWidgetText.
Definition at line 332 of file MyGUI_EditText.cpp.
|
overridevirtual |
Get index of start of selection
Reimplemented from MyGUI::ISubWidgetText.
Definition at line 327 of file MyGUI_EditText.cpp.
|
overridevirtual |
Reimplemented from MyGUI::ISubWidgetText.
Definition at line 404 of file MyGUI_EditText.cpp.
|
inlineoverridevirtual |
Get type name as string
Reimplemented from MyGUI::ISubWidgetText.
Reimplemented in MyGUI::SimpleText.
Definition at line 28 of file MyGUI_EditText.h.
|
overridevirtual |
Reimplemented from MyGUI::ISubWidgetText.
Definition at line 438 of file MyGUI_EditText.cpp.
|
inline |
Compare with selected type
Definition at line 28 of file MyGUI_EditText.h.
|
inlineoverridevirtual |
Compare with selected type
Reimplemented from MyGUI::ISubWidgetText.
Reimplemented in MyGUI::SimpleText.
Definition at line 28 of file MyGUI_EditText.h.
|
overridevirtual |
Reimplemented from MyGUI::ISubWidgetText.
Definition at line 361 of file MyGUI_EditText.cpp.
|
overridevirtual |
Reimplemented from MyGUI::ISubWidget.
Definition at line 236 of file MyGUI_EditText.cpp.
|
overridevirtual |
Reimplemented from MyGUI::ISubWidgetText.
Definition at line 175 of file MyGUI_EditText.cpp.
|
overridevirtual |
Reimplemented from MyGUI::ISubWidgetText.
Definition at line 381 of file MyGUI_EditText.cpp.
|
overridevirtual |
Reimplemented from MyGUI::ISubWidgetText.
Definition at line 290 of file MyGUI_EditText.cpp.
|
overridevirtual |
Reimplemented from MyGUI::ISubWidgetText.
Definition at line 250 of file MyGUI_EditText.cpp.
|
overridevirtual |
Enable or disable inverting color of selected text.
Enabled (true) by default.
Reimplemented from MyGUI::ISubWidgetText.
Definition at line 619 of file MyGUI_EditText.cpp.
|
overridevirtual |
Reimplemented from MyGUI::ISubWidgetText.
Definition at line 351 of file MyGUI_EditText.cpp.
|
overridevirtual |
Reimplemented from MyGUI::ISubWidgetText.
Definition at line 639 of file MyGUI_EditText.cpp.
|
overridevirtual |
Reimplemented from MyGUI::ISubWidgetText.
Definition at line 650 of file MyGUI_EditText.cpp.
|
overridevirtual |
Reimplemented from MyGUI::ISubWidgetText.
Definition at line 475 of file MyGUI_EditText.cpp.
|
overridevirtual |
Reimplemented from MyGUI::ISubWidget.
Definition at line 513 of file MyGUI_EditText.cpp.
|
overridevirtual |
Reimplemented from MyGUI::ISubWidgetText.
Definition at line 391 of file MyGUI_EditText.cpp.
|
overridevirtual |
Reimplemented from MyGUI::ISubWidgetText.
Definition at line 208 of file MyGUI_EditText.cpp.
|
overridevirtual |
Set text selection
Reimplemented from MyGUI::ISubWidgetText.
Definition at line 337 of file MyGUI_EditText.cpp.
|
overridevirtual |
Reimplemented from MyGUI::ISubWidgetText.
Reimplemented in MyGUI::SimpleText.
Definition at line 430 of file MyGUI_EditText.cpp.
|
overridevirtual |
Reimplemented from MyGUI::ISubWidget.
Definition at line 56 of file MyGUI_EditText.cpp.
|
overridevirtual |
Reimplemented from MyGUI::ISubWidgetText.
Definition at line 366 of file MyGUI_EditText.cpp.
|
overridevirtual |
Reimplemented from MyGUI::ISubWidgetText.
Definition at line 485 of file MyGUI_EditText.cpp.
|
virtual |
Definition at line 494 of file MyGUI_EditText.cpp.
|
protected |
Definition at line 147 of file MyGUI_EditText.h.
|
protected |
Definition at line 154 of file MyGUI_EditText.h.
|
protected |
Definition at line 141 of file MyGUI_EditText.h.
|
protected |
Definition at line 145 of file MyGUI_EditText.h.
|
protected |
Definition at line 166 of file MyGUI_EditText.h.
|
protected |
Definition at line 136 of file MyGUI_EditText.h.
|
protected |
Definition at line 139 of file MyGUI_EditText.h.
|
protected |
Definition at line 157 of file MyGUI_EditText.h.
|
protected |
Definition at line 135 of file MyGUI_EditText.h.
|
protected |
Definition at line 156 of file MyGUI_EditText.h.
|
protected |
Definition at line 150 of file MyGUI_EditText.h.
|
protected |
Definition at line 152 of file MyGUI_EditText.h.
|
protected |
Definition at line 137 of file MyGUI_EditText.h.
|
protected |
Definition at line 159 of file MyGUI_EditText.h.
|
protected |
Definition at line 167 of file MyGUI_EditText.h.
|
protected |
Definition at line 171 of file MyGUI_EditText.h.
|
protected |
Definition at line 164 of file MyGUI_EditText.h.
|
protected |
Definition at line 172 of file MyGUI_EditText.h.
|
protected |
Definition at line 165 of file MyGUI_EditText.h.
|
protected |
Definition at line 160 of file MyGUI_EditText.h.
|
protected |
Definition at line 146 of file MyGUI_EditText.h.
|
protected |
Definition at line 138 of file MyGUI_EditText.h.
|
protected |
Definition at line 169 of file MyGUI_EditText.h.
|
protected |
Definition at line 155 of file MyGUI_EditText.h.
|
protected |
Definition at line 143 of file MyGUI_EditText.h.
|
protected |
Definition at line 142 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 148 of file MyGUI_EditText.h.
|
protected |
Definition at line 162 of file MyGUI_EditText.h.
|
protected |
Definition at line 158 of file MyGUI_EditText.h.
|
protected |
Definition at line 170 of file MyGUI_EditText.h.