32 void setVisible(
bool _visible)
override;
35 void updateRawData()
const;
38 void doRender()
override;
40 void setCaption(
const UString& _value)
override;
41 const UString& getCaption()
const override;
43 void setTextColour(
const Colour& _value)
override;
44 const Colour& getTextColour()
const override;
46 void setAlpha(
float _value)
override;
48 void setFontName(std::string_view _value)
override;
49 std::string_view getFontName()
const override;
51 void setFontHeight(
int _value)
override;
52 int getFontHeight()
const override;
55 void destroyDrawItem()
override;
57 void setTextAlign(
Align _value)
override;
58 Align getTextAlign()
const override;
60 size_t getTextSelectionStart()
const override;
61 size_t getTextSelectionEnd()
const override;
62 void setTextSelection(
size_t _start,
size_t _end)
override;
64 bool getSelectBackground()
const override;
65 void setSelectBackground(
bool _normal)
override;
67 bool isVisibleCursor()
const override;
68 void setVisibleCursor(
bool _value)
override;
71 bool getInvertSelected()
const override;
75 void setInvertSelected(
bool _value)
override;
77 size_t getCursorPosition()
const override;
78 void setCursorPosition(
size_t _index)
override;
80 IntSize getTextSize()
const override;
83 void setViewOffset(
const IntPoint& _point)
override;
84 IntPoint getViewOffset()
const override;
87 size_t getCursorPosition(
const IntPoint& _point)
const override;
90 IntCoord getCursorCoord(
size_t _position)
const override;
92 bool getShadow()
const override;
93 void setShadow(
bool _value)
override;
95 void setShiftText(
bool _value)
override;
97 void setWordWrap(
bool _value)
override;
101 void setShadowColour(
const Colour& _value)
override;
102 const Colour& getShadowColour()
const override;
105 void _updateView()
override;
106 void _correctView()
override;
108 void _setAlign(
const IntSize& _oldsize)
override;
113 void _setTextColour(
const Colour& _value);
114 void checkVertexSize();
115 unsigned int getMixedNativeAlpha(
float secondAlpha)
const;
119 size_t& _vertexCount,
128 size_t& _vertexCount,
134 bool mEmptyView{
false};
142 mutable bool mTextOutDate{
false};
153 int mCustomFontHeight = 0;
155 bool mBackgroundNormal{
true};
156 size_t mStartSelect{0};
157 size_t mEndSelect{0};
158 size_t mCursorPosition{0};
159 bool mVisibleCursor{
false};
160 bool mInvertSelect{
true};
168 bool mIsAddCursorWidth{
true};
170 bool mShiftText{
false};
171 bool mWordWrap{
false};
172 bool mManualColour{
false};
VertexColourType mVertexFormat
UString::utf32string mUtf32Caption