MyGUI: MyGUI_BackwardCompatibility.h Source File

MyGUI 3.4.3

MyGUI_BackwardCompatibility.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_BACKWARD_COMPATIBILITY_H_
8#define MYGUI_BACKWARD_COMPATIBILITY_H_
9
10#include "MyGUI_Prerequest.h"
11#include "MyGUI_Colour.h"
12#include "MyGUI_ResourceSkin.h"
13#include "MyGUI_Any.h"
14#include "MyGUI_MouseButton.h"
15#include "MyGUI_KeyCode.h"
16#include "MyGUI_Macros.h"
17#include "MyGUI_WidgetDefines.h"
18#include "MyGUI_IResource.h"
19#include <map>
20#include <set>
21
22namespace MyGUI
23{
24
25#ifndef MYGUI_DONT_USE_OBSOLETE
26
27 template<>
28 class MYGUI_EXPORT MemberObsolete<Button>
29 {
30 public:
31 MYGUI_OBSOLETE(" is deprecated, use : void Button::setStateSelected(bool _value)")
32 void setButtonPressed(bool _value);
33 MYGUI_OBSOLETE(" is deprecated, use : bool Button::getStateSelected()")
34 bool getButtonPressed() const;
35 MYGUI_OBSOLETE(" is deprecated, use : void Button::setStateSelected(bool _value)")
36 void setStateCheck(bool _value);
37 MYGUI_OBSOLETE(" is deprecated, use : bool Button::getStateSelected()")
38 bool getStateCheck() const;
39 MYGUI_OBSOLETE(" is deprecated")
40 ImageBox* getStaticImage() const;
41 MYGUI_OBSOLETE(" is deprecated, use : void Button::setImageName(std::string_view _name)")
42 void setImageIndex(size_t _index);
43 MYGUI_OBSOLETE(" is deprecated")
44 size_t getImageIndex() const;
45 };
46
47 template<>
48 class MYGUI_EXPORT MemberObsolete<ImageBox>
49 {
50 public:
51 MYGUI_OBSOLETE(
52 " is deprecated, use : void ImageBox::addItemFrameDuplicate(size_t _index, size_t _indexSourceFrame)")
53 void addItemFrameDublicate(size_t _index, size_t _indexSourceFrame);
54 MYGUI_OBSOLETE(" is deprecated, use : void ImageBox::insertItemFrameDuplicate(size_t _index, size_t "
55 "_indexFrame, size_t _indexSourceFrame)")
56 void insertItemFrameDublicate(size_t _index, size_t _indexFrame, size_t _indexSourceFrame);
57 };
58
59 template<>
60 class MYGUI_EXPORT MemberObsolete<ComboBox>
61 {
62 public:
63 MYGUI_OBSOLETE(" is deprecated, use : size_t ComboBox::getIndexSelected()")
64 size_t getItemIndexSelected() const;
65 MYGUI_OBSOLETE(" is deprecated, use : void ComboBox::setIndexSelected(size_t _index)")
66 void setItemSelectedAt(size_t _index);
67 MYGUI_OBSOLETE(" is deprecated, use : void ComboBox::clearIndexSelected()")
68 void clearItemSelected();
69
70 MYGUI_OBSOLETE(" is deprecated, use : void ComboBox::insertItemAt(size_t _index, const UString& _name)")
71 void insertItem(size_t _index, const UString& _name);
72 MYGUI_OBSOLETE(" is deprecated, use : void ComboBox::setItemNameAt(size_t _index, const UString& _name)")
73 void setItem(size_t _index, const UString& _item);
74 MYGUI_OBSOLETE(" is deprecated, use : const UString& ComboBox::getItemNameAt(size_t _index)")
75 const UString& getItem(size_t _index) const;
76 MYGUI_OBSOLETE(" is deprecated, use : void ComboBox::removeItemAt(size_t _index)")
77 void deleteItem(size_t _index);
78 MYGUI_OBSOLETE(" is deprecated, use : void ComboBox::removeAllItems()")
79 void deleteAllItems();
80 MYGUI_OBSOLETE(" is deprecated, use : size_t ComboBox::getIndexSelected()")
81 size_t getItemSelect() const;
82 MYGUI_OBSOLETE(" is deprecated, use : void void ComboBox::clearIndexSelected()")
83 void resetItemSelect();
84 MYGUI_OBSOLETE(" is deprecated, use : void ComboBox::setIndexSelected(size_t _index)")
85 void setItemSelect(size_t _index);
86
87 MYGUI_OBSOLETE(" is deprecated, use : void ComboBox::setMaxListLength(int _value)")
88 void setMaxListHeight(int _value);
89 MYGUI_OBSOLETE(" is deprecated, use : int ComboBox::getMaxListLength()")
90 int getMaxListHeight() const;
91 };
92
93 template<>
94 class MYGUI_EXPORT MemberObsolete<EditBox>
95 {
96 public:
97 MYGUI_OBSOLETE(" is deprecated, use : void EditBox::setVisibleVScroll(bool _visible)")
98 void showVScroll(bool _visible);
99 MYGUI_OBSOLETE(" is deprecated, use : bool EditBox::isVisibleVScroll()")
100 bool isShowVScroll();
101 MYGUI_OBSOLETE(" is deprecated, use : void EditBox::setVisibleHScroll(bool _visible)")
102 void showHScroll(bool _visible);
103 MYGUI_OBSOLETE(" is deprecated, use : bool EditBox::isVisibleHScroll()")
104 bool isShowHScroll();
105
106 MYGUI_OBSOLETE(" is deprecated, use : void EditBox::setTextIntervalColour(size_t _start, size_t _count, const "
107 "Colour& _colour)")
108 void setTextColour(size_t _start, size_t _count, const Colour& _colour);
109 MYGUI_OBSOLETE(" is deprecated, use : size_t EditBox::getTextSelectionStart() , size_t getTextSelectionEnd()")
110 void getTextSelect(size_t& _start, size_t& _end) const;
111 MYGUI_OBSOLETE(" is deprecated, use : UString EditBox::getTextInterval(size_t _start, size_t _count)")
112 UString getText(size_t _start, size_t _count) const;
113 MYGUI_OBSOLETE(" is deprecated, use : void EditBox::setTextSelection(size_t _start, size_t _end)")
114 void setTextSelect(size_t _start, size_t _end);
115 MYGUI_OBSOLETE(" is deprecated, use : void EditBox::deleteTextSelection()")
116 void deleteTextSelect();
117 MYGUI_OBSOLETE(" is deprecated, use : UString EditBox::getTextSelection()")
118 UString getSelectedText() const;
119 MYGUI_OBSOLETE(" is deprecated, use : bool EditBox::isTextSelection()")
120 bool isTextSelect();
121 MYGUI_OBSOLETE(" is deprecated, use : void EditBox::setTextSelectionColour(const Colour& _colour)")
122 void setTextSelectColour(const Colour& _colour);
123 };
124
125 template<>
126 class MYGUI_EXPORT MemberObsolete<ItemBox>
127 {
128 public:
129 MYGUI_OBSOLETE(" is deprecated, use : size_t ItemBox::getItemIndexSelected()")
130 size_t getItemIndexSelected() const;
131 MYGUI_OBSOLETE(" is deprecated, use : void ItemBox::setIndexSelected(size_t _index)")
132 void setItemSelectedAt(size_t _index);
133 MYGUI_OBSOLETE(" is deprecated, use : void ItemBox::clearIndexSelected()")
134 void clearItemSelected();
135
136 MYGUI_OBSOLETE(" is deprecated, use : void ItemBox::insertItemAt(size_t _index, Any _data)")
137 void insertItem(size_t _index, Any _data = Any::Null);
138 MYGUI_OBSOLETE(" is deprecated, use : void ItemBox::setItemDataAt(size_t _index, Any _data)")
139 void setItemData(size_t _index, Any _data);
140 MYGUI_OBSOLETE(" is deprecated, use : void ItemBox::removeItemAt(size_t _index)")
141 void deleteItem(size_t _index);
142 MYGUI_OBSOLETE(" is deprecated, use : void ItemBox::removeAllItems()")
143 void deleteAllItems();
144 MYGUI_OBSOLETE(" is deprecated, use : size_t ItemBox::getIndexSelected()")
145 size_t getItemSelect() const;
146 MYGUI_OBSOLETE(" is deprecated, use : void ItemBox::clearIndexSelected()")
147 void resetItemSelect();
148 MYGUI_OBSOLETE(" is deprecated, use : void ItemBox::setIndexSelected(size_t _index)")
149 void setItemSelect(size_t _index);
150
151 MYGUI_OBSOLETE(" is deprecated, use : Widget* ItemBox::getWidgetDrag()")
152 Widget* getWidgetDrop() const;
153 MYGUI_OBSOLETE(" is deprecated, use : void ItemBox::resetDrag()")
154 void resetDrop();
155
156 MYGUI_OBSOLETE(" is deprecated, use : void ItemBox::setVerticalAlignment(bool _value)")
157 void setItemBoxAlignVert(bool _value);
158 MYGUI_OBSOLETE(" is deprecated, use : bool ItemBox::getVerticalAlignment() const")
159 bool getItemBoxAlignVert() const;
160 };
161
162 template<>
163 class MYGUI_EXPORT MemberObsolete<ListBox>
164 {
165 public:
166 MYGUI_OBSOLETE(" is deprecated, use : size_t ListBox::getIndexSelected()")
167 size_t getItemIndexSelected() const;
168 MYGUI_OBSOLETE(" is deprecated, use : void ListBox::setIndexSelected(size_t _index)")
169 void setItemSelectedAt(size_t _index);
170 MYGUI_OBSOLETE(" is deprecated, use : void ListBox::clearIndexSelected()")
171 void clearItemSelected();
172
173 MYGUI_OBSOLETE(" is deprecated, use : void ListBox::insertItemAt(size_t _index, const UString& _name)")
174 void insertItem(size_t _index, const UString& _item);
175 MYGUI_OBSOLETE(" is deprecated, use : void ListBox::setItemNameAt(size_t _index, const UString& _name)")
176 void setItem(size_t _index, const UString& _item);
177 MYGUI_OBSOLETE(" is deprecated, use : const UString& ListBox::getItemNameAt(size_t _index)")
178 const UString& getItem(size_t _index) const;
179 MYGUI_OBSOLETE(" is deprecated, use : void ListBox::removeItemAt(size_t _index)")
180 void deleteItem(size_t _index);
181 MYGUI_OBSOLETE(" is deprecated, use : void ListBox::removeAllItems()")
182 void deleteAllItems();
183 MYGUI_OBSOLETE(" is deprecated, use : size_t ListBox::findItemIndexWith(const UString& _name)")
184 size_t findItem(const UString& _item);
185 MYGUI_OBSOLETE(" is deprecated, use : size_t ListBox::getIndexSelected()")
186 size_t getItemSelect() const;
187 MYGUI_OBSOLETE(" is deprecated, use : void ListBox::clearIndexSelected()")
188 void resetItemSelect();
189 MYGUI_OBSOLETE(" is deprecated, use : void ListBox::setIndexSelected(size_t _index)")
190 void setItemSelect(size_t _index);
191 MYGUI_OBSOLETE(" is deprecated, use : void ListBox::beginToItemAt(size_t _index)")
192 void beginToIndex(size_t _index);
193 MYGUI_OBSOLETE(" is deprecated, use : void ListBox::beginToItemFirst()")
194 void beginToStart();
195 MYGUI_OBSOLETE(" is deprecated, use : void ListBox::beginToItemLast()")
196 void beginToEnd();
197 MYGUI_OBSOLETE(" is deprecated, use : void ListBox::beginToItemSelected()")
198 void beginToSelect();
199 MYGUI_OBSOLETE(" is deprecated, use : bool ListBox::isItemVisibleAt(size_t _index, bool _fill)")
200 bool isItemVisible(size_t _index, bool _fill = true);
201 MYGUI_OBSOLETE(" is deprecated, use : bool ListBox::isItemSelectedVisible(bool _fill)")
202 bool isItemSelectVisible(bool _fill = true);
203 };
204
205 template<>
206 class MYGUI_EXPORT MemberObsolete<MenuControl>
207 {
208 public:
209 MYGUI_OBSOLETE(" is deprecated, use : void Widget::setVisible(bool _value)")
210 void showMenu();
211 MYGUI_OBSOLETE(" is deprecated, use : void Widget::setVisible(bool _value)")
212 void hideMenu();
213 MYGUI_OBSOLETE(" is deprecated, use : bool Widget::getVisible()")
214 bool isShowMenu();
215
216 MYGUI_OBSOLETE(" is deprecated, use : void setItemChildVisibleAt(size_t _index, bool _visible)")
217 void showItemChildAt(size_t _index);
218 MYGUI_OBSOLETE(" is deprecated, use : void setItemChildVisible(MenuItem* _item, bool _visible)")
219 void showItemChild(MenuItem* _item);
220 MYGUI_OBSOLETE(" is deprecated, use : void setItemChildVisibleAt(size_t _index, bool _visible)")
221 void hideItemChildAt(size_t _index);
222 MYGUI_OBSOLETE(" is deprecated, use : void setItemChildVisible(MenuItem* _item, bool _visible)")
223 void hideItemChild(MenuItem* _item);
224
225 MYGUI_OBSOLETE(" is deprecated, use : void MenuControl::setVerticalAlignment(bool _value)")
226 void setAlignVert(bool _value);
227 MYGUI_OBSOLETE(" is deprecated, use : bool MenuControl::getVerticalAlignment() const")
228 bool getAlignVert() const;
229 };
230
231 template<>
232 class MYGUI_EXPORT MemberObsolete<MenuItem>
233 {
234 public:
235 MYGUI_OBSOLETE(" is deprecated, use : void setItemChildVisible(bool _visible)")
236 void showItemChild();
237 MYGUI_OBSOLETE(" is deprecated, use : void setItemChildVisible(bool _visible)")
238 void hideItemChild();
239 };
240
241 template<>
242 class MYGUI_EXPORT MemberObsolete<MultiListBox>
243 {
244 public:
245 MYGUI_OBSOLETE(" is deprecated, use : size_t MultiListBox::getIndexSelected()")
246 size_t getItemIndexSelected() const;
247 MYGUI_OBSOLETE(" is deprecated, use : void MultiListBox::setIndexSelected(size_t _index)")
248 void setItemSelectedAt(size_t _index);
249 MYGUI_OBSOLETE(" is deprecated, use : void MultiListBox::clearIndexSelected()")
250 void clearItemSelected();
251
252 MYGUI_OBSOLETE(
253 " is deprecated, use : size_t MultiListBox::findSubItemWith(size_t _column, const UString& _name)")
254 size_t findItem(size_t _column, const UString& _name);
255 MYGUI_OBSOLETE(
256 " is deprecated, use : const UString& MultiListBox::getSubItemNameAt(size_t _column, size_t _index)")
257 const UString& getSubItem(size_t _column, size_t _index) const;
258 MYGUI_OBSOLETE(" is deprecated, use : void MultiListBox::setSubItemNameAt(size_t _column, size_t _index, const "
259 "UString& _name)")
260 void setSubItem(size_t _column, size_t _index, const UString& _name);
261 MYGUI_OBSOLETE(" is deprecated, use : void MultiListBox::removeColumnAt(size_t _column)")
262 void deleteColumn(size_t _column);
263 MYGUI_OBSOLETE(" is deprecated, use : void MultiListBox::removeAllColumns()")
264 void deleteAllColumns();
265 MYGUI_OBSOLETE(" is deprecated, use : int MultiListBox::getColumnWidthAt(size_t _column)")
266 int getColumnWidth(size_t _column) const;
267 MYGUI_OBSOLETE(" is deprecated, use : const UString& MultiListBox::getColumnNameAt(size_t _column)")
268 const UString& getColumnName(size_t _column) const;
269 MYGUI_OBSOLETE(" is deprecated, use : void MultiListBox::setColumnWidthAt(size_t _column, int _width)")
270 void setColumnWidth(size_t _column, int _width);
271 MYGUI_OBSOLETE(
272 " is deprecated, use : void MultiListBox::addColumn(const UString& _name, int _width, Any _data)")
273 void addColumn(int _width, const UString& _name);
274 MYGUI_OBSOLETE(" is deprecated, use : void MultiListBox::setColumnNameAt(size_t _column, const UString& _name)")
275 void setColumnName(size_t _column, const UString& _name);
276 MYGUI_OBSOLETE(" is deprecated, use : void MultiListBox::insertColumnAt(size_t _column, const UString& _name, "
277 "int _width, Any _data)")
278 void insertColumn(size_t _column, int _width, const UString& _name);
279 MYGUI_OBSOLETE(" is deprecated, use : size_t MultiListBox::getIndexSelected()")
280 size_t getItemSelect() const;
281 MYGUI_OBSOLETE(" is deprecated, use : void MultiListBox::clearIndexSelected()")
282 void resetItemSelect();
283 MYGUI_OBSOLETE(" is deprecated, use : void MultiListBox::setIndexSelected(size_t _index)")
284 void setItemSelect(size_t _index);
285 MYGUI_OBSOLETE(
286 " is deprecated, use : void MultiListBox::insertItemAt(size_t _index, const UString& _name, Any _data)")
287 void insertItem(size_t _index, const UString& _name);
288 MYGUI_OBSOLETE(" is deprecated, use : void MultiListBox::setItemNameAt(size_t _index, const UString& _name)")
289 void setItem(size_t _index, const UString& _name);
290 MYGUI_OBSOLETE(" is deprecated, use : const UString& MultiListBox::getItemNameAt(size_t _index)")
291 const UString& getItem(size_t _index) const;
292 MYGUI_OBSOLETE(" is deprecated, use : void MultiListBox::removeItemAt(size_t _index)")
293 void deleteItem(size_t _index);
294 MYGUI_OBSOLETE(" is deprecated, use : void MultiListBox::removeAllItems()")
295 void deleteAllItems();
296 };
297
298 template<>
299 class MYGUI_EXPORT MemberObsolete<ProgressBar>
300 {
301 public:
302 MYGUI_OBSOLETE(" is deprecated, use : void ProgressBar::setFlowDirection(FlowDirection _value)")
303 void setProgressStartPoint(Align _value);
304 MYGUI_OBSOLETE(" is deprecated, use : FlowDirection ProgressBar::getFlowDirection()")
305 Align getProgressStartPoint() const;
306 };
307
308 template<>
309 class MYGUI_EXPORT MemberObsolete<ScrollView>
310 {
311 public:
312 MYGUI_OBSOLETE(" is deprecated, use : void ScrollView::setVisibleVScroll(bool _visible)")
313 void showVScroll(bool _visible);
314 MYGUI_OBSOLETE(" is deprecated, use : bool ScrollView::isVisibleVScroll()")
315 bool isShowVScroll();
316 MYGUI_OBSOLETE(" is deprecated, use : void ScrollView::setVisibleHScroll(bool _visible)")
317 void showHScroll(bool _visible);
318 MYGUI_OBSOLETE(" is deprecated, use : bool ScrollView::isVisibleHScroll()")
319 bool isShowHScroll();
320 };
321
322 // MYGUI_OBSOLETE(" is deprecated, use : TabControl::DEFAULT_WIDTH")
323 constexpr int DEFAULT = -1; // actually TabControl::DEFAULT_WIDTH
324 template<>
325 class MYGUI_EXPORT MemberObsolete<TabControl>
326 {
327 public:
328 MYGUI_OBSOLETE(" is deprecated, use : int TabControl::getButtonWidthAt(size_t _index)")
329 int getSheetButtonWidthIndex(size_t _index) const;
330 MYGUI_OBSOLETE(" is deprecated, use : int TabControl::getButtonWidth(TabItem* _item)")
331 int getSheetButtonWidth(TabItem* _sheet) const;
332 MYGUI_OBSOLETE(" is deprecated, use : void TabControl::setButtonWidthAt(size_t _index, int _width)")
333 void setSheetButtonWidthIndex(size_t _index, int _width = DEFAULT);
334 MYGUI_OBSOLETE(" is deprecated, use : void TabControl::setButtonWidth(TabItem* _item, int _width)")
335 void setSheetButtonWidth(TabItem* _sheet, int _width = DEFAULT);
336 MYGUI_OBSOLETE(" is deprecated, use : void TabControl::beginToItemAt(size_t _index)")
337 void showBarButton(size_t _index);
338 MYGUI_OBSOLETE(" is deprecated, use : void TabControl::beginToItemSelected()")
339 void showBarSelectButton();
340 MYGUI_OBSOLETE(" is deprecated, use : size_t TabControl::getItemCount()")
341 size_t getSheetCount() const;
342 MYGUI_OBSOLETE(" is deprecated, use : const UString& TabControl::getItemName(TabItem* _item)")
343 const UString& getSheetName(TabItem* _sheet) const;
344 MYGUI_OBSOLETE(" is deprecated, use : const UString& TabControl::getItemNameAt(size_t _index)")
345 const UString& getSheetNameIndex(size_t _index) const;
346 MYGUI_OBSOLETE(" is deprecated, use : TabItem* TabControl::getItemAt(size_t _index)")
347 TabItem* getSheet(size_t _index) const;
348 MYGUI_OBSOLETE(" is deprecated, use : void TabControl::setItemNameAt(size_t _index, const UString& _name)")
349 void setSheetNameIndex(size_t _index, const UString& _name, int _width = DEFAULT);
350 MYGUI_OBSOLETE(" is deprecated, use : void TabControl::setItemName(TabItem* _item, const UString& _name)")
351 void setSheetName(TabItem* _sheet, const UString& _name, int _width = DEFAULT);
352 MYGUI_OBSOLETE(" is deprecated, use : TabItem* TabControl::addItem(const UString& _name, Any _data)")
353 TabItem* addSheet(const UString& _name, int _width = DEFAULT);
354 MYGUI_OBSOLETE(
355 " is deprecated, use : TabItem* TabControl::insertItemAt(size_t _index, const UString& _name, Any _data)")
356 TabItem* insertSheet(size_t _index, const UString& _name, int _width = DEFAULT);
357 MYGUI_OBSOLETE(" is deprecated, use : void TabControl::removeItemAt(size_t _index)")
358 void removeSheetIndex(size_t _index);
359 MYGUI_OBSOLETE(" is deprecated, use : void TabControl::removeItem(TabItem* _item)")
360 void removeSheet(TabItem* _sheet);
361 MYGUI_OBSOLETE(" is deprecated, use : void TabControl::setIndexSelected(size_t _index)")
362 void selectSheetIndex(size_t _index, bool _smooth = true);
363 MYGUI_OBSOLETE(" is deprecated, use : void TabControl::setItemSelected(TabItem* _item)")
364 void selectSheet(TabItem* _sheet, bool _smooth = true);
365 MYGUI_OBSOLETE(" is deprecated, use : size_t TabControl::getIndexSelected()")
366 size_t getSelectSheetIndex() const;
367
368 MYGUI_OBSOLETE(" is deprecated, use : size_t Widget::getIndexSelected()")
369 size_t getItemIndexSelected() const;
370 MYGUI_OBSOLETE(" is deprecated, use : void Widget::setIndexSelected(size_t _index)")
371 void setItemSelectedAt(size_t _index);
372 };
373
374 template<>
375 class MYGUI_EXPORT MemberObsolete<Widget>
376 {
377 public:
378 MYGUI_OBSOLETE(" is deprecated, use : bool Widget::getEnabled() const")
379 bool isEnabled();
380 MYGUI_OBSOLETE(" is deprecated, use : bool Widget::getInheritsAlpha() const")
381 bool isInheritsAlpha();
382 MYGUI_OBSOLETE(" is deprecated, use : bool Widget::getNeedKeyFocus() const")
383 bool isNeedKeyFocus();
384 MYGUI_OBSOLETE(" is deprecated, use : bool Widget::getNeedMouseFocus() const")
385 bool isNeedMouseFocus();
386 MYGUI_OBSOLETE(" is deprecated, use : bool Widget::getInheritsPick() const")
387 bool isInheritsPick();
388 MYGUI_OBSOLETE(" is deprecated, use : bool Widget::getVisible() const")
389 bool isVisible();
390 };
391
392 template<>
393 class MYGUI_EXPORT MemberObsolete<Window>
394 {
395 public:
396 MYGUI_OBSOLETE(" is deprecated, use : void Widget::setCoord(const IntCoord& _coord)")
397 void setPosition(const IntCoord& _coord);
398 MYGUI_OBSOLETE(" is deprecated, use : void Widget::setCoord(int _left, int _top, int _width, int _height)")
399 void setPosition(int _left, int _top, int _width, int _height);
400
401 MYGUI_OBSOLETE(" is deprecated, use : void setVisibleSmooth(bool _visible)")
402 void showSmooth(bool _reset = false);
403 MYGUI_OBSOLETE(" is deprecated, use : void setVisibleSmooth(bool _visible)")
404 void hideSmooth();
405 MYGUI_OBSOLETE(
406 " is deprecated, use : void setMinSize(const IntSize& _min) , void setMaxSize(const IntSize& _min)")
407 void setMinMax(const IntRect& _minmax);
408 MYGUI_OBSOLETE(
409 " is deprecated, use : void setMinSize(const IntSize& _min) , void setMaxSize(const IntSize& _min)")
410 void setMinMax(int _min_w, int _min_h, int _max_w, int _max_h);
411 MYGUI_OBSOLETE(" is deprecated, use : IntSize getMinSize() , IntSize getMaxSize()")
412 IntRect getMinMax() const;
413 };
414
415 template<>
416 class MYGUI_EXPORT MemberObsolete<FontManager>
417 {
418 public:
419 MYGUI_OBSOLETE(" is deprecated, use : bool ResourceManager::load(const std::string& _file)")
420 bool load(const std::string& _file);
421 void loadOldFontFormat(xml::ElementPtr _node, std::string_view _file, Version _version, std::string_view _tag);
422 };
423
424 template<>
425 class MYGUI_EXPORT MemberObsolete<Gui>
426 {
427 public:
428 MYGUI_OBSOLETE(" is deprecated, use : void Gui::destroyWidgets(VectorWidgetPtr &_widgets)")
429 void destroyWidgetsVector(VectorWidgetPtr& _widgets);
430
431 MYGUI_OBSOLETE(" is deprecated, use : void Gui::setVisiblePointer(bool _value)")
432 void hidePointer();
433 MYGUI_OBSOLETE(" is deprecated, use : void Gui::setVisiblePointer(bool _value)")
434 void showPointer();
435 MYGUI_OBSOLETE(" is deprecated, use : bool Gui::isVisiblePointer()")
436 bool isShowPointer();
437 MYGUI_OBSOLETE("called be renderer, do not call it manually")
438 void injectFrameEntered(float /*_time*/)
439 {
440 }
441
442 MYGUI_OBSOLETE(" is deprecated, use : void Gui::getViewSize().width")
443 int getViewWidth() const;
444 MYGUI_OBSOLETE(" is deprecated, use : void Gui::getViewSize().height")
445 int getViewHeight() const;
446
447 MYGUI_OBSOLETE(" is deprecated, use : bool InputManager::injectMouseMove(int _absx, int _absy, int _absz)")
448 bool injectMouseMove(int _absx, int _absy, int _absz);
449 MYGUI_OBSOLETE(
450 " is deprecated, use : bool InputManager::injectMousePress(int _absx, int _absy, MouseButton _id)")
451 bool injectMousePress(int _absx, int _absy, MouseButton _id);
452 MYGUI_OBSOLETE(
453 " is deprecated, use : bool InputManager::injectMouseRelease(int _absx, int _absy, MouseButton _id)")
454 bool injectMouseRelease(int _absx, int _absy, MouseButton _id);
455 MYGUI_OBSOLETE(" is deprecated, use : bool InputManager::injectKeyPress(KeyCode _key, Char _text = 0)")
456 bool injectKeyPress(KeyCode _key, Char _text = 0);
457 MYGUI_OBSOLETE(" is deprecated, use : bool InputManager::injectKeyRelease(KeyCode _key)")
458 bool injectKeyRelease(KeyCode _key);
459
460 MYGUI_OBSOLETE(" is deprecated, use : void PointerManager::setVisible(_value)")
461 void setVisiblePointer(bool _value);
462 MYGUI_OBSOLETE(" is deprecated, use : bool PointerManager::isVisible()")
463 bool isVisiblePointer();
464
465 MYGUI_OBSOLETE(" is deprecated, use : bool ResourceManager::load(const std::string& _file)")
466 bool load(const std::string& _file);
467
468 MYGUI_OBSOLETE(" is deprecated, use : const IntSize& RenderManager::getViewSize() const")
469 const IntSize& getViewSize() const;
470
471 MYGUI_OBSOLETE(" is deprecated, use : RenderManager::onFrameEvent(float _time)")
472 void _injectFrameEntered(float _time);
473 MYGUI_OBSOLETE(" is deprecated, use : RenderManager::onResizeView(const IntSize& _size)")
474 void _resizeWindow(const IntSize& _size);
475 };
476
477 template<>
478 class MYGUI_EXPORT MemberObsolete<InputManager>
479 {
480 public:
481 MYGUI_OBSOLETE(
482 " is deprecated, use : const IntPoint& getLastPressedPosition(MouseButton _id) with _id MouseButton::Left")
483 const IntPoint& getLastLeftPressed() const;
484 MYGUI_OBSOLETE(
485 " is deprecated, use : const IntPoint& getLastPressedPosition(MouseButton _id) with _id MouseButton::Right")
486 const IntPoint& getLastRightPressed() const;
487 };
488
489 template<>
490 class MYGUI_EXPORT MemberObsolete<LanguageManager>
491 {
492 public:
493 MYGUI_OBSOLETE(" is deprecated, use : bool ResourceManager::load(const std::string& _file)")
494 bool load(const std::string& _file);
495 };
496
497 template<>
498 class MYGUI_EXPORT MemberObsolete<LayerManager>
499 {
500 public:
501 MYGUI_OBSOLETE(" is deprecated, use : bool ResourceManager::load(const std::string& _file)")
502 bool load(const std::string& _file);
503 };
504
505 template<>
506 class MYGUI_EXPORT MemberObsolete<LayoutManager>
507 {
508 public:
509 MYGUI_OBSOLETE(" is deprecated, use : VectorWidgetPtr& LayoutManager::loadLayout(std::string_view _file, "
510 "std::string_view _prefix, Widget* _parent)")
511 VectorWidgetPtr load(std::string_view _file);
512 };
513
514 template<>
515 class MYGUI_EXPORT MemberObsolete<PluginManager>
516 {
517 public:
518 MYGUI_OBSOLETE(" is deprecated, use : bool ResourceManager::load(const std::string& _file)")
519 bool load(const std::string& _file);
520 };
521
522 template<>
523 class MYGUI_EXPORT MemberObsolete<PointerManager>
524 {
525 public:
526 MYGUI_OBSOLETE(" is deprecated, use : void PointerManager::setDefaultPointer(std::string_view _value)")
527 void setDeafultPointer(std::string_view _value);
528 MYGUI_OBSOLETE(" is deprecated, use : void PointerManager::setVisible(bool _visible)")
529 void show();
530 MYGUI_OBSOLETE(" is deprecated, use : void PointerManager::setVisible(bool _visible)")
531 void hide();
532 MYGUI_OBSOLETE(" is deprecated, use : bool PointerManager::isVisible()")
533 bool isShow();
534 MYGUI_OBSOLETE(" is deprecated, use : bool ResourceManager::load(const std::string& _file)")
535 bool load(const std::string& _file);
536
537 void loadOldPointerFormat(
538 xml::ElementPtr _node,
539 std::string_view _file,
540 Version _version,
541 std::string_view _tag);
542 };
543
544 template<>
545 class MYGUI_EXPORT MemberObsolete<ResourceManager>
546 {
547 public:
548 MYGUI_OBSOLETE(" is deprecated, use : size_t ResourceManager::getCount()")
549 size_t getResourceCount() const;
550 MYGUI_OBSOLETE(
551 " is deprecated, use : IResourcePtr ResourceManager::getByName(std::string_view _name, bool _throw)")
552 IResourcePtr getResource(std::string_view _name, bool _throw = true) const;
553 };
554
555 template<>
556 class MYGUI_EXPORT MemberObsolete<SkinManager>
557 {
558 public:
559 MYGUI_OBSOLETE(" is deprecated, use : ResourceSkin* SkinManager::getByName(std::string_view _name)")
560 ResourceSkin* getSkin(std::string_view _name) const;
561 MYGUI_OBSOLETE(" is deprecated, use : bool ResourceManager::load(const std::string& _file)")
562 bool load(const std::string& _file);
563
564 void loadOldSkinFormat(xml::ElementPtr _node, std::string_view _file, Version _version, std::string_view _tag);
565 };
566
567 template<>
568 class MYGUI_EXPORT MemberObsolete<WidgetManager>
569 {
570 public:
571 MYGUI_OBSOLETE(" is deprecated, use : void WidgetManager::destroyWidgets(VectorWidgetPtr &_widgets)")
572 void destroyWidgetsVector(VectorWidgetPtr& _widgets);
573 MYGUI_OBSOLETE(" is deprecated")
574 Widget* findWidgetT(std::string_view _name, bool _throw = true);
575 MYGUI_OBSOLETE(" is deprecated")
576 Widget* findWidgetT(std::string_view _name, std::string_view _prefix, bool _throw = true);
577 MYGUI_OBSOLETE(" is deprecated, use : void Widget::setProperty(std::string_view_key, std::string_view_value)")
578 void parse(Widget* _widget, std::string_view _key, std::string_view _value);
579 };
580
581#endif // MYGUI_DONT_USE_OBSOLETE
582
583 class MYGUI_EXPORT BackwardCompatibility
584 {
585 public:
586 static bool checkProperty(Widget* _owner, std::string& _key, std::string& _value);
587 static void initialise();
588 static void shutdown();
589 static bool isIgnoreProperty(std::string_view _key);
590 static std::string_view getPropertyRename(std::string_view _propertyName);
591 static std::string_view getFactoryRename(std::string_view _categoryName, std::string_view _factoryName);
592 static std::string_view getSkinRename(std::string_view _skinName);
593 static void registerWidgetTypes();
594 };
595
596} // namespace MyGUI
597
598#endif // MYGUI_BACKWARD_COMPATIBILITY_H_
MyGUI_Any.h
MyGUI_Colour.h
MYGUI_OBSOLETE
#define MYGUI_OBSOLETE(text)
Definition MyGUI_Diagnostic.h:68
MyGUI_IResource.h
MyGUI_KeyCode.h
MyGUI_Macros.h
MyGUI_MouseButton.h
MYGUI_EXPORT
#define MYGUI_EXPORT
Definition MyGUI_Platform.h:77
MyGUI_Prerequest.h
MyGUI_ResourceSkin.h
MyGUI_WidgetDefines.h
MyGUI::Any
Definition MyGUI_Any.h:56
MyGUI::Any::Null
static const Any Null
Definition MyGUI_Any.h:58
MyGUI::BackwardCompatibility
Definition MyGUI_BackwardCompatibility.h:584
MyGUI::BackwardCompatibility::initialise
static void initialise()
Definition MyGUI_BackwardCompatibility.cpp:1201
MyGUI::BackwardCompatibility::getSkinRename
static std::string_view getSkinRename(std::string_view _skinName)
Definition MyGUI_BackwardCompatibility.cpp:1417
MyGUI::BackwardCompatibility::registerWidgetTypes
static void registerWidgetTypes()
Definition MyGUI_BackwardCompatibility.cpp:1440
MyGUI::BackwardCompatibility::isIgnoreProperty
static bool isIgnoreProperty(std::string_view _key)
Definition MyGUI_BackwardCompatibility.cpp:1086
MyGUI::BackwardCompatibility::getPropertyRename
static std::string_view getPropertyRename(std::string_view _propertyName)
Definition MyGUI_BackwardCompatibility.cpp:1310
MyGUI::BackwardCompatibility::checkProperty
static bool checkProperty(Widget *_owner, std::string &_key, std::string &_value)
Definition MyGUI_BackwardCompatibility.cpp:1095
MyGUI::BackwardCompatibility::getFactoryRename
static std::string_view getFactoryRename(std::string_view _categoryName, std::string_view _factoryName)
Definition MyGUI_BackwardCompatibility.cpp:1320
MyGUI::BackwardCompatibility::shutdown
static void shutdown()
Definition MyGUI_BackwardCompatibility.cpp:1433
MyGUI::Button
widget description should be here.
Definition MyGUI_Button.h:20
MyGUI::ComboBox
widget description should be here.
Definition MyGUI_ComboBox.h:29
MyGUI::EditBox
widget description should be here.
Definition MyGUI_EditBox.h:26
MyGUI::FontManager
Definition MyGUI_FontManager.h:22
MyGUI::Gui
Definition MyGUI_Gui.h:24
MyGUI::ImageBox
widget description should be here.
Definition MyGUI_ImageBox.h:22
MyGUI::InputManager
Definition MyGUI_InputManager.h:27
MyGUI::ItemBox
widget description should be here.
Definition MyGUI_ItemBox.h:31
MyGUI::LanguageManager
Definition MyGUI_LanguageManager.h:21
MyGUI::LayerManager
Definition MyGUI_LayerManager.h:23
MyGUI::LayoutManager
Definition MyGUI_LayoutManager.h:27
MyGUI::ListBox
widget description should be here.
Definition MyGUI_ListBox.h:28
MyGUI::MemberObsolete< Button >::getImageIndex
size_t getImageIndex() const
Definition MyGUI_BackwardCompatibility.cpp:68
MyGUI::MemberObsolete< Button >::setButtonPressed
void setButtonPressed(bool _value)
Definition MyGUI_BackwardCompatibility.cpp:43
MyGUI::MemberObsolete< Button >::getButtonPressed
bool getButtonPressed() const
Definition MyGUI_BackwardCompatibility.cpp:47
MyGUI::MemberObsolete< Button >::setStateCheck
void setStateCheck(bool _value)
Definition MyGUI_BackwardCompatibility.cpp:51
MyGUI::MemberObsolete< Button >::setImageIndex
void setImageIndex(size_t _index)
Definition MyGUI_BackwardCompatibility.cpp:63
MyGUI::MemberObsolete< Button >::getStateCheck
bool getStateCheck() const
Definition MyGUI_BackwardCompatibility.cpp:55
MyGUI::MemberObsolete< Button >::getStaticImage
ImageBox * getStaticImage() const
Definition MyGUI_BackwardCompatibility.cpp:59
MyGUI::MemberObsolete< ComboBox >::insertItem
void insertItem(size_t _index, const UString &_name)
Definition MyGUI_BackwardCompatibility.cpp:98
MyGUI::MemberObsolete< ComboBox >::setItemSelectedAt
void setItemSelectedAt(size_t _index)
Definition MyGUI_BackwardCompatibility.cpp:89
MyGUI::MemberObsolete< ComboBox >::getMaxListHeight
int getMaxListHeight() const
Definition MyGUI_BackwardCompatibility.cpp:135
MyGUI::MemberObsolete< ComboBox >::deleteAllItems
void deleteAllItems()
Definition MyGUI_BackwardCompatibility.cpp:114
MyGUI::MemberObsolete< ComboBox >::resetItemSelect
void resetItemSelect()
Definition MyGUI_BackwardCompatibility.cpp:122
MyGUI::MemberObsolete< ComboBox >::deleteItem
void deleteItem(size_t _index)
Definition MyGUI_BackwardCompatibility.cpp:110
MyGUI::MemberObsolete< ComboBox >::getItemSelect
size_t getItemSelect() const
Definition MyGUI_BackwardCompatibility.cpp:118
MyGUI::MemberObsolete< ComboBox >::setItemSelect
void setItemSelect(size_t _index)
Definition MyGUI_BackwardCompatibility.cpp:126
MyGUI::MemberObsolete< ComboBox >::setItem
void setItem(size_t _index, const UString &_item)
Definition MyGUI_BackwardCompatibility.cpp:102
MyGUI::MemberObsolete< ComboBox >::setMaxListHeight
void setMaxListHeight(int _value)
Definition MyGUI_BackwardCompatibility.cpp:131
MyGUI::MemberObsolete< ComboBox >::clearItemSelected
void clearItemSelected()
Definition MyGUI_BackwardCompatibility.cpp:93
MyGUI::MemberObsolete< ComboBox >::getItem
const UString & getItem(size_t _index) const
Definition MyGUI_BackwardCompatibility.cpp:106
MyGUI::MemberObsolete< ComboBox >::getItemIndexSelected
size_t getItemIndexSelected() const
Definition MyGUI_BackwardCompatibility.cpp:85
MyGUI::MemberObsolete< EditBox >::isShowHScroll
bool isShowHScroll()
Definition MyGUI_BackwardCompatibility.cpp:153
MyGUI::MemberObsolete< EditBox >::isTextSelect
bool isTextSelect()
Definition MyGUI_BackwardCompatibility.cpp:183
MyGUI::MemberObsolete< EditBox >::showHScroll
void showHScroll(bool _visible)
Definition MyGUI_BackwardCompatibility.cpp:149
MyGUI::MemberObsolete< EditBox >::setTextColour
void setTextColour(size_t _start, size_t _count, const Colour &_colour)
Definition MyGUI_BackwardCompatibility.cpp:158
MyGUI::MemberObsolete< EditBox >::getText
UString getText(size_t _start, size_t _count) const
Definition MyGUI_BackwardCompatibility.cpp:167
MyGUI::MemberObsolete< EditBox >::deleteTextSelect
void deleteTextSelect()
Definition MyGUI_BackwardCompatibility.cpp:175
MyGUI::MemberObsolete< EditBox >::showVScroll
void showVScroll(bool _visible)
Definition MyGUI_BackwardCompatibility.cpp:141
MyGUI::MemberObsolete< EditBox >::getSelectedText
UString getSelectedText() const
Definition MyGUI_BackwardCompatibility.cpp:179
MyGUI::MemberObsolete< EditBox >::setTextSelect
void setTextSelect(size_t _start, size_t _end)
Definition MyGUI_BackwardCompatibility.cpp:171
MyGUI::MemberObsolete< EditBox >::setTextSelectColour
void setTextSelectColour(const Colour &_colour)
Definition MyGUI_BackwardCompatibility.cpp:187
MyGUI::MemberObsolete< EditBox >::isShowVScroll
bool isShowVScroll()
Definition MyGUI_BackwardCompatibility.cpp:145
MyGUI::MemberObsolete< EditBox >::getTextSelect
void getTextSelect(size_t &_start, size_t &_end) const
Definition MyGUI_BackwardCompatibility.cpp:162
MyGUI::MemberObsolete< FontManager >::loadOldFontFormat
void loadOldFontFormat(xml::ElementPtr _node, std::string_view _file, Version _version, std::string_view _tag)
Definition MyGUI_BackwardCompatibility.cpp:657
MyGUI::MemberObsolete< FontManager >::load
bool load(const std::string &_file)
Definition MyGUI_BackwardCompatibility.cpp:652
MyGUI::MemberObsolete< Gui >::destroyWidgetsVector
void destroyWidgetsVector(VectorWidgetPtr &_widgets)
Definition MyGUI_BackwardCompatibility.cpp:780
MyGUI::MemberObsolete< Gui >::hidePointer
void hidePointer()
Definition MyGUI_BackwardCompatibility.cpp:806
MyGUI::MemberObsolete< Gui >::isShowPointer
bool isShowPointer()
Definition MyGUI_BackwardCompatibility.cpp:814
MyGUI::MemberObsolete< Gui >::showPointer
void showPointer()
Definition MyGUI_BackwardCompatibility.cpp:810
MyGUI::MemberObsolete< Gui >::injectFrameEntered
void injectFrameEntered(float)
Definition MyGUI_BackwardCompatibility.h:438
MyGUI::MemberObsolete< ImageBox >::addItemFrameDublicate
void addItemFrameDublicate(size_t _index, size_t _indexSourceFrame)
Definition MyGUI_BackwardCompatibility.cpp:75
MyGUI::MemberObsolete< ImageBox >::insertItemFrameDublicate
void insertItemFrameDublicate(size_t _index, size_t _indexFrame, size_t _indexSourceFrame)
Definition MyGUI_BackwardCompatibility.cpp:79
MyGUI::MemberObsolete< InputManager >::getLastRightPressed
const IntPoint & getLastRightPressed() const
Definition MyGUI_BackwardCompatibility.cpp:861
MyGUI::MemberObsolete< InputManager >::getLastLeftPressed
const IntPoint & getLastLeftPressed() const
Definition MyGUI_BackwardCompatibility.cpp:856
MyGUI::MemberObsolete< ItemBox >::deleteAllItems
void deleteAllItems()
Definition MyGUI_BackwardCompatibility.cpp:218
MyGUI::MemberObsolete< ItemBox >::insertItem
void insertItem(size_t _index, Any _data=Any::Null)
Definition MyGUI_BackwardCompatibility.cpp:206
MyGUI::MemberObsolete< ItemBox >::setItemData
void setItemData(size_t _index, Any _data)
Definition MyGUI_BackwardCompatibility.cpp:210
MyGUI::MemberObsolete< ItemBox >::setItemBoxAlignVert
void setItemBoxAlignVert(bool _value)
Definition MyGUI_BackwardCompatibility.cpp:244
MyGUI::MemberObsolete< ItemBox >::getWidgetDrop
Widget * getWidgetDrop() const
Definition MyGUI_BackwardCompatibility.cpp:235
MyGUI::MemberObsolete< ItemBox >::resetItemSelect
void resetItemSelect()
Definition MyGUI_BackwardCompatibility.cpp:226
MyGUI::MemberObsolete< ItemBox >::getItemSelect
size_t getItemSelect() const
Definition MyGUI_BackwardCompatibility.cpp:222
MyGUI::MemberObsolete< ItemBox >::deleteItem
void deleteItem(size_t _index)
Definition MyGUI_BackwardCompatibility.cpp:214
MyGUI::MemberObsolete< ItemBox >::setItemSelectedAt
void setItemSelectedAt(size_t _index)
Definition MyGUI_BackwardCompatibility.cpp:197
MyGUI::MemberObsolete< ItemBox >::resetDrop
void resetDrop()
Definition MyGUI_BackwardCompatibility.cpp:239
MyGUI::MemberObsolete< ItemBox >::getItemBoxAlignVert
bool getItemBoxAlignVert() const
Definition MyGUI_BackwardCompatibility.cpp:248
MyGUI::MemberObsolete< ItemBox >::clearItemSelected
void clearItemSelected()
Definition MyGUI_BackwardCompatibility.cpp:201
MyGUI::MemberObsolete< ItemBox >::getItemIndexSelected
size_t getItemIndexSelected() const
Definition MyGUI_BackwardCompatibility.cpp:193
MyGUI::MemberObsolete< ItemBox >::setItemSelect
void setItemSelect(size_t _index)
Definition MyGUI_BackwardCompatibility.cpp:230
MyGUI::MemberObsolete< LanguageManager >::load
bool load(const std::string &_file)
Definition MyGUI_BackwardCompatibility.cpp:866
MyGUI::MemberObsolete< LayerManager >::load
bool load(const std::string &_file)
Definition MyGUI_BackwardCompatibility.cpp:871
MyGUI::MemberObsolete< LayoutManager >::load
VectorWidgetPtr load(std::string_view _file)
Definition MyGUI_BackwardCompatibility.cpp:876
MyGUI::MemberObsolete< ListBox >::setItem
void setItem(size_t _index, const UString &_item)
Definition MyGUI_BackwardCompatibility.cpp:271
MyGUI::MemberObsolete< ListBox >::findItem
size_t findItem(const UString &_item)
Definition MyGUI_BackwardCompatibility.cpp:287
MyGUI::MemberObsolete< ListBox >::beginToSelect
void beginToSelect()
Definition MyGUI_BackwardCompatibility.cpp:315
MyGUI::MemberObsolete< ListBox >::resetItemSelect
void resetItemSelect()
Definition MyGUI_BackwardCompatibility.cpp:295
MyGUI::MemberObsolete< ListBox >::deleteItem
void deleteItem(size_t _index)
Definition MyGUI_BackwardCompatibility.cpp:279
MyGUI::MemberObsolete< ListBox >::clearItemSelected
void clearItemSelected()
Definition MyGUI_BackwardCompatibility.cpp:262
MyGUI::MemberObsolete< ListBox >::setItemSelectedAt
void setItemSelectedAt(size_t _index)
Definition MyGUI_BackwardCompatibility.cpp:258
MyGUI::MemberObsolete< ListBox >::getItemSelect
size_t getItemSelect() const
Definition MyGUI_BackwardCompatibility.cpp:291
MyGUI::MemberObsolete< ListBox >::deleteAllItems
void deleteAllItems()
Definition MyGUI_BackwardCompatibility.cpp:283
MyGUI::MemberObsolete< ListBox >::beginToIndex
void beginToIndex(size_t _index)
Definition MyGUI_BackwardCompatibility.cpp:303
MyGUI::MemberObsolete< ListBox >::insertItem
void insertItem(size_t _index, const UString &_item)
Definition MyGUI_BackwardCompatibility.cpp:267
MyGUI::MemberObsolete< ListBox >::getItem
const UString & getItem(size_t _index) const
Definition MyGUI_BackwardCompatibility.cpp:275
MyGUI::MemberObsolete< ListBox >::setItemSelect
void setItemSelect(size_t _index)
Definition MyGUI_BackwardCompatibility.cpp:299
MyGUI::MemberObsolete< ListBox >::beginToEnd
void beginToEnd()
Definition MyGUI_BackwardCompatibility.cpp:311
MyGUI::MemberObsolete< ListBox >::isItemVisible
bool isItemVisible(size_t _index, bool _fill=true)
Definition MyGUI_BackwardCompatibility.cpp:319
MyGUI::MemberObsolete< ListBox >::isItemSelectVisible
bool isItemSelectVisible(bool _fill=true)
Definition MyGUI_BackwardCompatibility.cpp:323
MyGUI::MemberObsolete< ListBox >::beginToStart
void beginToStart()
Definition MyGUI_BackwardCompatibility.cpp:307
MyGUI::MemberObsolete< ListBox >::getItemIndexSelected
size_t getItemIndexSelected() const
Definition MyGUI_BackwardCompatibility.cpp:254
MyGUI::MemberObsolete< MultiListBox >::resetItemSelect
void resetItemSelect()
Definition MyGUI_BackwardCompatibility.cpp:439
MyGUI::MemberObsolete< MultiListBox >::getColumnName
const UString & getColumnName(size_t _column) const
Definition MyGUI_BackwardCompatibility.cpp:415
MyGUI::MemberObsolete< MultiListBox >::setColumnWidth
void setColumnWidth(size_t _column, int _width)
Definition MyGUI_BackwardCompatibility.cpp:419
MyGUI::MemberObsolete< MultiListBox >::deleteItem
void deleteItem(size_t _index)
Definition MyGUI_BackwardCompatibility.cpp:459
MyGUI::MemberObsolete< MultiListBox >::getSubItem
const UString & getSubItem(size_t _column, size_t _index) const
Definition MyGUI_BackwardCompatibility.cpp:395
MyGUI::MemberObsolete< MultiListBox >::getItemSelect
size_t getItemSelect() const
Definition MyGUI_BackwardCompatibility.cpp:435
MyGUI::MemberObsolete< MultiListBox >::insertItem
void insertItem(size_t _index, const UString &_name)
Definition MyGUI_BackwardCompatibility.cpp:447
MyGUI::MemberObsolete< MultiListBox >::getColumnWidth
int getColumnWidth(size_t _column) const
Definition MyGUI_BackwardCompatibility.cpp:411
MyGUI::MemberObsolete< MultiListBox >::insertColumn
void insertColumn(size_t _column, int _width, const UString &_name)
Definition MyGUI_BackwardCompatibility.cpp:431
MyGUI::MemberObsolete< MultiListBox >::setColumnName
void setColumnName(size_t _column, const UString &_name)
Definition MyGUI_BackwardCompatibility.cpp:427
MyGUI::MemberObsolete< MultiListBox >::setSubItem
void setSubItem(size_t _column, size_t _index, const UString &_name)
Definition MyGUI_BackwardCompatibility.cpp:399
MyGUI::MemberObsolete< MultiListBox >::clearItemSelected
void clearItemSelected()
Definition MyGUI_BackwardCompatibility.cpp:386
MyGUI::MemberObsolete< MultiListBox >::setItem
void setItem(size_t _index, const UString &_name)
Definition MyGUI_BackwardCompatibility.cpp:451
MyGUI::MemberObsolete< MultiListBox >::deleteAllItems
void deleteAllItems()
Definition MyGUI_BackwardCompatibility.cpp:463
MyGUI::MemberObsolete< MultiListBox >::findItem
size_t findItem(size_t _column, const UString &_name)
Definition MyGUI_BackwardCompatibility.cpp:391
MyGUI::MemberObsolete< MultiListBox >::setItemSelectedAt
void setItemSelectedAt(size_t _index)
Definition MyGUI_BackwardCompatibility.cpp:382
MyGUI::MemberObsolete< MultiListBox >::getItem
const UString & getItem(size_t _index) const
Definition MyGUI_BackwardCompatibility.cpp:455
MyGUI::MemberObsolete< MultiListBox >::getItemIndexSelected
size_t getItemIndexSelected() const
Definition MyGUI_BackwardCompatibility.cpp:378
MyGUI::MemberObsolete< MultiListBox >::deleteAllColumns
void deleteAllColumns()
Definition MyGUI_BackwardCompatibility.cpp:407
MyGUI::MemberObsolete< MultiListBox >::addColumn
void addColumn(int _width, const UString &_name)
Definition MyGUI_BackwardCompatibility.cpp:423
MyGUI::MemberObsolete< MultiListBox >::deleteColumn
void deleteColumn(size_t _column)
Definition MyGUI_BackwardCompatibility.cpp:403
MyGUI::MemberObsolete< MultiListBox >::setItemSelect
void setItemSelect(size_t _index)
Definition MyGUI_BackwardCompatibility.cpp:443
MyGUI::MemberObsolete< PluginManager >::load
bool load(const std::string &_file)
Definition MyGUI_BackwardCompatibility.cpp:881
MyGUI::MemberObsolete< PointerManager >::loadOldPointerFormat
void loadOldPointerFormat(xml::ElementPtr _node, std::string_view _file, Version _version, std::string_view _tag)
Definition MyGUI_BackwardCompatibility.cpp:906
MyGUI::MemberObsolete< PointerManager >::load
bool load(const std::string &_file)
Definition MyGUI_BackwardCompatibility.cpp:902
MyGUI::MemberObsolete< PointerManager >::setDeafultPointer
void setDeafultPointer(std::string_view _value)
Definition MyGUI_BackwardCompatibility.cpp:886
MyGUI::MemberObsolete< PointerManager >::isShow
bool isShow()
Definition MyGUI_BackwardCompatibility.cpp:898
MyGUI::MemberObsolete< PointerManager >::hide
void hide()
Definition MyGUI_BackwardCompatibility.cpp:894
MyGUI::MemberObsolete< PointerManager >::show
void show()
Definition MyGUI_BackwardCompatibility.cpp:890
MyGUI::MemberObsolete< ProgressBar >::getProgressStartPoint
Align getProgressStartPoint() const
Definition MyGUI_BackwardCompatibility.cpp:481
MyGUI::MemberObsolete< ProgressBar >::setProgressStartPoint
void setProgressStartPoint(Align _value)
Definition MyGUI_BackwardCompatibility.cpp:469
MyGUI::MemberObsolete< ResourceManager >::getResourceCount
size_t getResourceCount() const
Definition MyGUI_BackwardCompatibility.cpp:993
MyGUI::MemberObsolete< ResourceManager >::getResource
IResourcePtr getResource(std::string_view _name, bool _throw=true) const
Definition MyGUI_BackwardCompatibility.cpp:997
MyGUI::MemberObsolete< ScrollView >::showVScroll
void showVScroll(bool _visible)
Definition MyGUI_BackwardCompatibility.cpp:494
MyGUI::MemberObsolete< ScrollView >::showHScroll
void showHScroll(bool _visible)
Definition MyGUI_BackwardCompatibility.cpp:502
MyGUI::MemberObsolete< ScrollView >::isShowHScroll
bool isShowHScroll()
Definition MyGUI_BackwardCompatibility.cpp:506
MyGUI::MemberObsolete< ScrollView >::isShowVScroll
bool isShowVScroll()
Definition MyGUI_BackwardCompatibility.cpp:498
MyGUI::MemberObsolete< SkinManager >::getSkin
ResourceSkin * getSkin(std::string_view _name) const
Definition MyGUI_BackwardCompatibility.cpp:1002
MyGUI::MemberObsolete< SkinManager >::load
bool load(const std::string &_file)
Definition MyGUI_BackwardCompatibility.cpp:1006
MyGUI::MemberObsolete< SkinManager >::loadOldSkinFormat
void loadOldSkinFormat(xml::ElementPtr _node, std::string_view _file, Version _version, std::string_view _tag)
Definition MyGUI_BackwardCompatibility.cpp:1010
MyGUI::MemberObsolete< TabControl >::setSheetName
void setSheetName(TabItem *_sheet, const UString &_name, int _width=DEFAULT)
Definition MyGUI_BackwardCompatibility.cpp:556
MyGUI::MemberObsolete< TabControl >::insertSheet
TabItem * insertSheet(size_t _index, const UString &_name, int _width=DEFAULT)
Definition MyGUI_BackwardCompatibility.cpp:564
MyGUI::MemberObsolete< TabControl >::getSheet
TabItem * getSheet(size_t _index) const
Definition MyGUI_BackwardCompatibility.cpp:548
MyGUI::MemberObsolete< TabControl >::setSheetButtonWidthIndex
void setSheetButtonWidthIndex(size_t _index, int _width=DEFAULT)
Definition MyGUI_BackwardCompatibility.cpp:520
MyGUI::MemberObsolete< TabControl >::getSheetNameIndex
const UString & getSheetNameIndex(size_t _index) const
Definition MyGUI_BackwardCompatibility.cpp:544
MyGUI::MemberObsolete< TabControl >::getSelectSheetIndex
size_t getSelectSheetIndex() const
Definition MyGUI_BackwardCompatibility.cpp:584
MyGUI::MemberObsolete< TabControl >::getItemIndexSelected
size_t getItemIndexSelected() const
Definition MyGUI_BackwardCompatibility.cpp:589
MyGUI::MemberObsolete< TabControl >::showBarButton
void showBarButton(size_t _index)
Definition MyGUI_BackwardCompatibility.cpp:528
MyGUI::MemberObsolete< TabControl >::removeSheetIndex
void removeSheetIndex(size_t _index)
Definition MyGUI_BackwardCompatibility.cpp:568
MyGUI::MemberObsolete< TabControl >::setSheetNameIndex
void setSheetNameIndex(size_t _index, const UString &_name, int _width=DEFAULT)
Definition MyGUI_BackwardCompatibility.cpp:552
MyGUI::MemberObsolete< TabControl >::selectSheet
void selectSheet(TabItem *_sheet, bool _smooth=true)
Definition MyGUI_BackwardCompatibility.cpp:580
MyGUI::MemberObsolete< TabControl >::getSheetName
const UString & getSheetName(TabItem *_sheet) const
Definition MyGUI_BackwardCompatibility.cpp:540
MyGUI::MemberObsolete< TabControl >::showBarSelectButton
void showBarSelectButton()
Definition MyGUI_BackwardCompatibility.cpp:532
MyGUI::MemberObsolete< TabControl >::selectSheetIndex
void selectSheetIndex(size_t _index, bool _smooth=true)
Definition MyGUI_BackwardCompatibility.cpp:576
MyGUI::MemberObsolete< TabControl >::getSheetCount
size_t getSheetCount() const
Definition MyGUI_BackwardCompatibility.cpp:536
MyGUI::MemberObsolete< TabControl >::getSheetButtonWidthIndex
int getSheetButtonWidthIndex(size_t _index) const
Definition MyGUI_BackwardCompatibility.cpp:512
MyGUI::MemberObsolete< TabControl >::getSheetButtonWidth
int getSheetButtonWidth(TabItem *_sheet) const
Definition MyGUI_BackwardCompatibility.cpp:516
MyGUI::MemberObsolete< TabControl >::addSheet
TabItem * addSheet(const UString &_name, int _width=DEFAULT)
Definition MyGUI_BackwardCompatibility.cpp:560
MyGUI::MemberObsolete< TabControl >::setSheetButtonWidth
void setSheetButtonWidth(TabItem *_sheet, int _width=DEFAULT)
Definition MyGUI_BackwardCompatibility.cpp:524
MyGUI::MemberObsolete< TabControl >::setItemSelectedAt
void setItemSelectedAt(size_t _index)
Definition MyGUI_BackwardCompatibility.cpp:593
MyGUI::MemberObsolete< TabControl >::removeSheet
void removeSheet(TabItem *_sheet)
Definition MyGUI_BackwardCompatibility.cpp:572
MyGUI::MemberObsolete< Widget >::isInheritsPick
bool isInheritsPick()
Definition MyGUI_BackwardCompatibility.cpp:615
MyGUI::MemberObsolete< Widget >::isInheritsAlpha
bool isInheritsAlpha()
Definition MyGUI_BackwardCompatibility.cpp:603
MyGUI::MemberObsolete< Widget >::isVisible
bool isVisible()
Definition MyGUI_BackwardCompatibility.cpp:619
MyGUI::MemberObsolete< Widget >::isEnabled
bool isEnabled()
Definition MyGUI_BackwardCompatibility.cpp:599
MyGUI::MemberObsolete< Widget >::isNeedMouseFocus
bool isNeedMouseFocus()
Definition MyGUI_BackwardCompatibility.cpp:611
MyGUI::MemberObsolete< Widget >::isNeedKeyFocus
bool isNeedKeyFocus()
Definition MyGUI_BackwardCompatibility.cpp:607
MyGUI::MemberObsolete< WidgetManager >::destroyWidgetsVector
void destroyWidgetsVector(VectorWidgetPtr &_widgets)
Definition MyGUI_BackwardCompatibility.cpp:1038
MyGUI::MemberObsolete< WidgetManager >::parse
void parse(Widget *_widget, std::string_view _key, std::string_view _value)
Definition MyGUI_BackwardCompatibility.cpp:1050
MyGUI::MemberObsolete< WidgetManager >::findWidgetT
Widget * findWidgetT(std::string_view _name, bool _throw=true)
Definition MyGUI_BackwardCompatibility.cpp:1042
MyGUI::MemberObsolete< Window >::getMinMax
IntRect getMinMax() const
Definition MyGUI_BackwardCompatibility.cpp:643
MyGUI::MemberObsolete< Window >::setPosition
void setPosition(const IntCoord &_coord)
MyGUI::MemberObsolete< Window >::hideSmooth
void hideSmooth()
Definition MyGUI_BackwardCompatibility.cpp:629
MyGUI::MemberObsolete< Window >::showSmooth
void showSmooth(bool _reset=false)
Definition MyGUI_BackwardCompatibility.cpp:625
MyGUI::MemberObsolete< Window >::setMinMax
void setMinMax(const IntRect &_minmax)
Definition MyGUI_BackwardCompatibility.cpp:633
MyGUI::MemberObsolete
Definition MyGUI_DeprecatedTypes.h:14
MyGUI::MultiListBox
widget description should be here.
Definition MyGUI_MultiListBox.h:43
MyGUI::PluginManager
Plugin manager. Load/unload and register plugins.
Definition MyGUI_PluginManager.h:25
MyGUI::PointerManager
Definition MyGUI_PointerManager.h:22
MyGUI::ProgressBar
widget description should be here.
Definition MyGUI_ProgressBar.h:22
MyGUI::ResourceManager
Definition MyGUI_ResourceManager.h:23
MyGUI::ResourceSkin
Definition MyGUI_ResourceSkin.h:22
MyGUI::ScrollView
widget description should be here.
Definition MyGUI_ScrollView.h:21
MyGUI::SkinManager
Definition MyGUI_SkinManager.h:22
MyGUI::TabControl
widget description should be here.
Definition MyGUI_TabControl.h:27
MyGUI::TabItem
widget description should be here.
Definition MyGUI_TabItem.h:21
MyGUI::UString
A UTF-16 string with implicit conversion to/from std::string and std::wstring.
Definition MyGUI_UString.h:144
MyGUI::Version
Definition MyGUI_Version.h:18
MyGUI::Widget
widget description should be here.
Definition MyGUI_Widget.h:40
MyGUI::WidgetManager
Definition MyGUI_WidgetManager.h:21
MyGUI::Window
widget description should be here.
Definition MyGUI_Window.h:34
MyGUI::xml::ElementPtr
Element * ElementPtr
Definition MyGUI_XmlDocument.h:112
MyGUI
Definition MyGUI_ActionController.h:15
MyGUI::IntRect
types::TRect< int > IntRect
Definition MyGUI_Types.h:33
MyGUI::IntPoint
types::TPoint< int > IntPoint
Definition MyGUI_Types.h:27
MyGUI::IResourcePtr
IResource * IResourcePtr
Definition MyGUI_IResource.h:19
MyGUI::Char
unsigned int Char
Definition MyGUI_Types.h:50
MyGUI::IntCoord
types::TCoord< int > IntCoord
Definition MyGUI_Types.h:36
MyGUI::IntSize
types::TSize< int > IntSize
Definition MyGUI_Types.h:30
MyGUI::VectorWidgetPtr
std::vector< Widget * > VectorWidgetPtr
Definition MyGUI_WidgetDefines.h:20
MyGUI::DEFAULT
constexpr int DEFAULT
Definition MyGUI_BackwardCompatibility.h:323
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