MyGUI: MyGUI_EditBox.h Source File

MyGUI 3.4.3

MyGUI_EditBox.h
Go to the documentation of this file.
1/*
2 * This source file is part of MyGUI. For the latest info, see http://mygui.info/
3 * Distributed under the MIT License
4 * (See accompanying file COPYING.MIT or copy at http://opensource.org/licenses/MIT)
5 */
6
7#ifndef MYGUI_EDIT_BOX_H_
8#define MYGUI_EDIT_BOX_H_
9
10#include "MyGUI_Prerequest.h"
11#include "MyGUI_TextBox.h"
12#include "MyGUI_TextChangeHistory.h"
13#include "MyGUI_TextIterator.h"
14#include "MyGUI_EventPair.h"
15#include "MyGUI_ScrollViewBase.h"
16
17namespace MyGUI
18{
19
20 using EventHandle_EditPtr = delegates::MultiDelegate<EditBox*>;
21
25 class MYGUI_EXPORT EditBox : public TextBox, public ScrollViewBase, public MemberObsolete<EditBox>
26 {
27 MYGUI_RTTI_DERIVED(EditBox)
28
29 public:
30 EditBox();
31
33 void setTextIntervalColour(size_t _start, size_t _count, const Colour& _colour);
34
36 size_t getTextSelectionStart() const;
37
39 size_t getTextSelectionEnd() const;
40
42 size_t getTextSelectionLength() const;
43
44 // возвращает текст с тегами
46 UString getTextInterval(size_t _start, size_t _count) const;
47
52 void setTextSelection(size_t _start, size_t _end);
53
55 void deleteTextSelection();
56
58 UString getTextSelection() const;
59
61 bool isTextSelection() const;
62
64 void setTextSelectionColour(const Colour& _colour);
65
67 void setTextCursor(size_t _index);
69 size_t getTextCursor() const;
70
71
73 void setCaption(const UString& _value) override;
75 const UString& getCaption() const override;
76
78 void setOnlyText(const UString& _text);
80 UString getOnlyText() const;
81
86 size_t getTextLength() const;
87
89 void setOverflowToTheLeft(bool _value);
91 bool getOverflowToTheLeft() const;
92
94 void setMaxTextLength(size_t _value);
96 size_t getMaxTextLength() const;
97
99 void insertText(const UString& _text, size_t _index = ITEM_NONE);
101 void addText(const UString& _text);
103 void eraseText(size_t _start, size_t _count = 1);
104
109 void setEditReadOnly(bool _value);
111 bool getEditReadOnly() const;
112
117 void setEditPassword(bool _password);
119 bool getEditPassword() const;
120
126 void setEditMultiLine(bool _value);
128 bool getEditMultiLine() const;
129
134 void setEditStatic(bool _value);
136 bool getEditStatic() const;
137
139 void setPasswordChar(Char _char);
141 void setPasswordChar(const UString& _value);
143 Char getPasswordChar() const;
144
150 void setEditWordWrap(bool _value);
152 bool getEditWordWrap() const;
153
159 void setTabPrinting(bool _value);
161 bool getTabPrinting() const;
162
164 bool getInvertSelected() const;
168 void setInvertSelected(bool _value);
169
171 void setPosition(const IntPoint& _point) override;
173 void setSize(const IntSize& _size) override;
175 void setCoord(const IntCoord& _coord) override;
176
177 using Widget::setPosition;
178 using Widget::setSize;
179 using Widget::setCoord;
180
182 void setVisibleVScroll(bool _value);
184 bool isVisibleVScroll() const;
191 size_t getVScrollRange() const;
193 size_t getVScrollPosition() const;
195 void setVScrollPosition(size_t _index);
196
198 void setVisibleHScroll(bool _value);
200 bool isVisibleHScroll() const;
206 size_t getHScrollRange() const;
208 size_t getHScrollPosition() const;
210 void setHScrollPosition(size_t _index);
211
212
214 void setFontName(std::string_view _value) override;
216 void setFontHeight(int _value) override;
218 int getFontHeight() const override;
219
221 void setTextAlign(Align _value) override;
223 void setTextColour(const Colour& _value) override;
224
226 IntCoord getTextRegion() const override;
227
229 IntSize getTextSize() const override;
230
232 void setTextShadowColour(const Colour& _value) override;
233
235 void setTextShadow(bool _value) override;
236
237 /*events:*/
242 EventPair<EventHandle_WidgetVoid, EventHandle_EditPtr> eventEditSelectAccept;
243
248 EventPair<EventHandle_WidgetVoid, EventHandle_EditPtr> eventEditTextChange;
249
250 protected:
251 void initialiseOverride() override;
252 void shutdownOverride() override;
253
254 void onMouseDrag(int _left, int _top, MouseButton _id) override;
255 void onKeyLostFocus(Widget* _new) override;
256 void onKeySetFocus(Widget* _old) override;
257 void onKeyButtonPressed(KeyCode _key, Char _char) override;
258
259 // потом убрать все нотифи в сраку
260 void notifyMouseSetFocus(Widget* _sender, Widget* _old);
261 void notifyMouseLostFocus(Widget* _sender, Widget* _new);
262 void notifyMousePressed(Widget* _sender, int _left, int _top, MouseButton _id);
263 void notifyMouseReleased(Widget* _sender, int _left, int _top, MouseButton _id);
264 void notifyMouseDrag(Widget* _sender, int _left, int _top, MouseButton _id);
265 void notifyMouseButtonDoubleClick(Widget* _sender);
266
267 void notifyScrollChangePosition(ScrollBar* _sender, size_t _position);
268 void notifyMouseWheel(Widget* _sender, int _rel);
269
270 // обновление представления
271 void updateView();
272 void updateViewWithCursor();
273
274 void eraseView();
275
276 void setPropertyOverride(std::string_view _key, std::string_view _value) override;
277
278 private:
279 // устанавливает текст
280 void setText(const UString& _caption, bool _history);
281 // удаляет все что выделенно
282 bool deleteTextSelect(bool _history);
283 // вставляет текст в указанную позицию
284 void insertText(const UString& _text, size_t _start, bool _history);
285 // удаляет текст
286 void eraseText(size_t _start, size_t _count, bool _history);
287 // выделяет цветом выделение
288 void setTextSelectColour(const Colour& _colour, bool _history);
289 // выделяет цветом диапазон
290 void _setTextColour(size_t _start, size_t _count, const Colour& _colour, bool _history);
291
292 void frameEntered(float _frame);
293
294 void updateEditState();
295
296 // обновляет курсор по координате
297 void updateSelectText();
298
299 void resetSelect();
300
301 // запись в историю данных о позиции
302 void commandPosition(size_t _undo, size_t _redo, size_t _length, VectorChangeInfo* _info = nullptr);
303
304 // команнды отмена и повтор
305 bool commandRedo();
306 bool commandUndo();
307 // объединяет последние две комманды
308 void commandMerge();
309 // очистка
310 void commandResetRedo();
311 void commandResetHistory();
312 void saveInHistory(VectorChangeInfo* _info = nullptr);
313
314 // clipboard commands
315 void commandCut();
316 void commandCopy() const;
317 void commandPaste();
318
319 const UString& getRealString() const;
320
321 void setRealString(const UString& _caption);
322
323 void updateCursorPosition();
324
325 // размер данных
326 IntSize getContentSize() const override;
327 // смещение данных
328 IntPoint getContentPosition() const override;
329 void setContentPosition(const IntPoint& _point) override;
330 // размер окна, через которые видно данные
331 IntSize getViewSize() const override;
332 // размер на который прокручиваются данные при щелчке по скролу
333 size_t getVScrollPage() const override;
334 size_t getHScrollPage() const override;
335
336 Align getContentAlign() const override;
337
338 protected:
339 // нажата ли кнопка
340 bool mIsPressed{false};
341 // в фокусе ли кнопка
342 bool mIsFocus{false};
343
344 bool mCursorActive{false};
345 float mCursorTimer{0};
346 float mActionMouseTimer{0};
347
348 // позиция курсора
349 size_t mCursorPosition{0};
350 // максимальное колличество
351 size_t mTextLength{0};
352
353 // выделение
354 size_t mStartSelect{ITEM_NONE};
355 size_t mEndSelect{0};
356
357 // списоки изменений для отмены и повтора
358 DequeUndoRedoInfo mVectorUndoChangeInfo;
359 DequeUndoRedoInfo mVectorRedoChangeInfo;
360
361 bool mMouseLeftPressed{false};
362
363 bool mModeReadOnly{false};
364 bool mModePassword{false};
365 bool mModeMultiline{false};
366 bool mModeStatic{false};
367 bool mModeWordWrap{false};
368
369 bool mTabPrinting{false};
370
371 // настоящий текст, закрытый за звездочками
372 UString mPasswordText;
373
374 // для поддержки режима статик, где курсор не нужен
375 std::string mOriginalPointer;
376
377 Char mCharPassword{'*'};
378
379 bool mOverflowToTheLeft{false};
380 size_t mMaxTextLength;
381
382 ISubWidgetText* mClientText{nullptr};
383 };
384
385} // namespace MyGUI
386
387#endif // MYGUI_EDIT_BOX_H_
MyGUI_EventPair.h
MYGUI_EXPORT
#define MYGUI_EXPORT
Definition MyGUI_Platform.h:77
MyGUI_Prerequest.h
MYGUI_RTTI_DERIVED
#define MYGUI_RTTI_DERIVED(DerivedType)
Definition MyGUI_RTTI.h:69
MyGUI_ScrollViewBase.h
MyGUI_TextBox.h
MyGUI_TextChangeHistory.h
MyGUI_TextIterator.h
MyGUI::EditBox::mVectorUndoChangeInfo
DequeUndoRedoInfo mVectorUndoChangeInfo
Definition MyGUI_EditBox.h:358
MyGUI::EditBox::setFontHeight
void setFontHeight(int _value) override
Definition MyGUI_EditBox.cpp:1794
MyGUI::EditBox::insertText
void insertText(const UString &_text, size_t _index=ITEM_NONE)
Definition MyGUI_EditBox.cpp:1989
MyGUI::EditBox::deleteTextSelection
void deleteTextSelection()
Definition MyGUI_EditBox.cpp:1964
MyGUI::EditBox::getTextLength
size_t getTextLength() const
Definition MyGUI_EditBox.cpp:2199
MyGUI::EditBox::setMaxTextLength
void setMaxTextLength(size_t _value)
Sets the max amount of text allowed in the edit field.
Definition MyGUI_EditBox.cpp:2214
MyGUI::EditBox::getVScrollRange
size_t getVScrollRange() const
Definition MyGUI_EditBox.cpp:2060
MyGUI::EditBox::getVScrollPosition
size_t getVScrollPosition() const
Definition MyGUI_EditBox.cpp:2065
MyGUI::EditBox::getTextRegion
IntCoord getTextRegion() const override
Definition MyGUI_EditBox.cpp:1697
MyGUI::EditBox::setSize
void setSize(const IntSize &_size) override
Definition MyGUI_EditBox.cpp:1624
MyGUI::EditBox::setTextShadow
void setTextShadow(bool _value) override
Definition MyGUI_EditBox.cpp:2293
MyGUI::EditBox::mTabPrinting
bool mTabPrinting
Definition MyGUI_EditBox.h:369
MyGUI::EditBox::mClientText
ISubWidgetText * mClientText
Definition MyGUI_EditBox.h:382
MyGUI::EditBox::notifyMouseSetFocus
void notifyMouseSetFocus(Widget *_sender, Widget *_old)
Definition MyGUI_EditBox.cpp:131
MyGUI::EditBox::mModeMultiline
bool mModeMultiline
Definition MyGUI_EditBox.h:365
MyGUI::EditBox::getCaption
const UString & getCaption() const override
Definition MyGUI_EditBox.cpp:1643
MyGUI::EditBox::isVisibleVScroll
bool isVisibleVScroll() const
Definition MyGUI_EditBox.cpp:2264
MyGUI::EditBox::mOverflowToTheLeft
bool mOverflowToTheLeft
Definition MyGUI_EditBox.h:379
MyGUI::EditBox::mMaxTextLength
size_t mMaxTextLength
Definition MyGUI_EditBox.h:380
MyGUI::EditBox::getFontHeight
int getFontHeight() const override
Definition MyGUI_EditBox.cpp:1804
MyGUI::EditBox::setTextSelection
void setTextSelection(size_t _start, size_t _end)
Definition MyGUI_EditBox.cpp:928
MyGUI::EditBox::getEditStatic
bool getEditStatic() const
Definition MyGUI_EditBox.cpp:2239
MyGUI::EditBox::eraseText
void eraseText(size_t _start, size_t _count=1)
Definition MyGUI_EditBox.cpp:1999
MyGUI::EditBox::notifyMouseDrag
void notifyMouseDrag(Widget *_sender, int _left, int _top, MouseButton _id)
Definition MyGUI_EditBox.cpp:175
MyGUI::EditBox::updateView
void updateView()
Definition MyGUI_EditBox.cpp:1809
MyGUI::EditBox::setEditStatic
void setEditStatic(bool _value)
Definition MyGUI_EditBox.cpp:2028
MyGUI::EditBox::mPasswordText
UString mPasswordText
Definition MyGUI_EditBox.h:372
MyGUI::EditBox::getTextSelectionStart
size_t getTextSelectionStart() const
Definition MyGUI_EditBox.cpp:1949
MyGUI::EditBox::setEditMultiLine
void setEditMultiLine(bool _value)
Definition MyGUI_EditBox.cpp:2011
MyGUI::EditBox::shutdownOverride
void shutdownOverride() override
Definition MyGUI_EditBox.cpp:121
MyGUI::EditBox::eventEditTextChange
EventPair< EventHandle_WidgetVoid, EventHandle_EditPtr > eventEditTextChange
Definition MyGUI_EditBox.h:248
MyGUI::EditBox::setPropertyOverride
void setPropertyOverride(std::string_view _key, std::string_view _value) override
Definition MyGUI_EditBox.cpp:2125
MyGUI::EditBox::mMouseLeftPressed
bool mMouseLeftPressed
Definition MyGUI_EditBox.h:361
MyGUI::EditBox::notifyMouseReleased
void notifyMouseReleased(Widget *_sender, int _left, int _top, MouseButton _id)
Definition MyGUI_EditBox.cpp:169
MyGUI::EditBox::getTextCursor
size_t getTextCursor() const
Definition MyGUI_EditBox.cpp:2194
MyGUI::EditBox::getEditPassword
bool getEditPassword() const
Definition MyGUI_EditBox.cpp:2229
MyGUI::EditBox::mCursorTimer
float mCursorTimer
Definition MyGUI_EditBox.h:345
MyGUI::EditBox::setTabPrinting
void setTabPrinting(bool _value)
Definition MyGUI_EditBox.cpp:2254
MyGUI::EditBox::mIsFocus
bool mIsFocus
Definition MyGUI_EditBox.h:342
MyGUI::EditBox::getPasswordChar
Char getPasswordChar() const
Definition MyGUI_EditBox.cpp:2244
MyGUI::EditBox::getEditMultiLine
bool getEditMultiLine() const
Definition MyGUI_EditBox.cpp:2234
MyGUI::EditBox::onMouseDrag
void onMouseDrag(int _left, int _top, MouseButton _id) override
Definition MyGUI_EditBox.cpp:253
MyGUI::EditBox::mCharPassword
Char mCharPassword
Definition MyGUI_EditBox.h:377
MyGUI::EditBox::getTextSize
IntSize getTextSize() const override
Definition MyGUI_EditBox.cpp:1704
MyGUI::EditBox::setPasswordChar
void setPasswordChar(Char _char)
Definition MyGUI_EditBox.cpp:1574
MyGUI::EditBox::isVisibleHScroll
bool isVisibleHScroll() const
Definition MyGUI_EditBox.cpp:2269
MyGUI::EditBox::setEditWordWrap
void setEditWordWrap(bool _value)
Definition MyGUI_EditBox.cpp:1775
MyGUI::EditBox::mVectorRedoChangeInfo
DequeUndoRedoInfo mVectorRedoChangeInfo
Definition MyGUI_EditBox.h:359
MyGUI::EditBox::getHScrollRange
size_t getHScrollRange() const
Definition MyGUI_EditBox.cpp:2087
MyGUI::EditBox::onKeyButtonPressed
void onKeyButtonPressed(KeyCode _key, Char _char) override
Definition MyGUI_EditBox.cpp:389
MyGUI::EditBox::updateViewWithCursor
void updateViewWithCursor()
Definition MyGUI_EditBox.cpp:1815
MyGUI::EditBox::setTextColour
void setTextColour(const Colour &_value) override
Definition MyGUI_EditBox.cpp:1689
MyGUI::EditBox::setVisibleVScroll
void setVisibleVScroll(bool _value)
Definition MyGUI_EditBox.cpp:2048
MyGUI::EditBox::setHScrollPosition
void setHScrollPosition(size_t _index)
Definition MyGUI_EditBox.cpp:2097
MyGUI::EditBox::setTextShadowColour
void setTextShadowColour(const Colour &_value) override
Definition MyGUI_EditBox.cpp:2285
MyGUI::EditBox::mOriginalPointer
std::string mOriginalPointer
Definition MyGUI_EditBox.h:375
MyGUI::EditBox::notifyMouseLostFocus
void notifyMouseLostFocus(Widget *_sender, Widget *_new)
Definition MyGUI_EditBox.cpp:140
MyGUI::EditBox::setTextSelectionColour
void setTextSelectionColour(const Colour &_colour)
Definition MyGUI_EditBox.cpp:1969
MyGUI::EditBox::onKeyLostFocus
void onKeyLostFocus(Widget *_new) override
Definition MyGUI_EditBox.cpp:283
MyGUI::EditBox::setCaption
void setCaption(const UString &_value) override
Definition MyGUI_EditBox.cpp:1638
MyGUI::EditBox::mEndSelect
size_t mEndSelect
Definition MyGUI_EditBox.h:355
MyGUI::EditBox::notifyMouseButtonDoubleClick
void notifyMouseButtonDoubleClick(Widget *_sender)
Definition MyGUI_EditBox.cpp:215
MyGUI::EditBox::setVisibleHScroll
void setVisibleHScroll(bool _value)
Definition MyGUI_EditBox.cpp:2054
MyGUI::EditBox::EditBox
EditBox()
Definition MyGUI_EditBox.cpp:63
MyGUI::EditBox::getEditReadOnly
bool getEditReadOnly() const
Definition MyGUI_EditBox.cpp:2224
MyGUI::EditBox::notifyScrollChangePosition
void notifyScrollChangePosition(ScrollBar *_sender, size_t _position)
Definition MyGUI_EditBox.cpp:1711
MyGUI::EditBox::eraseView
void eraseView()
Definition MyGUI_EditBox.cpp:1612
MyGUI::EditBox::setPosition
void setPosition(const IntPoint &_point) override
Definition MyGUI_EditBox.cpp:1607
MyGUI::EditBox::getTextSelectionLength
size_t getTextSelectionLength() const
Definition MyGUI_EditBox.cpp:1974
MyGUI::EditBox::mTextLength
size_t mTextLength
Definition MyGUI_EditBox.h:351
MyGUI::EditBox::getTextInterval
UString getTextInterval(size_t _start, size_t _count) const
Definition MyGUI_EditBox.cpp:1102
MyGUI::EditBox::getTextSelection
UString getTextSelection() const
Definition MyGUI_EditBox.cpp:1232
MyGUI::EditBox::isTextSelection
bool isTextSelection() const
Definition MyGUI_EditBox.cpp:1959
MyGUI::EditBox::setOverflowToTheLeft
void setOverflowToTheLeft(bool _value)
Sets if surplus characters should push characters off the left side rather than ignored.
Definition MyGUI_EditBox.cpp:2204
MyGUI::EditBox::mStartSelect
size_t mStartSelect
Definition MyGUI_EditBox.h:354
MyGUI::EditBox::getEditWordWrap
bool getEditWordWrap() const
Definition MyGUI_EditBox.cpp:2249
MyGUI::EditBox::setCoord
void setCoord(const IntCoord &_coord) override
Definition MyGUI_EditBox.cpp:1631
MyGUI::EditBox::getHScrollPosition
size_t getHScrollPosition() const
Definition MyGUI_EditBox.cpp:2092
MyGUI::EditBox::addText
void addText(const UString &_text)
Definition MyGUI_EditBox.cpp:1994
MyGUI::EditBox::setOnlyText
void setOnlyText(const UString &_text)
Definition MyGUI_EditBox.cpp:1979
MyGUI::EditBox::getTextSelectionEnd
size_t getTextSelectionEnd() const
Definition MyGUI_EditBox.cpp:1954
MyGUI::EditBox::mIsPressed
bool mIsPressed
Definition MyGUI_EditBox.h:340
MyGUI::EditBox::setInvertSelected
void setInvertSelected(bool _value)
Definition MyGUI_EditBox.cpp:2119
MyGUI::EditBox::setVScrollPosition
void setVScrollPosition(size_t _index)
Definition MyGUI_EditBox.cpp:2070
MyGUI::EditBox::getTabPrinting
bool getTabPrinting() const
Definition MyGUI_EditBox.cpp:2259
MyGUI::EditBox::getOnlyText
UString getOnlyText() const
Definition MyGUI_EditBox.cpp:1984
MyGUI::EditBox::notifyMouseWheel
void notifyMouseWheel(Widget *_sender, int _rel)
Definition MyGUI_EditBox.cpp:1730
MyGUI::EditBox::mActionMouseTimer
float mActionMouseTimer
Definition MyGUI_EditBox.h:346
MyGUI::EditBox::getInvertSelected
bool getInvertSelected() const
Definition MyGUI_EditBox.cpp:2114
MyGUI::EditBox::mModeWordWrap
bool mModeWordWrap
Definition MyGUI_EditBox.h:367
MyGUI::EditBox::mModePassword
bool mModePassword
Definition MyGUI_EditBox.h:364
MyGUI::EditBox::eventEditSelectAccept
EventPair< EventHandle_WidgetVoid, EventHandle_EditPtr > eventEditSelectAccept
Definition MyGUI_EditBox.h:242
MyGUI::EditBox::mModeStatic
bool mModeStatic
Definition MyGUI_EditBox.h:366
MyGUI::EditBox::setTextAlign
void setTextAlign(Align _value) override
Definition MyGUI_EditBox.cpp:1678
MyGUI::EditBox::mModeReadOnly
bool mModeReadOnly
Definition MyGUI_EditBox.h:363
MyGUI::EditBox::getOverflowToTheLeft
bool getOverflowToTheLeft() const
Returns true if surplus characters will be pushed off the left rather than ignored.
Definition MyGUI_EditBox.cpp:2209
MyGUI::EditBox::mCursorActive
bool mCursorActive
Definition MyGUI_EditBox.h:344
MyGUI::EditBox::setTextIntervalColour
void setTextIntervalColour(size_t _start, size_t _count, const Colour &_colour)
Definition MyGUI_EditBox.cpp:1944
MyGUI::EditBox::getMaxTextLength
size_t getMaxTextLength() const
Gets the max amount of text allowed in the edit field.
Definition MyGUI_EditBox.cpp:2219
MyGUI::EditBox::setEditReadOnly
void setEditReadOnly(bool _value)
Definition MyGUI_EditBox.cpp:2004
MyGUI::EditBox::setFontName
void setFontName(std::string_view _value) override
Definition MyGUI_EditBox.cpp:1784
MyGUI::EditBox::mCursorPosition
size_t mCursorPosition
Definition MyGUI_EditBox.h:349
MyGUI::EditBox::onKeySetFocus
void onKeySetFocus(Widget *_old) override
Definition MyGUI_EditBox.cpp:260
MyGUI::EditBox::setEditPassword
void setEditPassword(bool _password)
Definition MyGUI_EditBox.cpp:1241
MyGUI::EditBox::notifyMousePressed
void notifyMousePressed(Widget *_sender, int _left, int _top, MouseButton _id)
Definition MyGUI_EditBox.cpp:149
MyGUI::EditBox::initialiseOverride
void initialiseOverride() override
Definition MyGUI_EditBox.cpp:69
MyGUI::EditBox::setTextCursor
void setTextCursor(size_t _index)
Definition MyGUI_EditBox.cpp:907
MyGUI::EventPair
Definition MyGUI_EventPair.h:99
MyGUI::ISubWidgetText
Definition MyGUI_ISubWidgetText.h:19
MyGUI::MemberObsolete
Definition MyGUI_DeprecatedTypes.h:14
MyGUI::ScrollBar
widget description should be here.
Definition MyGUI_ScrollBar.h:24
MyGUI::ScrollViewBase
Definition MyGUI_ScrollViewBase.h:17
MyGUI::TextBox
widget description should be here.
Definition MyGUI_TextBox.h:20
MyGUI::UString
A UTF-16 string with implicit conversion to/from std::string and std::wstring.
Definition MyGUI_UString.h:144
MyGUI::Widget
widget description should be here.
Definition MyGUI_Widget.h:40
MyGUI::Widget::setSize
void setSize(const IntSize &_size) override
Definition MyGUI_Widget.cpp:693
MyGUI::Widget::setPosition
void setPosition(const IntPoint &_point) override
Definition MyGUI_Widget.cpp:676
MyGUI::Widget::setCoord
void setCoord(const IntCoord &_coord) override
Definition MyGUI_Widget.cpp:730
MyGUI::delegates::MultiDelegate
Definition MyGUI_Delegate.h:190
MyGUI
Definition MyGUI_ActionController.h:15
MyGUI::IntPoint
types::TPoint< int > IntPoint
Definition MyGUI_Types.h:27
MyGUI::VectorChangeInfo
std::vector< TextCommandInfo > VectorChangeInfo
Definition MyGUI_TextChangeHistory.h:58
MyGUI::Char
unsigned int Char
Definition MyGUI_Types.h:50
MyGUI::ITEM_NONE
constexpr size_t ITEM_NONE
Definition MyGUI_Macros.h:19
MyGUI::IntCoord
types::TCoord< int > IntCoord
Definition MyGUI_Types.h:36
MyGUI::IntSize
types::TSize< int > IntSize
Definition MyGUI_Types.h:30
MyGUI::DequeUndoRedoInfo
std::deque< VectorChangeInfo > DequeUndoRedoInfo
Definition MyGUI_TextChangeHistory.h:59
MyGUI::EventHandle_EditPtr
delegates::MultiDelegate< EditBox * > EventHandle_EditPtr
Definition MyGUI_EditBox.h:20
MyGUI::Align
Definition MyGUI_Align.h:20
MyGUI::Colour
Definition MyGUI_Colour.h:17
MyGUI::KeyCode
Definition MyGUI_KeyCode.h:16
MyGUI::MouseButton
Definition MyGUI_MouseButton.h:16