MyGUI_BackwardCompatibility.h
Go to the documentation of this file.
/*
* This source file is part of MyGUI. For the latest info, see http://mygui.info/
* Distributed under the MIT License
* (See accompanying file COPYING.MIT or copy at http://opensource.org/licenses/MIT)
*/
#ifndef MYGUI_BACKWARD_COMPATIBILITY_H_
#define MYGUI_BACKWARD_COMPATIBILITY_H_
#include "MyGUI_Prerequest.h"
#include "MyGUI_Colour.h"
#include "MyGUI_ResourceSkin.h"
#include "MyGUI_Any.h"
#include "MyGUI_MouseButton.h"
#include "MyGUI_KeyCode.h"
#include "MyGUI_Macros.h"
#include "MyGUI_WidgetDefines.h"
#include "MyGUI_IResource.h"
#include <map>
#include <set>
namespace MyGUI
{
#ifndef MYGUI_DONT_USE_OBSOLETE
template<>
class MYGUI_EXPORT MemberObsolete<Button>
{
public:
MYGUI_OBSOLETE(" is deprecated, use : void Button::setStateSelected(bool _value)")
void setButtonPressed(bool _value);
MYGUI_OBSOLETE(" is deprecated, use : bool Button::getStateSelected()")
bool getButtonPressed() const;
MYGUI_OBSOLETE(" is deprecated, use : void Button::setStateSelected(bool _value)")
void setStateCheck(bool _value);
MYGUI_OBSOLETE(" is deprecated, use : bool Button::getStateSelected()")
bool getStateCheck() const;
MYGUI_OBSOLETE(" is deprecated")
ImageBox* getStaticImage() const;
MYGUI_OBSOLETE(" is deprecated, use : void Button::setImageName(std::string_view _name)")
void setImageIndex(size_t _index);
MYGUI_OBSOLETE(" is deprecated")
size_t getImageIndex() const;
};
template<>
class MYGUI_EXPORT MemberObsolete<ImageBox>
{
public:
MYGUI_OBSOLETE(
" is deprecated, use : void ImageBox::addItemFrameDuplicate(size_t _index, size_t _indexSourceFrame)")
void addItemFrameDublicate(size_t _index, size_t _indexSourceFrame);
MYGUI_OBSOLETE(" is deprecated, use : void ImageBox::insertItemFrameDuplicate(size_t _index, size_t "
"_indexFrame, size_t _indexSourceFrame)")
void insertItemFrameDublicate(size_t _index, size_t _indexFrame, size_t _indexSourceFrame);
};
template<>
class MYGUI_EXPORT MemberObsolete<ComboBox>
{
public:
MYGUI_OBSOLETE(" is deprecated, use : size_t ComboBox::getIndexSelected()")
size_t getItemIndexSelected() const;
MYGUI_OBSOLETE(" is deprecated, use : void ComboBox::setIndexSelected(size_t _index)")
void setItemSelectedAt(size_t _index);
MYGUI_OBSOLETE(" is deprecated, use : void ComboBox::clearIndexSelected()")
void clearItemSelected();
MYGUI_OBSOLETE(" is deprecated, use : void ComboBox::insertItemAt(size_t _index, const UString& _name)")
void insertItem(size_t _index, const UString& _name);
MYGUI_OBSOLETE(" is deprecated, use : void ComboBox::setItemNameAt(size_t _index, const UString& _name)")
void setItem(size_t _index, const UString& _item);
MYGUI_OBSOLETE(" is deprecated, use : const UString& ComboBox::getItemNameAt(size_t _index)")
const UString& getItem(size_t _index) const;
MYGUI_OBSOLETE(" is deprecated, use : void ComboBox::removeItemAt(size_t _index)")
void deleteItem(size_t _index);
MYGUI_OBSOLETE(" is deprecated, use : void ComboBox::removeAllItems()")
void deleteAllItems();
MYGUI_OBSOLETE(" is deprecated, use : size_t ComboBox::getIndexSelected()")
size_t getItemSelect() const;
MYGUI_OBSOLETE(" is deprecated, use : void void ComboBox::clearIndexSelected()")
void resetItemSelect();
MYGUI_OBSOLETE(" is deprecated, use : void ComboBox::setIndexSelected(size_t _index)")
void setItemSelect(size_t _index);
MYGUI_OBSOLETE(" is deprecated, use : void ComboBox::setMaxListLength(int _value)")
void setMaxListHeight(int _value);
MYGUI_OBSOLETE(" is deprecated, use : int ComboBox::getMaxListLength()")
int getMaxListHeight() const;
};
template<>
class MYGUI_EXPORT MemberObsolete<EditBox>
{
public:
MYGUI_OBSOLETE(" is deprecated, use : void EditBox::setVisibleVScroll(bool _visible)")
void showVScroll(bool _visible);
MYGUI_OBSOLETE(" is deprecated, use : bool EditBox::isVisibleVScroll()")
bool isShowVScroll();
MYGUI_OBSOLETE(" is deprecated, use : void EditBox::setVisibleHScroll(bool _visible)")
void showHScroll(bool _visible);
MYGUI_OBSOLETE(" is deprecated, use : bool EditBox::isVisibleHScroll()")
bool isShowHScroll();
MYGUI_OBSOLETE(" is deprecated, use : void EditBox::setTextIntervalColour(size_t _start, size_t _count, const "
"Colour& _colour)")
void setTextColour(size_t _start, size_t _count, const Colour& _colour);
MYGUI_OBSOLETE(" is deprecated, use : size_t EditBox::getTextSelectionStart() , size_t getTextSelectionEnd()")
void getTextSelect(size_t& _start, size_t& _end) const;
MYGUI_OBSOLETE(" is deprecated, use : UString EditBox::getTextInterval(size_t _start, size_t _count)")
UString getText(size_t _start, size_t _count) const;
MYGUI_OBSOLETE(" is deprecated, use : void EditBox::setTextSelection(size_t _start, size_t _end)")
void setTextSelect(size_t _start, size_t _end);
MYGUI_OBSOLETE(" is deprecated, use : void EditBox::deleteTextSelection()")
void deleteTextSelect();
MYGUI_OBSOLETE(" is deprecated, use : UString EditBox::getTextSelection()")
UString getSelectedText() const;
MYGUI_OBSOLETE(" is deprecated, use : bool EditBox::isTextSelection()")
bool isTextSelect();
MYGUI_OBSOLETE(" is deprecated, use : void EditBox::setTextSelectionColour(const Colour& _colour)")
void setTextSelectColour(const Colour& _colour);
};
template<>
class MYGUI_EXPORT MemberObsolete<ItemBox>
{
public:
MYGUI_OBSOLETE(" is deprecated, use : size_t ItemBox::getItemIndexSelected()")
size_t getItemIndexSelected() const;
MYGUI_OBSOLETE(" is deprecated, use : void ItemBox::setIndexSelected(size_t _index)")
void setItemSelectedAt(size_t _index);
MYGUI_OBSOLETE(" is deprecated, use : void ItemBox::clearIndexSelected()")
void clearItemSelected();
MYGUI_OBSOLETE(" is deprecated, use : void ItemBox::insertItemAt(size_t _index, Any _data)")
void insertItem(size_t _index, Any _data = Any::Null);
MYGUI_OBSOLETE(" is deprecated, use : void ItemBox::setItemDataAt(size_t _index, Any _data)")
void setItemData(size_t _index, Any _data);
MYGUI_OBSOLETE(" is deprecated, use : void ItemBox::removeItemAt(size_t _index)")
void deleteItem(size_t _index);
MYGUI_OBSOLETE(" is deprecated, use : void ItemBox::removeAllItems()")
void deleteAllItems();
MYGUI_OBSOLETE(" is deprecated, use : size_t ItemBox::getIndexSelected()")
size_t getItemSelect() const;
MYGUI_OBSOLETE(" is deprecated, use : void ItemBox::clearIndexSelected()")
void resetItemSelect();
MYGUI_OBSOLETE(" is deprecated, use : void ItemBox::setIndexSelected(size_t _index)")
void setItemSelect(size_t _index);
MYGUI_OBSOLETE(" is deprecated, use : Widget* ItemBox::getWidgetDrag()")
Widget* getWidgetDrop() const;
MYGUI_OBSOLETE(" is deprecated, use : void ItemBox::resetDrag()")
void resetDrop();
MYGUI_OBSOLETE(" is deprecated, use : void ItemBox::setVerticalAlignment(bool _value)")
void setItemBoxAlignVert(bool _value);
MYGUI_OBSOLETE(" is deprecated, use : bool ItemBox::getVerticalAlignment() const")
bool getItemBoxAlignVert() const;
};
template<>
class MYGUI_EXPORT MemberObsolete<ListBox>
{
public:
MYGUI_OBSOLETE(" is deprecated, use : size_t ListBox::getIndexSelected()")
size_t getItemIndexSelected() const;
MYGUI_OBSOLETE(" is deprecated, use : void ListBox::setIndexSelected(size_t _index)")
void setItemSelectedAt(size_t _index);
MYGUI_OBSOLETE(" is deprecated, use : void ListBox::clearIndexSelected()")
void clearItemSelected();
MYGUI_OBSOLETE(" is deprecated, use : void ListBox::insertItemAt(size_t _index, const UString& _name)")
void insertItem(size_t _index, const UString& _item);
MYGUI_OBSOLETE(" is deprecated, use : void ListBox::setItemNameAt(size_t _index, const UString& _name)")
void setItem(size_t _index, const UString& _item);
MYGUI_OBSOLETE(" is deprecated, use : const UString& ListBox::getItemNameAt(size_t _index)")
const UString& getItem(size_t _index) const;
MYGUI_OBSOLETE(" is deprecated, use : void ListBox::removeItemAt(size_t _index)")
void deleteItem(size_t _index);
MYGUI_OBSOLETE(" is deprecated, use : void ListBox::removeAllItems()")
void deleteAllItems();
MYGUI_OBSOLETE(" is deprecated, use : size_t ListBox::findItemIndexWith(const UString& _name)")
size_t findItem(const UString& _item);
MYGUI_OBSOLETE(" is deprecated, use : size_t ListBox::getIndexSelected()")
size_t getItemSelect() const;
MYGUI_OBSOLETE(" is deprecated, use : void ListBox::clearIndexSelected()")
void resetItemSelect();
MYGUI_OBSOLETE(" is deprecated, use : void ListBox::setIndexSelected(size_t _index)")
void setItemSelect(size_t _index);
MYGUI_OBSOLETE(" is deprecated, use : void ListBox::beginToItemAt(size_t _index)")
void beginToIndex(size_t _index);
MYGUI_OBSOLETE(" is deprecated, use : void ListBox::beginToItemFirst()")
void beginToStart();
MYGUI_OBSOLETE(" is deprecated, use : void ListBox::beginToItemLast()")
void beginToEnd();
MYGUI_OBSOLETE(" is deprecated, use : void ListBox::beginToItemSelected()")
void beginToSelect();
MYGUI_OBSOLETE(" is deprecated, use : bool ListBox::isItemVisibleAt(size_t _index, bool _fill)")
bool isItemVisible(size_t _index, bool _fill = true);
MYGUI_OBSOLETE(" is deprecated, use : bool ListBox::isItemSelectedVisible(bool _fill)")
bool isItemSelectVisible(bool _fill = true);
};
template<>
class MYGUI_EXPORT MemberObsolete<MenuControl>
{
public:
MYGUI_OBSOLETE(" is deprecated, use : void Widget::setVisible(bool _value)")
void showMenu();
MYGUI_OBSOLETE(" is deprecated, use : void Widget::setVisible(bool _value)")
void hideMenu();
MYGUI_OBSOLETE(" is deprecated, use : bool Widget::getVisible()")
bool isShowMenu();
MYGUI_OBSOLETE(" is deprecated, use : void setItemChildVisibleAt(size_t _index, bool _visible)")
void showItemChildAt(size_t _index);
MYGUI_OBSOLETE(" is deprecated, use : void setItemChildVisible(MenuItem* _item, bool _visible)")
void showItemChild(MenuItem* _item);
MYGUI_OBSOLETE(" is deprecated, use : void setItemChildVisibleAt(size_t _index, bool _visible)")
void hideItemChildAt(size_t _index);
MYGUI_OBSOLETE(" is deprecated, use : void setItemChildVisible(MenuItem* _item, bool _visible)")
void hideItemChild(MenuItem* _item);
MYGUI_OBSOLETE(" is deprecated, use : void MenuControl::setVerticalAlignment(bool _value)")
void setAlignVert(bool _value);
MYGUI_OBSOLETE(" is deprecated, use : bool MenuControl::getVerticalAlignment() const")
bool getAlignVert() const;
};
template<>
class MYGUI_EXPORT MemberObsolete<MenuItem>
{
public:
MYGUI_OBSOLETE(" is deprecated, use : void setItemChildVisible(bool _visible)")
void showItemChild();
MYGUI_OBSOLETE(" is deprecated, use : void setItemChildVisible(bool _visible)")
void hideItemChild();
};
template<>
class MYGUI_EXPORT MemberObsolete<MultiListBox>
{
public:
MYGUI_OBSOLETE(" is deprecated, use : size_t MultiListBox::getIndexSelected()")
size_t getItemIndexSelected() const;
MYGUI_OBSOLETE(" is deprecated, use : void MultiListBox::setIndexSelected(size_t _index)")
void setItemSelectedAt(size_t _index);
MYGUI_OBSOLETE(" is deprecated, use : void MultiListBox::clearIndexSelected()")
void clearItemSelected();
MYGUI_OBSOLETE(
" is deprecated, use : size_t MultiListBox::findSubItemWith(size_t _column, const UString& _name)")
size_t findItem(size_t _column, const UString& _name);
MYGUI_OBSOLETE(
" is deprecated, use : const UString& MultiListBox::getSubItemNameAt(size_t _column, size_t _index)")
const UString& getSubItem(size_t _column, size_t _index) const;
MYGUI_OBSOLETE(" is deprecated, use : void MultiListBox::setSubItemNameAt(size_t _column, size_t _index, const "
"UString& _name)")
void setSubItem(size_t _column, size_t _index, const UString& _name);
MYGUI_OBSOLETE(" is deprecated, use : void MultiListBox::removeColumnAt(size_t _column)")
void deleteColumn(size_t _column);
MYGUI_OBSOLETE(" is deprecated, use : void MultiListBox::removeAllColumns()")
void deleteAllColumns();
MYGUI_OBSOLETE(" is deprecated, use : int MultiListBox::getColumnWidthAt(size_t _column)")
int getColumnWidth(size_t _column) const;
MYGUI_OBSOLETE(" is deprecated, use : const UString& MultiListBox::getColumnNameAt(size_t _column)")
const UString& getColumnName(size_t _column) const;
MYGUI_OBSOLETE(" is deprecated, use : void MultiListBox::setColumnWidthAt(size_t _column, int _width)")
void setColumnWidth(size_t _column, int _width);
MYGUI_OBSOLETE(
" is deprecated, use : void MultiListBox::addColumn(const UString& _name, int _width, Any _data)")
void addColumn(int _width, const UString& _name);
MYGUI_OBSOLETE(" is deprecated, use : void MultiListBox::setColumnNameAt(size_t _column, const UString& _name)")
void setColumnName(size_t _column, const UString& _name);
MYGUI_OBSOLETE(" is deprecated, use : void MultiListBox::insertColumnAt(size_t _column, const UString& _name, "
"int _width, Any _data)")
void insertColumn(size_t _column, int _width, const UString& _name);
MYGUI_OBSOLETE(" is deprecated, use : size_t MultiListBox::getIndexSelected()")
size_t getItemSelect() const;
MYGUI_OBSOLETE(" is deprecated, use : void MultiListBox::clearIndexSelected()")
void resetItemSelect();
MYGUI_OBSOLETE(" is deprecated, use : void MultiListBox::setIndexSelected(size_t _index)")
void setItemSelect(size_t _index);
MYGUI_OBSOLETE(
" is deprecated, use : void MultiListBox::insertItemAt(size_t _index, const UString& _name, Any _data)")
void insertItem(size_t _index, const UString& _name);
MYGUI_OBSOLETE(" is deprecated, use : void MultiListBox::setItemNameAt(size_t _index, const UString& _name)")
void setItem(size_t _index, const UString& _name);
MYGUI_OBSOLETE(" is deprecated, use : const UString& MultiListBox::getItemNameAt(size_t _index)")
const UString& getItem(size_t _index) const;
MYGUI_OBSOLETE(" is deprecated, use : void MultiListBox::removeItemAt(size_t _index)")
void deleteItem(size_t _index);
MYGUI_OBSOLETE(" is deprecated, use : void MultiListBox::removeAllItems()")
void deleteAllItems();
};
template<>
class MYGUI_EXPORT MemberObsolete<ProgressBar>
{
public:
MYGUI_OBSOLETE(" is deprecated, use : void ProgressBar::setFlowDirection(FlowDirection _value)")
void setProgressStartPoint(Align _value);
MYGUI_OBSOLETE(" is deprecated, use : FlowDirection ProgressBar::getFlowDirection()")
Align getProgressStartPoint() const;
};
template<>
class MYGUI_EXPORT MemberObsolete<ScrollView>
{
public:
MYGUI_OBSOLETE(" is deprecated, use : void ScrollView::setVisibleVScroll(bool _visible)")
void showVScroll(bool _visible);
MYGUI_OBSOLETE(" is deprecated, use : bool ScrollView::isVisibleVScroll()")
bool isShowVScroll();
MYGUI_OBSOLETE(" is deprecated, use : void ScrollView::setVisibleHScroll(bool _visible)")
void showHScroll(bool _visible);
MYGUI_OBSOLETE(" is deprecated, use : bool ScrollView::isVisibleHScroll()")
bool isShowHScroll();
};
// MYGUI_OBSOLETE(" is deprecated, use : TabControl::DEFAULT_WIDTH")
constexpr int DEFAULT = -1; // actually TabControl::DEFAULT_WIDTH
template<>
class MYGUI_EXPORT MemberObsolete<TabControl>
{
public:
MYGUI_OBSOLETE(" is deprecated, use : int TabControl::getButtonWidthAt(size_t _index)")
int getSheetButtonWidthIndex(size_t _index) const;
MYGUI_OBSOLETE(" is deprecated, use : int TabControl::getButtonWidth(TabItem* _item)")
int getSheetButtonWidth(TabItem* _sheet) const;
MYGUI_OBSOLETE(" is deprecated, use : void TabControl::setButtonWidthAt(size_t _index, int _width)")
void setSheetButtonWidthIndex(size_t _index, int _width = DEFAULT);
MYGUI_OBSOLETE(" is deprecated, use : void TabControl::setButtonWidth(TabItem* _item, int _width)")
void setSheetButtonWidth(TabItem* _sheet, int _width = DEFAULT);
MYGUI_OBSOLETE(" is deprecated, use : void TabControl::beginToItemAt(size_t _index)")
void showBarButton(size_t _index);
MYGUI_OBSOLETE(" is deprecated, use : void TabControl::beginToItemSelected()")
void showBarSelectButton();
MYGUI_OBSOLETE(" is deprecated, use : size_t TabControl::getItemCount()")
size_t getSheetCount() const;
MYGUI_OBSOLETE(" is deprecated, use : const UString& TabControl::getItemName(TabItem* _item)")
const UString& getSheetName(TabItem* _sheet) const;
MYGUI_OBSOLETE(" is deprecated, use : const UString& TabControl::getItemNameAt(size_t _index)")
const UString& getSheetNameIndex(size_t _index) const;
MYGUI_OBSOLETE(" is deprecated, use : TabItem* TabControl::getItemAt(size_t _index)")
TabItem* getSheet(size_t _index) const;
MYGUI_OBSOLETE(" is deprecated, use : void TabControl::setItemNameAt(size_t _index, const UString& _name)")
void setSheetNameIndex(size_t _index, const UString& _name, int _width = DEFAULT);
MYGUI_OBSOLETE(" is deprecated, use : void TabControl::setItemName(TabItem* _item, const UString& _name)")
void setSheetName(TabItem* _sheet, const UString& _name, int _width = DEFAULT);
MYGUI_OBSOLETE(" is deprecated, use : TabItem* TabControl::addItem(const UString& _name, Any _data)")
TabItem* addSheet(const UString& _name, int _width = DEFAULT);
MYGUI_OBSOLETE(
" is deprecated, use : TabItem* TabControl::insertItemAt(size_t _index, const UString& _name, Any _data)")
TabItem* insertSheet(size_t _index, const UString& _name, int _width = DEFAULT);
MYGUI_OBSOLETE(" is deprecated, use : void TabControl::removeItemAt(size_t _index)")
void removeSheetIndex(size_t _index);
MYGUI_OBSOLETE(" is deprecated, use : void TabControl::removeItem(TabItem* _item)")
void removeSheet(TabItem* _sheet);
MYGUI_OBSOLETE(" is deprecated, use : void TabControl::setIndexSelected(size_t _index)")
void selectSheetIndex(size_t _index, bool _smooth = true);
MYGUI_OBSOLETE(" is deprecated, use : void TabControl::setItemSelected(TabItem* _item)")
void selectSheet(TabItem* _sheet, bool _smooth = true);
MYGUI_OBSOLETE(" is deprecated, use : size_t TabControl::getIndexSelected()")
size_t getSelectSheetIndex() const;
MYGUI_OBSOLETE(" is deprecated, use : size_t Widget::getIndexSelected()")
size_t getItemIndexSelected() const;
MYGUI_OBSOLETE(" is deprecated, use : void Widget::setIndexSelected(size_t _index)")
void setItemSelectedAt(size_t _index);
};
template<>
class MYGUI_EXPORT MemberObsolete<Widget>
{
public:
MYGUI_OBSOLETE(" is deprecated, use : bool Widget::getEnabled() const")
bool isEnabled();
MYGUI_OBSOLETE(" is deprecated, use : bool Widget::getInheritsAlpha() const")
bool isInheritsAlpha();
MYGUI_OBSOLETE(" is deprecated, use : bool Widget::getNeedKeyFocus() const")
bool isNeedKeyFocus();
MYGUI_OBSOLETE(" is deprecated, use : bool Widget::getNeedMouseFocus() const")
bool isNeedMouseFocus();
MYGUI_OBSOLETE(" is deprecated, use : bool Widget::getInheritsPick() const")
bool isInheritsPick();
MYGUI_OBSOLETE(" is deprecated, use : bool Widget::getVisible() const")
bool isVisible();
};
template<>
class MYGUI_EXPORT MemberObsolete<Window>
{
public:
MYGUI_OBSOLETE(" is deprecated, use : void Widget::setCoord(const IntCoord& _coord)")
void setPosition(const IntCoord& _coord);
MYGUI_OBSOLETE(" is deprecated, use : void Widget::setCoord(int _left, int _top, int _width, int _height)")
void setPosition(int _left, int _top, int _width, int _height);
MYGUI_OBSOLETE(" is deprecated, use : void setVisibleSmooth(bool _visible)")
void showSmooth(bool _reset = false);
MYGUI_OBSOLETE(" is deprecated, use : void setVisibleSmooth(bool _visible)")
void hideSmooth();
MYGUI_OBSOLETE(
" is deprecated, use : void setMinSize(const IntSize& _min) , void setMaxSize(const IntSize& _min)")
void setMinMax(const IntRect& _minmax);
MYGUI_OBSOLETE(
" is deprecated, use : void setMinSize(const IntSize& _min) , void setMaxSize(const IntSize& _min)")
void setMinMax(int _min_w, int _min_h, int _max_w, int _max_h);
MYGUI_OBSOLETE(" is deprecated, use : IntSize getMinSize() , IntSize getMaxSize()")
IntRect getMinMax() const;
};
template<>
class MYGUI_EXPORT MemberObsolete<FontManager>
{
public:
MYGUI_OBSOLETE(" is deprecated, use : bool ResourceManager::load(const std::string& _file)")
bool load(const std::string& _file);
void loadOldFontFormat(xml::ElementPtr _node, std::string_view _file, Version _version, std::string_view _tag);
};
template<>
class MYGUI_EXPORT MemberObsolete<Gui>
{
public:
MYGUI_OBSOLETE(" is deprecated, use : void Gui::destroyWidgets(VectorWidgetPtr &_widgets)")
void destroyWidgetsVector(VectorWidgetPtr& _widgets);
MYGUI_OBSOLETE(" is deprecated, use : void Gui::setVisiblePointer(bool _value)")
void hidePointer();
MYGUI_OBSOLETE(" is deprecated, use : void Gui::setVisiblePointer(bool _value)")
void showPointer();
MYGUI_OBSOLETE(" is deprecated, use : bool Gui::isVisiblePointer()")
bool isShowPointer();
MYGUI_OBSOLETE("called be renderer, do not call it manually")
void injectFrameEntered(float /*_time*/)
{
}
MYGUI_OBSOLETE(" is deprecated, use : void Gui::getViewSize().width")
int getViewWidth() const;
MYGUI_OBSOLETE(" is deprecated, use : void Gui::getViewSize().height")
int getViewHeight() const;
MYGUI_OBSOLETE(" is deprecated, use : bool InputManager::injectMouseMove(int _absx, int _absy, int _absz)")
bool injectMouseMove(int _absx, int _absy, int _absz);
MYGUI_OBSOLETE(
" is deprecated, use : bool InputManager::injectMousePress(int _absx, int _absy, MouseButton _id)")
bool injectMousePress(int _absx, int _absy, MouseButton _id);
MYGUI_OBSOLETE(
" is deprecated, use : bool InputManager::injectMouseRelease(int _absx, int _absy, MouseButton _id)")
bool injectMouseRelease(int _absx, int _absy, MouseButton _id);
MYGUI_OBSOLETE(" is deprecated, use : bool InputManager::injectKeyPress(KeyCode _key, Char _text = 0)")
bool injectKeyPress(KeyCode _key, Char _text = 0);
MYGUI_OBSOLETE(" is deprecated, use : bool InputManager::injectKeyRelease(KeyCode _key)")
bool injectKeyRelease(KeyCode _key);
MYGUI_OBSOLETE(" is deprecated, use : void PointerManager::setVisible(_value)")
void setVisiblePointer(bool _value);
MYGUI_OBSOLETE(" is deprecated, use : bool PointerManager::isVisible()")
bool isVisiblePointer();
MYGUI_OBSOLETE(" is deprecated, use : bool ResourceManager::load(const std::string& _file)")
bool load(const std::string& _file);
MYGUI_OBSOLETE(" is deprecated, use : const IntSize& RenderManager::getViewSize() const")
const IntSize& getViewSize() const;
MYGUI_OBSOLETE(" is deprecated, use : RenderManager::onFrameEvent(float _time)")
void _injectFrameEntered(float _time);
MYGUI_OBSOLETE(" is deprecated, use : RenderManager::onResizeView(const IntSize& _size)")
void _resizeWindow(const IntSize& _size);
};
template<>
class MYGUI_EXPORT MemberObsolete<InputManager>
{
public:
MYGUI_OBSOLETE(
" is deprecated, use : const IntPoint& getLastPressedPosition(MouseButton _id) with _id MouseButton::Left")
const IntPoint& getLastLeftPressed() const;
MYGUI_OBSOLETE(
" is deprecated, use : const IntPoint& getLastPressedPosition(MouseButton _id) with _id MouseButton::Right")
const IntPoint& getLastRightPressed() const;
};
template<>
class MYGUI_EXPORT MemberObsolete<LanguageManager>
{
public:
MYGUI_OBSOLETE(" is deprecated, use : bool ResourceManager::load(const std::string& _file)")
bool load(const std::string& _file);
};
template<>
class MYGUI_EXPORT MemberObsolete<LayerManager>
{
public:
MYGUI_OBSOLETE(" is deprecated, use : bool ResourceManager::load(const std::string& _file)")
bool load(const std::string& _file);
};
template<>
class MYGUI_EXPORT MemberObsolete<LayoutManager>
{
public:
MYGUI_OBSOLETE(" is deprecated, use : VectorWidgetPtr& LayoutManager::loadLayout(std::string_view _file, "
"std::string_view _prefix, Widget* _parent)")
VectorWidgetPtr load(std::string_view _file);
};
template<>
class MYGUI_EXPORT MemberObsolete<PluginManager>
{
public:
MYGUI_OBSOLETE(" is deprecated, use : bool ResourceManager::load(const std::string& _file)")
bool load(const std::string& _file);
};
template<>
class MYGUI_EXPORT MemberObsolete<PointerManager>
{
public:
MYGUI_OBSOLETE(" is deprecated, use : void PointerManager::setDefaultPointer(std::string_view _value)")
void setDeafultPointer(std::string_view _value);
MYGUI_OBSOLETE(" is deprecated, use : void PointerManager::setVisible(bool _visible)")
void show();
MYGUI_OBSOLETE(" is deprecated, use : void PointerManager::setVisible(bool _visible)")
void hide();
MYGUI_OBSOLETE(" is deprecated, use : bool PointerManager::isVisible()")
bool isShow();
MYGUI_OBSOLETE(" is deprecated, use : bool ResourceManager::load(const std::string& _file)")
bool load(const std::string& _file);
void loadOldPointerFormat(
xml::ElementPtr _node,
std::string_view _file,
Version _version,
std::string_view _tag);
};
template<>
class MYGUI_EXPORT MemberObsolete<ResourceManager>
{
public:
MYGUI_OBSOLETE(" is deprecated, use : size_t ResourceManager::getCount()")
size_t getResourceCount() const;
MYGUI_OBSOLETE(
" is deprecated, use : IResourcePtr ResourceManager::getByName(std::string_view _name, bool _throw)")
IResourcePtr getResource(std::string_view _name, bool _throw = true) const;
};
template<>
class MYGUI_EXPORT MemberObsolete<SkinManager>
{
public:
MYGUI_OBSOLETE(" is deprecated, use : ResourceSkin* SkinManager::getByName(std::string_view _name)")
ResourceSkin* getSkin(std::string_view _name) const;
MYGUI_OBSOLETE(" is deprecated, use : bool ResourceManager::load(const std::string& _file)")
bool load(const std::string& _file);
void loadOldSkinFormat(xml::ElementPtr _node, std::string_view _file, Version _version, std::string_view _tag);
};
template<>
class MYGUI_EXPORT MemberObsolete<WidgetManager>
{
public:
MYGUI_OBSOLETE(" is deprecated, use : void WidgetManager::destroyWidgets(VectorWidgetPtr &_widgets)")
void destroyWidgetsVector(VectorWidgetPtr& _widgets);
MYGUI_OBSOLETE(" is deprecated")
Widget* findWidgetT(std::string_view _name, bool _throw = true);
MYGUI_OBSOLETE(" is deprecated")
Widget* findWidgetT(std::string_view _name, std::string_view _prefix, bool _throw = true);
MYGUI_OBSOLETE(" is deprecated, use : void Widget::setProperty(std::string_view_key, std::string_view_value)")
void parse(Widget* _widget, std::string_view _key, std::string_view _value);
};
#endif // MYGUI_DONT_USE_OBSOLETE
class MYGUI_EXPORT BackwardCompatibility
{
public:
static bool checkProperty(Widget* _owner, std::string& _key, std::string& _value);
static void initialise();
static void shutdown();
static bool isIgnoreProperty(std::string_view _key);
static std::string_view getPropertyRename(std::string_view _propertyName);
static std::string_view getFactoryRename(std::string_view _categoryName, std::string_view _factoryName);
static std::string_view getSkinRename(std::string_view _skinName);
static void registerWidgetTypes();
};
} // namespace MyGUI
#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