~ubuntu-branches/ubuntu/vivid/mygui/vivid

« back to all changes in this revision

Viewing changes to Tools/LayoutEditor/WidgetStyle.h

  • Committer: Package Import Robot
  • Author(s): Scott Howard, Bret Curtis, Scott Howard
  • Date: 2014-09-18 17:57:48 UTC
  • mfrom: (1.1.1)
  • Revision ID: package-import@ubuntu.com-20140918175748-dd8va78mvpw1jbes
Tags: 3.2.1-1
[ Bret Curtis ]
* Updated license for majority of files from LGPL to Expat (MIT)

[ Scott Howard ]
* New upstream release
* Updated patch to add build option for system GLEW libraries
* All patches accepted upstream except shared_libraries.patch
* Bumped SONAME due to dropped symbols, updated *.symbols and package
  names
* Updated license of debian/* to Expat with permission of all authors
* Don't install Doxygen autogenerated md5 and map files (thanks
  lintian)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#ifndef __WIDGET_STYLE_H__
2
 
#define __WIDGET_STYLE_H__
3
 
 
4
 
#include <MyGUI.h>
5
 
 
6
 
namespace tools
7
 
{
8
 
        struct WidgetStyle;
9
 
        typedef std::vector<WidgetStyle*> VectorWidgetType;
10
 
 
11
 
        struct WidgetStyle
12
 
        {
13
 
                WidgetStyle(const std::string& _name) :
14
 
                        name(_name),
15
 
                        parent(false),
16
 
                        child(true),
17
 
                        resizeable(true),
18
 
                        many_items(false),
19
 
                        deep(0),
20
 
                        internalType(false)
21
 
                {
22
 
                }
23
 
 
24
 
                std::string name;
25
 
                std::string base;
26
 
                typedef std::vector<std::string> VectorString;
27
 
                VectorString skin;
28
 
                std::string default_skin;
29
 
                MyGUI::VectorStringPairs parameter;
30
 
                MyGUI::VectorStringPairs templateData;
31
 
                MyGUI::VectorStringPairs parameterData;
32
 
                // can have child widgets
33
 
                bool parent;
34
 
                // can have farent
35
 
                bool child;
36
 
                // can be selected
37
 
                bool resizeable;
38
 
                // have many items (such as ListBox, ComboBox, TabControl, MenuBar, etc...)
39
 
                bool many_items;
40
 
                // глубина иерархии
41
 
                size_t deep;
42
 
                bool internalType;
43
 
        };
44
 
 
45
 
} // namespace tools
46
 
 
47
 
#endif // __WIDGET_STYLE_H__
 
1
#ifndef _21378433_c369_4d76_a040_70432196a9db_
 
2
#define _21378433_c369_4d76_a040_70432196a9db_
 
3
 
 
4
#include <MyGUI.h>
 
5
 
 
6
namespace tools
 
7
{
 
8
 
 
9
        struct WidgetStyle;
 
10
        typedef std::vector<WidgetStyle*> VectorWidgetType;
 
11
 
 
12
        struct WidgetStyle
 
13
        {
 
14
                WidgetStyle(const std::string& _name) :
 
15
                        name(_name),
 
16
                        parent(false),
 
17
                        child(true),
 
18
                        resizeable(true),
 
19
                        many_items(false),
 
20
                        depth(0),
 
21
                        internalType(false)
 
22
                {
 
23
                }
 
24
 
 
25
                std::string name;
 
26
                std::string base;
 
27
                typedef std::vector<std::string> VectorString;
 
28
                VectorString skin;
 
29
                std::string default_skin;
 
30
                MyGUI::VectorStringPairs parameter;
 
31
                MyGUI::VectorStringPairs templateData;
 
32
                MyGUI::VectorStringPairs parameterData;
 
33
                // can have child widgets
 
34
                bool parent;
 
35
                // can have farent
 
36
                bool child;
 
37
                // can be selected
 
38
                bool resizeable;
 
39
                // have many items (such as ListBox, ComboBox, TabControl, MenuBar, etc...)
 
40
                bool many_items;
 
41
                // hierarchy depths
 
42
                size_t depth;
 
43
                bool internalType;
 
44
        };
 
45
 
 
46
}
 
47
 
 
48
#endif