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();
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()")
41 MYGUI_OBSOLETE(
" is deprecated, use : void Button::setImageName(const std::string& _name)")
42 void setImageIndex(
size_t _value);
44 size_t getImageIndex();
51 MYGUI_OBSOLETE(
" is deprecated, use : size_t ComboBox::getIndexSelected()")
52 size_t getItemIndexSelected();
53 MYGUI_OBSOLETE(
" is deprecated, use : void ComboBox::setIndexSelected(size_t _index)")
54 void setItemSelectedAt(
size_t _index);
55 MYGUI_OBSOLETE(
" is deprecated, use : void ComboBox::clearIndexSelected()")
56 void clearItemSelected();
58 MYGUI_OBSOLETE(
" is deprecated, use : void ComboBox::insertItemAt(size_t _index, const UString& _name)")
59 void insertItem(
size_t _index,
const UString& _name);
60 MYGUI_OBSOLETE(
" is deprecated, use : void ComboBox::setItemNameAt(size_t _index, const UString& _name)")
61 void setItem(
size_t _index,
const UString& _item);
62 MYGUI_OBSOLETE(
" is deprecated, use : const UString& ComboBox::getItemNameAt(size_t _index)")
63 const UString& getItem(
size_t _index);
64 MYGUI_OBSOLETE(
" is deprecated, use : void ComboBox::removeItemAt(size_t _index)")
65 void deleteItem(
size_t _index);
66 MYGUI_OBSOLETE(
" is deprecated, use : void ComboBox::removeAllItems()")
67 void deleteAllItems();
68 MYGUI_OBSOLETE(
" is deprecated, use : size_t ComboBox::getIndexSelected()")
69 size_t getItemSelect();
70 MYGUI_OBSOLETE(
" is deprecated, use : void void ComboBox::clearIndexSelected()")
71 void resetItemSelect();
72 MYGUI_OBSOLETE(
" is deprecated, use : void ComboBox::setIndexSelected(size_t _index)")
73 void setItemSelect(
size_t _index);
75 MYGUI_OBSOLETE(
" is deprecated, use : void ComboBox::setMaxListLength(int _value)")
76 void setMaxListHeight(
int _value);
77 MYGUI_OBSOLETE(
" is deprecated, use : int ComboBox::getMaxListLength()")
78 int getMaxListHeight();
85 MYGUI_OBSOLETE(
" is deprecated, use : void EditBox::setVisibleVScroll(bool _visible)")
86 void showVScroll(
bool _visible);
87 MYGUI_OBSOLETE(
" is deprecated, use : bool EditBox::isVisibleVScroll()")
89 MYGUI_OBSOLETE(
" is deprecated, use : void EditBox::setVisibleHScroll(bool _visible)")
90 void showHScroll(
bool _visible);
91 MYGUI_OBSOLETE(
" is deprecated, use : bool EditBox::isVisibleHScroll()")
94 MYGUI_OBSOLETE(
" is deprecated, use : void EditBox::setTextIntervalColour(size_t _start, size_t _count, const Colour& _colour)")
95 void setTextColour(
size_t _start,
size_t _count,
const Colour& _colour);
96 MYGUI_OBSOLETE(
" is deprecated, use : size_t EditBox::getTextSelectionStart() , size_t getTextSelectionEnd()")
97 void getTextSelect(
size_t& _start,
size_t& _end);
98 MYGUI_OBSOLETE(
" is deprecated, use : UString EditBox::getTextInterval(size_t _start, size_t _count)")
99 UString getText(
size_t _start,
size_t _count);
100 MYGUI_OBSOLETE(
" is deprecated, use : void EditBox::setTextSelection(size_t _start, size_t _end)")
101 void setTextSelect(
size_t _start,
size_t _end);
102 MYGUI_OBSOLETE(
" is deprecated, use : void EditBox::deleteTextSelection()")
103 void deleteTextSelect();
104 MYGUI_OBSOLETE(
" is deprecated, use : UString EditBox::getTextSelection()")
106 MYGUI_OBSOLETE(
" is deprecated, use : bool EditBox::isTextSelection()")
108 MYGUI_OBSOLETE(
" is deprecated, use : void EditBox::setTextSelectionColour(const Colour& _colour)")
109 void setTextSelectColour(
const Colour& _colour);
116 MYGUI_OBSOLETE(
" is deprecated, use : size_t ItemBox::getItemIndexSelected()")
117 size_t getItemIndexSelected();
118 MYGUI_OBSOLETE(
" is deprecated, use : void ItemBox::setIndexSelected(size_t _index)")
119 void setItemSelectedAt(
size_t _index);
120 MYGUI_OBSOLETE(
" is deprecated, use : void ItemBox::clearIndexSelected()")
121 void clearItemSelected();
123 MYGUI_OBSOLETE(
" is deprecated, use : void ItemBox::insertItemAt(size_t _index, Any _data)")
125 MYGUI_OBSOLETE(
" is deprecated, use : void ItemBox::setItemDataAt(size_t _index, Any _data)")
126 void setItemData(
size_t _index,
Any _data);
127 MYGUI_OBSOLETE(
" is deprecated, use : void ItemBox::removeItemAt(size_t _index)")
128 void deleteItem(
size_t _index);
129 MYGUI_OBSOLETE(
" is deprecated, use : void ItemBox::removeAllItems()")
130 void deleteAllItems();
131 MYGUI_OBSOLETE(
" is deprecated, use : size_t ItemBox::getIndexSelected()")
132 size_t getItemSelect();
133 MYGUI_OBSOLETE(
" is deprecated, use : void ItemBox::clearIndexSelected()")
134 void resetItemSelect();
135 MYGUI_OBSOLETE(
" is deprecated, use : void ItemBox::setIndexSelected(size_t _index)")
136 void setItemSelect(
size_t _index);
138 MYGUI_OBSOLETE(
" is deprecated, use : Widget* ItemBox::getWidgetDrag()")
143 MYGUI_OBSOLETE(
" is deprecated, use : void ItemBox::setVerticalAlignment(bool _value)")
144 void setItemBoxAlignVert(
bool _value);
145 MYGUI_OBSOLETE(
" is deprecated, use : bool ItemBox::getVerticalAlignment() const")
146 bool getItemBoxAlignVert();
153 MYGUI_OBSOLETE(
" is deprecated, use : size_t ListBox::getIndexSelected()")
154 size_t getItemIndexSelected();
155 MYGUI_OBSOLETE(
" is deprecated, use : void ListBox::setIndexSelected(size_t _index)")
156 void setItemSelectedAt(
size_t _index);
157 MYGUI_OBSOLETE(
" is deprecated, use : void ListBox::clearIndexSelected()")
158 void clearItemSelected();
160 MYGUI_OBSOLETE(
" is deprecated, use : void ListBox::insertItemAt(size_t _index, const UString& _name)")
161 void insertItem(
size_t _index,
const UString& _item);
162 MYGUI_OBSOLETE(
" is deprecated, use : void ListBox::setItemNameAt(size_t _index, const UString& _name)")
163 void setItem(
size_t _index,
const UString& _item);
164 MYGUI_OBSOLETE(
" is deprecated, use : const UString& ListBox::getItemNameAt(size_t _index)")
165 const UString& getItem(
size_t _index);
166 MYGUI_OBSOLETE(
" is deprecated, use : void ListBox::removeItemAt(size_t _index)")
167 void deleteItem(
size_t _index);
168 MYGUI_OBSOLETE(
" is deprecated, use : void ListBox::removeAllItems()")
169 void deleteAllItems();
170 MYGUI_OBSOLETE(
" is deprecated, use : size_t ListBox::findItemIndexWith(const UString& _name)")
171 size_t findItem(
const UString& _item);
172 MYGUI_OBSOLETE(
" is deprecated, use : size_t ListBox::getIndexSelected()")
173 size_t getItemSelect();
174 MYGUI_OBSOLETE(
" is deprecated, use : void ListBox::clearIndexSelected()")
175 void resetItemSelect();
176 MYGUI_OBSOLETE(
" is deprecated, use : void ListBox::setIndexSelected(size_t _index)")
177 void setItemSelect(
size_t _index);
178 MYGUI_OBSOLETE(
" is deprecated, use : void ListBox::beginToItemAt(size_t _index)")
179 void beginToIndex(
size_t _index);
180 MYGUI_OBSOLETE(
" is deprecated, use : void ListBox::beginToItemFirst()")
182 MYGUI_OBSOLETE(
" is deprecated, use : void ListBox::beginToItemLast()")
184 MYGUI_OBSOLETE(
" is deprecated, use : void ListBox::beginToItemSelected()")
185 void beginToSelect();
186 MYGUI_OBSOLETE(
" is deprecated, use : bool ListBox::isItemVisibleAt(size_t _index, bool _fill)")
187 bool isItemVisible(
size_t _index,
bool _fill =
true);
188 MYGUI_OBSOLETE(
" is deprecated, use : bool ListBox::isItemSelectedVisible(bool _fill)")
189 bool isItemSelectVisible(
bool _fill =
true);
196 MYGUI_OBSOLETE(
" is deprecated, use : void Widget::setVisible(bool _value)")
198 MYGUI_OBSOLETE(
" is deprecated, use : void Widget::setVisible(bool _value)")
203 MYGUI_OBSOLETE(
" is deprecated, use : void setItemChildVisibleAt(size_t _index, bool _visible)")
204 void showItemChildAt(
size_t _index);
205 MYGUI_OBSOLETE(
" is deprecated, use : void setItemChildVisible(MenuItem* _item, bool _visible)")
206 void showItemChild(
MenuItem* _item);
207 MYGUI_OBSOLETE(
" is deprecated, use : void setItemChildVisibleAt(size_t _index, bool _visible)")
208 void hideItemChildAt(
size_t _index);
209 MYGUI_OBSOLETE(
" is deprecated, use : void setItemChildVisible(MenuItem* _item, bool _visible)")
210 void hideItemChild(
MenuItem* _item);
212 MYGUI_OBSOLETE(
" is deprecated, use : void MenuControl::setVerticalAlignment(bool _value)")
213 void setAlignVert(
bool _value);
214 MYGUI_OBSOLETE(
" is deprecated, use : bool MenuControl::getVerticalAlignment() const")
222 MYGUI_OBSOLETE(
" is deprecated, use : void setItemChildVisible(bool _visible)")
223 void showItemChild();
224 MYGUI_OBSOLETE(
" is deprecated, use : void setItemChildVisible(bool _visible)")
225 void hideItemChild();
232 MYGUI_OBSOLETE(
" is deprecated, use : size_t MultiListBox::getIndexSelected()")
233 size_t getItemIndexSelected();
234 MYGUI_OBSOLETE(
" is deprecated, use : void MultiListBox::setIndexSelected(size_t _index)")
235 void setItemSelectedAt(
size_t _index);
236 MYGUI_OBSOLETE(
" is deprecated, use : void MultiListBox::clearIndexSelected()")
237 void clearItemSelected();
239 MYGUI_OBSOLETE(
" is deprecated, use : size_t MultiListBox::findSubItemWith(size_t _column, const UString& _name)")
240 size_t findItem(
size_t _column,
const UString& _name);
241 MYGUI_OBSOLETE(
" is deprecated, use : const UString& MultiListBox::getSubItemNameAt(size_t _column, size_t _index)")
242 const UString& getSubItem(
size_t _column,
size_t _index);
243 MYGUI_OBSOLETE(
" is deprecated, use : void MultiListBox::setSubItemNameAt(size_t _column, size_t _index, const UString& _name)")
244 void setSubItem(
size_t _column,
size_t _index,
const UString& _name);
245 MYGUI_OBSOLETE(
" is deprecated, use : void MultiListBox::removeColumnAt(size_t _column)")
246 void deleteColumn(
size_t _column);
247 MYGUI_OBSOLETE(
" is deprecated, use : void MultiListBox::removeAllColumns()")
248 void deleteAllColumns();
249 MYGUI_OBSOLETE(
" is deprecated, use : int MultiListBox::getColumnWidthAt(size_t _column)")
250 int getColumnWidth(
size_t _column);
251 MYGUI_OBSOLETE(
" is deprecated, use : const UString& MultiListBox::getColumnNameAt(size_t _column)")
252 const UString& getColumnName(
size_t _column);
253 MYGUI_OBSOLETE(
" is deprecated, use : void MultiListBox::setColumnWidthAt(size_t _column, int _width)")
254 void setColumnWidth(
size_t _column,
int _width);
255 MYGUI_OBSOLETE(
" is deprecated, use : void MultiListBox::addColumn(const UString& _name, int _width, Any _data)")
256 void addColumn(
int _width,
const UString& _name);
257 MYGUI_OBSOLETE(
" is deprecated, use : void MultiListBox::setColumnNameAt(size_t _column, const UString& _name)")
258 void setColumnName(
size_t _column,
const UString& _name);
259 MYGUI_OBSOLETE(
" is deprecated, use : void MultiListBox::insertColumnAt(size_t _column, const UString& _name, int _width, Any _data)")
260 void insertColumn(
size_t _column,
int _width,
const UString& _name);
261 MYGUI_OBSOLETE(
" is deprecated, use : size_t MultiListBox::getIndexSelected()")
262 size_t getItemSelect();
263 MYGUI_OBSOLETE(
" is deprecated, use : void MultiListBox::clearIndexSelected()")
264 void resetItemSelect();
265 MYGUI_OBSOLETE(
" is deprecated, use : void MultiListBox::setIndexSelected(size_t _index)")
266 void setItemSelect(
size_t _index);
267 MYGUI_OBSOLETE(
" is deprecated, use : void MultiListBox::insertItemAt(size_t _index, const UString& _name, Any _data)")
268 void insertItem(
size_t _index,
const UString& _name);
269 MYGUI_OBSOLETE(
" is deprecated, use : void MultiListBox::setItemNameAt(size_t _index, const UString& _name)")
270 void setItem(
size_t _index,
const UString& _name);
271 MYGUI_OBSOLETE(
" is deprecated, use : const UString& MultiListBox::getItemNameAt(size_t _index)")
272 const UString& getItem(
size_t _index);
273 MYGUI_OBSOLETE(
" is deprecated, use : void MultiListBox::removeItemAt(size_t _index)")
274 void deleteItem(
size_t _index);
275 MYGUI_OBSOLETE(
" is deprecated, use : void MultiListBox::removeAllItems()")
276 void deleteAllItems();
283 MYGUI_OBSOLETE(
" is deprecated, use : void ProgressBar::setFlowDirection(FlowDirection _value)")
284 void setProgressStartPoint(
Align _value);
285 MYGUI_OBSOLETE(
" is deprecated, use : FlowDirection ProgressBar::getFlowDirection()")
286 Align getProgressStartPoint();
293 MYGUI_OBSOLETE(
" is deprecated, use : void ScrollView::setVisibleVScroll(bool _visible)")
294 void showVScroll(
bool _visible);
295 MYGUI_OBSOLETE(
" is deprecated, use : bool ScrollView::isVisibleVScroll()")
296 bool isShowVScroll();
297 MYGUI_OBSOLETE(
" is deprecated, use : void ScrollView::setVisibleHScroll(bool _visible)")
298 void showHScroll(
bool _visible);
299 MYGUI_OBSOLETE(
" is deprecated, use : bool ScrollView::isVisibleHScroll()")
300 bool isShowHScroll();
307 MYGUI_OBSOLETE(
" is deprecated, use : int TabControl::getButtonWidthAt(size_t _index)")
308 int getSheetButtonWidthIndex(
size_t _index);
309 MYGUI_OBSOLETE(
" is deprecated, use : int TabControl::getButtonWidth(TabItem* _item)")
310 int getSheetButtonWidth(
TabItem* _sheet);
311 MYGUI_OBSOLETE(
" is deprecated, use : void TabControl::setButtonWidthAt(size_t _index, int _width)")
312 void setSheetButtonWidthIndex(
size_t _index,
int _width =
DEFAULT);
313 MYGUI_OBSOLETE(
" is deprecated, use : void TabControl::setButtonWidth(TabItem* _item, int _width)")
315 MYGUI_OBSOLETE(
" is deprecated, use : void TabControl::beginToItemAt(size_t _index)")
316 void showBarButton(
size_t _index);
317 MYGUI_OBSOLETE(
" is deprecated, use : void TabControl::beginToItemSelected()")
318 void showBarSelectButton();
319 MYGUI_OBSOLETE(
" is deprecated, use : size_t TabControl::getItemCount()")
320 size_t getSheetCount();
321 MYGUI_OBSOLETE(
" is deprecated, use : const UString& TabControl::getItemName(TabItem* _item)")
323 MYGUI_OBSOLETE(
" is deprecated, use : const UString& TabControl::getItemNameAt(size_t _index)")
324 const UString& getSheetNameIndex(
size_t _index);
325 MYGUI_OBSOLETE(
" is deprecated, use : TabItem* TabControl::getItemAt(size_t _index)")
326 TabItem* getSheet(
size_t _index);
327 MYGUI_OBSOLETE(
" is deprecated, use : void TabControl::setItemNameAt(size_t _index, const UString& _name)")
328 void setSheetNameIndex(
size_t _index,
const UString& _name,
int _width =
DEFAULT);
329 MYGUI_OBSOLETE(
" is deprecated, use : void TabControl::setItemName(TabItem* _item, const UString& _name)")
331 MYGUI_OBSOLETE(
" is deprecated, use : TabItem* TabControl::addItem(const UString& _name, Any _data)")
333 MYGUI_OBSOLETE(
" is deprecated, use : TabItem* TabControl::insertItemAt(size_t _index, const UString& _name, Any _data)")
335 MYGUI_OBSOLETE(
" is deprecated, use : void TabControl::removeItemAt(size_t _index)")
336 void removeSheetIndex(
size_t _index);
337 MYGUI_OBSOLETE(
" is deprecated, use : void TabControl::removeItem(TabItem* _item)")
338 void removeSheet(
TabItem* _sheet);
339 MYGUI_OBSOLETE(
" is deprecated, use : void TabControl::setIndexSelected(size_t _index)")
340 void selectSheetIndex(
size_t _index,
bool _smooth =
true);
341 MYGUI_OBSOLETE(
" is deprecated, use : void TabControl::setItemSelected(TabItem* _item)")
342 void selectSheet(
TabItem* _sheet,
bool _smooth =
true);
343 MYGUI_OBSOLETE(
" is deprecated, use : size_t TabControl::getIndexSelected()")
344 size_t getSelectSheetIndex();
346 MYGUI_OBSOLETE(
" is deprecated, use : size_t Widget::getIndexSelected()")
347 size_t getItemIndexSelected();
348 MYGUI_OBSOLETE(
" is deprecated, use : void Widget::setIndexSelected(size_t _index)")
349 void setItemSelectedAt(
size_t _index);
356 MYGUI_OBSOLETE(
" is deprecated, use : bool Widget::getEnabled() const")
358 MYGUI_OBSOLETE(
" is deprecated, use : bool Widget::getInheritsAlpha() const")
359 bool isInheritsAlpha();
360 MYGUI_OBSOLETE(
" is deprecated, use : bool Widget::getNeedKeyFocus() const")
361 bool isNeedKeyFocus();
362 MYGUI_OBSOLETE(
" is deprecated, use : bool Widget::getNeedMouseFocus() const")
363 bool isNeedMouseFocus();
364 MYGUI_OBSOLETE(
" is deprecated, use : bool Widget::getInheritsPick() const")
365 bool isInheritsPick();
366 MYGUI_OBSOLETE(
" is deprecated, use : bool Widget::getVisible() const")
374 MYGUI_OBSOLETE(
" is deprecated, use : void Widget::setCoord(const IntCoord& _coord)")
375 void setPosition(
const IntCoord& _coord);
376 MYGUI_OBSOLETE(
" is deprecated, use : void Widget::setCoord(int _left, int _top, int _width, int _height)")
377 void setPosition(
int _left,
int _top,
int _width,
int _height);
379 MYGUI_OBSOLETE(
" is deprecated, use : void setVisibleSmooth(bool _visible)")
380 void showSmooth(
bool _reset =
false);
381 MYGUI_OBSOLETE(
" is deprecated, use : void setVisibleSmooth(bool _visible)")
383 MYGUI_OBSOLETE(
" is deprecated, use : void setMinSize(const IntSize& _min) , void setMaxSize(const IntSize& _min)")
384 void setMinMax(
const IntRect& _minmax);
385 MYGUI_OBSOLETE(
" is deprecated, use : void setMinSize(const IntSize& _min) , void setMaxSize(const IntSize& _min)")
386 void setMinMax(
int _min_w,
int _min_h,
int _max_w,
int _max_h);
387 MYGUI_OBSOLETE(
" is deprecated, use : IntSize getMinSize() , IntSize getMaxSize()")
395 MYGUI_OBSOLETE(
" is deprecated, use : bool ResourceManager::load(const std::string& _file)")
396 bool load(
const std::string& _file);
397 void loadOldFontFormat(
xml::ElementPtr _node,
const std::string& _file,
Version _version,
const std::string& _tag);
404 MYGUI_OBSOLETE(
" is deprecated, use : void Gui::destroyWidgets(VectorWidgetPtr &_widgets)")
407 MYGUI_OBSOLETE(
" is deprecated, use : void Gui::setVisiblePointer(bool _value)")
409 MYGUI_OBSOLETE(
" is deprecated, use : void Gui::setVisiblePointer(bool _value)")
411 MYGUI_OBSOLETE(
" is deprecated, use : bool Gui::isVisiblePointer()")
412 bool isShowPointer();
414 void injectFrameEntered(
float _time) { }
416 MYGUI_OBSOLETE(
" is deprecated, use : void Gui::getViewSize().width")
422 bool injectMouseMove(
int _absx,
int _absy,
int _absz);
424 bool injectMousePress(
int _absx,
int _absy,
MouseButton _id);
426 bool injectMouseRelease(
int _absx,
int _absy,
MouseButton _id);
430 bool injectKeyRelease(
KeyCode _key);
433 void setVisiblePointer(
bool _value);
435 bool isVisiblePointer();
438 bool load(const std::
string& _file);
444 void _injectFrameEntered(
float _time);
446 void _resizeWindow(const
IntSize& _size);
453 MYGUI_OBSOLETE(
" is deprecated, use : const IntPoint& getLastPressedPosition(MouseButton _id) with _id MouseButton::Left")
454 const IntPoint& getLastLeftPressed()
const;
455 MYGUI_OBSOLETE(
" is deprecated, use : const IntPoint& getLastPressedPosition(MouseButton _id) with _id MouseButton::Right")
456 const IntPoint& getLastRightPressed()
const;
463 MYGUI_OBSOLETE(
" is deprecated, use : bool ResourceManager::load(const std::string& _file)")
464 bool load(
const std::string& _file);
471 MYGUI_OBSOLETE(
" is deprecated, use : bool ResourceManager::load(const std::string& _file)")
472 bool load(
const std::string& _file);
479 MYGUI_OBSOLETE(
" is deprecated, use : VectorWidgetPtr& LayoutManager::loadLayout(const std::string& _file, const std::string& _prefix, Widget* _parent)")
487 MYGUI_OBSOLETE(
" is deprecated, use : bool ResourceManager::load(const std::string& _file)")
488 bool load(
const std::string& _file);
495 MYGUI_OBSOLETE(
" is deprecated, use : void PointerManager::setDefaultPointer(const std::string& _value)")
496 void setDeafultPointer(
const std::string& _value);
497 MYGUI_OBSOLETE(
" is deprecated, use : void PointerManager::setVisible(bool _visible)")
499 MYGUI_OBSOLETE(
" is deprecated, use : void PointerManager::setVisible(bool _visible)")
501 MYGUI_OBSOLETE(
" is deprecated, use : bool PointerManager::isVisible()")
503 MYGUI_OBSOLETE(
" is deprecated, use : bool ResourceManager::load(const std::string& _file)")
504 bool load(
const std::string& _file);
506 void loadOldPointerFormat(
xml::ElementPtr _node,
const std::string& _file,
Version _version,
const std::string& _tag);
513 MYGUI_OBSOLETE(
" is deprecated, use : size_t ResourceManager::getCount()")
514 size_t getResourceCount();
515 MYGUI_OBSOLETE(
" is deprecated, use : IResourcePtr ResourceManager::getByName(const std::string& _name, bool _throw)")
516 IResourcePtr getResource(
const std::string& _name,
bool _throw =
true);
523 MYGUI_OBSOLETE(
" is deprecated, use : ResourceSkin* SkinManager::getByName(const std::string& _name)")
525 MYGUI_OBSOLETE(
" is deprecated, use : bool ResourceManager::load(const std::string& _file)")
526 bool load(
const std::string& _file);
528 void loadOldSkinFormat(
xml::ElementPtr _node,
const std::string& _file,
Version _version,
const std::string& _tag);
535 MYGUI_OBSOLETE(
" is deprecated, use : void WidgetManager::destroyWidgets(VectorWidgetPtr &_widgets)")
538 Widget* findWidgetT(
const std::string& _name,
bool _throw =
true);
540 Widget* findWidgetT(
const std::string& _name,
const std::string& _prefix,
bool _throw =
true);
541 MYGUI_OBSOLETE(
" is deprecated, use : void Widget::setProperty(const std::string &_key, const std::string &_value)")
542 void parse(
Widget* _widget,
const std::string& _key,
const std::string& _value);
545 #endif // MYGUI_DONT_USE_OBSOLETE
550 static bool checkProperty(
Widget* _owner, std::string& _key, std::string& _value);
551 static void initialise();
552 static void shutdown();
553 static bool isIgnoreProperty(
const std::string& _key);
554 static std::string getPropertyRename(
const std::string& _propertyName);
555 static std::string getFactoryRename(
const std::string& _categoryName,
const std::string& _factoryName);
556 static std::string getSkinRename(
const std::string& _skinName);
557 static void registerWidgetTypes();
562 #endif // __MYGUI_BACKWARD_COMPATIBILITY_H__