7#ifndef MYGUI_BACKWARD_COMPATIBILITY_H_
8#define MYGUI_BACKWARD_COMPATIBILITY_H_
25#ifndef MYGUI_DONT_USE_OBSOLETE
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;
41 MYGUI_OBSOLETE(
" is deprecated, use : void Button::setImageName(std::string_view _name)")
42 void setImageIndex(
size_t _index);
44 size_t getImageIndex()
const;
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);
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();
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);
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;
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();
106 MYGUI_OBSOLETE(
" is deprecated, use : void EditBox::setTextIntervalColour(size_t _start, size_t _count, const "
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()")
121 MYGUI_OBSOLETE(
" is deprecated, use : void EditBox::setTextSelectionColour(const Colour& _colour)")
122 void setTextSelectColour(
const Colour& _colour);
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();
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);
151 MYGUI_OBSOLETE(
" is deprecated, use : Widget* ItemBox::getWidgetDrag()")
152 Widget* getWidgetDrop()
const;
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;
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();
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()")
195 MYGUI_OBSOLETE(
" is deprecated, use : void ListBox::beginToItemLast()")
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);
209 MYGUI_OBSOLETE(
" is deprecated, use : void Widget::setVisible(bool _value)")
211 MYGUI_OBSOLETE(
" is deprecated, use : void Widget::setVisible(bool _value)")
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);
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;
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();
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();
253 " is deprecated, use : size_t MultiListBox::findSubItemWith(size_t _column, const UString& _name)")
254 size_t findItem(
size_t _column,
const UString& _name);
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 "
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);
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);
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();
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;
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();
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)")
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)")
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)")
352 MYGUI_OBSOLETE(
" is deprecated, use : TabItem* TabControl::addItem(const UString& _name, Any _data)")
355 " is deprecated, use : TabItem* TabControl::insertItemAt(size_t _index, const UString& _name, Any _data)")
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;
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);
378 MYGUI_OBSOLETE(
" is deprecated, use : bool Widget::getEnabled() const")
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")
396 MYGUI_OBSOLETE(
" is deprecated, use : void Widget::setCoord(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);
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)")
406 " is deprecated, use :
void setMinSize(const
IntSize& _min) ,
void setMaxSize(const
IntSize& _min)")
407 void setMinMax(const
IntRect& _minmax);
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);
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);
428 MYGUI_OBSOLETE(
" is deprecated, use : void Gui::destroyWidgets(VectorWidgetPtr &_widgets)")
431 MYGUI_OBSOLETE(
" is deprecated, use : void Gui::setVisiblePointer(bool _value)")
433 MYGUI_OBSOLETE(
" is deprecated, use : void Gui::setVisiblePointer(bool _value)")
435 MYGUI_OBSOLETE(
" is deprecated, use : bool Gui::isVisiblePointer()")
436 bool isShowPointer();
438 void injectFrameEntered(
float )
442 MYGUI_OBSOLETE(
" is deprecated, use : void Gui::getViewSize().width")
443 int getViewWidth() const;
445 int getViewHeight() const;
448 bool injectMouseMove(
int _absx,
int _absy,
int _absz);
451 bool injectMousePress(
int _absx,
int _absy,
MouseButton _id);
454 bool injectMouseRelease(
int _absx,
int _absy,
MouseButton _id);
458 bool injectKeyRelease(
KeyCode _key);
461 void setVisiblePointer(
bool _value);
463 bool isVisiblePointer();
466 bool load(const std::
string& _file);
469 const
IntSize& getViewSize() const;
472 void _injectFrameEntered(
float _time);
474 void _resizeWindow(const
IntSize& _size);
482 " is deprecated, use : const IntPoint& getLastPressedPosition(MouseButton _id) with _id MouseButton::Left")
483 const IntPoint& getLastLeftPressed()
const;
485 " is deprecated, use : const IntPoint& getLastPressedPosition(MouseButton _id) with _id MouseButton::Right")
486 const IntPoint& getLastRightPressed()
const;
493 MYGUI_OBSOLETE(
" is deprecated, use : bool ResourceManager::load(const std::string& _file)")
494 bool load(
const std::string& _file);
501 MYGUI_OBSOLETE(
" is deprecated, use : bool ResourceManager::load(const std::string& _file)")
502 bool load(
const std::string& _file);
509 MYGUI_OBSOLETE(
" is deprecated, use : VectorWidgetPtr& LayoutManager::loadLayout(std::string_view _file, "
510 "std::string_view _prefix, Widget* _parent)")
518 MYGUI_OBSOLETE(
" is deprecated, use : bool ResourceManager::load(const std::string& _file)")
519 bool load(
const std::string& _file);
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)")
530 MYGUI_OBSOLETE(
" is deprecated, use : void PointerManager::setVisible(bool _visible)")
532 MYGUI_OBSOLETE(
" is deprecated, use : bool PointerManager::isVisible()")
534 MYGUI_OBSOLETE(
" is deprecated, use : bool ResourceManager::load(const std::string& _file)")
535 bool load(
const std::string& _file);
537 void loadOldPointerFormat(
539 std::string_view _file,
541 std::string_view _tag);
548 MYGUI_OBSOLETE(
" is deprecated, use : size_t ResourceManager::getCount()")
549 size_t getResourceCount()
const;
551 " is deprecated, use : IResourcePtr ResourceManager::getByName(std::string_view _name, bool _throw)")
552 IResourcePtr getResource(std::string_view _name,
bool _throw =
true)
const;
559 MYGUI_OBSOLETE(
" is deprecated, use : ResourceSkin* SkinManager::getByName(std::string_view _name)")
561 MYGUI_OBSOLETE(
" is deprecated, use : bool ResourceManager::load(const std::string& _file)")
562 bool load(
const std::string& _file);
564 void loadOldSkinFormat(
xml::ElementPtr _node, std::string_view _file,
Version _version, std::string_view _tag);
571 MYGUI_OBSOLETE(
" is deprecated, use : void WidgetManager::destroyWidgets(VectorWidgetPtr &_widgets)")
574 Widget* findWidgetT(std::string_view _name,
bool _throw =
true);
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);
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();
#define MYGUI_OBSOLETE(text)
widget description should be here.
widget description should be here.
widget description should be here.
widget description should be here.
widget description should be here.
widget description should be here.
Plugin manager. Load/unload and register plugins.
widget description should be here.
widget description should be here.
widget description should be here.
A UTF-16 string with implicit conversion to/from std::string and std::wstring.
widget description should be here.
std::vector< Widget * > VectorWidgetPtr