7#ifndef MYGUI_I_SUB_WIDGET_TEXT_H_
8#define MYGUI_I_SUB_WIDGET_TEXT_H_
97 const IntCoord& coord = getCursorCoord(_position);
104 const IntCoord& coord = getCursorCoord(_position);
#define MYGUI_RTTI_DERIVED(DerivedType)
static const std::string & getEmptyString()
static const UString & getEmptyUString()
virtual void setTextAlign(Align _value)
virtual bool getShadow() const
virtual bool getInvertSelected() const
virtual void setViewOffset(const IntPoint &_point)
virtual IntPoint getViewOffset() const
virtual size_t getCursorPosition(const IntPoint &_point) const
virtual const Colour & getTextColour() const
virtual const UString & getCaption() const
virtual void setCursorPosition(size_t _index)
virtual void setShadowColour(const Colour &_value)
IntRect getCursorRect(size_t _position) const
IntPoint getCursorPoint(size_t _position) const
virtual void setInvertSelected(bool _value)
virtual const std::string & getFontName() const
virtual IntSize getTextSize() const
virtual void setShadow(bool _value)
virtual size_t getCursorPosition() const
virtual int getFontHeight() const
virtual void setFontHeight(int _value)
virtual IntCoord getCursorCoord(size_t _position) const
virtual void setShiftText(bool _value)
virtual void setSelectBackground(bool _normal)
virtual void setTextColour(const Colour &_value)
virtual void setVisibleCursor(bool _value)
virtual size_t getTextSelectionStart() const
virtual Align getTextAlign() const
virtual const Colour & getShadowColour() const
virtual void setFontName(const std::string &_value)
virtual size_t getTextSelectionEnd() const
virtual bool getSelectBackground() const
virtual void setWordWrap(bool _value)
virtual void setTextSelection(size_t _start, size_t _end)
virtual void setCaption(const UString &_value)
virtual bool isVisibleCursor() const
A UTF-16 string with implicit conversion to/from std::string and std::wstring.
types::TCoord< int > IntCoord
types::TSize< int > IntSize
types::TPoint< int > IntPoint
types::TRect< int > IntRect