1
#ifndef __WIDGET_TYPES_H__
2
#define __WIDGET_TYPES_H__
5
#include "WidgetStyle.h"
6
#include "PossibleValue.h"
11
public MyGUI::Singleton<WidgetTypes>
17
WidgetStyle* findWidgetStyle(const std::string& _type);
18
WidgetStyle* findWidgetStyleBySkin(const std::string& _skinName);
19
typedef std::vector<std::string> VectorString;
20
VectorString findPossibleValues(const std::string& _name);
24
void addWidgetSkinType(const std::string& _type, const std::string& _skin, const std::string& _group, const std::string& _button_name);
26
const SkinGroups& getSkinGroups() const;
28
VectorWidgetType getWidgetTypes() const;
31
void loadWidgets(MyGUI::xml::ElementPtr _node, const std::string& _file, MyGUI::Version _version);
32
void loadValues(MyGUI::xml::ElementPtr _node, const std::string& _file, MyGUI::Version _version);
34
WidgetStyle* getWidgetType(const std::string& _name);
36
PossibleValue* getPossibleValue(const std::string& _name);
39
size_t updateDeep(WidgetStyle* _style);
42
VectorWidgetType mWidgetTypes;
43
SkinGroups mSkinGroups;
44
VectorPossibleValue mPossibleValues;
49
#endif // __WIDGET_TYPES_H__
1
#ifndef _65c6bab3_d7e3_4691_999e_653b8974ff23_
2
#define _65c6bab3_d7e3_4691_999e_653b8974ff23_
5
#include "WidgetStyle.h"
6
#include "PossibleValue.h"
12
public MyGUI::Singleton<WidgetTypes>
18
WidgetStyle* findWidgetStyle(const std::string& _type);
19
WidgetStyle* findWidgetStyleBySkin(const std::string& _skinName);
20
typedef std::vector<std::string> VectorString;
21
VectorString findPossibleValues(const std::string& _name);
25
void addWidgetSkinType(const std::string& _type, const std::string& _skin, const std::string& _group, const std::string& _button_name);
27
const SkinGroups& getSkinGroups() const;
29
VectorWidgetType getWidgetTypes() const;
32
void loadWidgets(MyGUI::xml::ElementPtr _node, const std::string& _file, MyGUI::Version _version);
33
void loadValues(MyGUI::xml::ElementPtr _node, const std::string& _file, MyGUI::Version _version);
35
WidgetStyle* getWidgetType(const std::string& _name);
37
PossibleValue* getPossibleValue(const std::string& _name);
40
size_t updateDepth(WidgetStyle* _style);
43
VectorWidgetType mWidgetTypes;
44
SkinGroups mSkinGroups;
45
VectorPossibleValue mPossibleValues;