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

« back to all changes in this revision

Viewing changes to Wrappers/MyGUI.Managed/Generate/MyGUI.Managed_ProgressBar.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
 
/*!
2
 
        @file
3
 
        @author         Generate utility by Albert Semenov
4
 
        @date           01/2009
5
 
        @module
6
 
*/
7
 
#pragma once
8
 
 
9
 
#include "MyGUI.Managed_Widget.h"
10
 
 
11
 
namespace MyGUI
12
 
{
13
 
        namespace Managed
14
 
        {
15
 
 
16
 
                public ref class ProgressBar : public Widget
17
 
                {
18
 
 
19
 
                private:
20
 
                        typedef MyGUI::ProgressBar ThisType;
21
 
 
22
 
                public:
23
 
                        ProgressBar() : Widget() { }
24
 
 
25
 
                internal:
26
 
                        ProgressBar( MyGUI::ProgressBar* _native ) : Widget(_native) { }
27
 
                        ProgressBar( BaseWidget^ _parent, MyGUI::WidgetStyle _style, const std::string& _skin, const MyGUI::IntCoord& _coord, MyGUI::Align _align, const std::string& _layer, const std::string& _name )
28
 
                        {
29
 
                                CreateWidget(_parent, _style, _skin, _coord, _align, _layer, _name);
30
 
                        }
31
 
 
32
 
                        virtual const std::string& getClassTypeName() override { return ThisType::getClassTypeName(); }
33
 
 
34
 
                        static BaseWidget^ WidgetCreator(BaseWidget^ _parent, MyGUI::WidgetStyle _style, const std::string& _skin, const MyGUI::IntCoord& _coord, MyGUI::Align _align, const std::string& _layer, const std::string& _name)
35
 
                        {
36
 
                                return gcnew ProgressBar(_parent, _style, _skin, _coord, _align, _layer, _name);
37
 
                        }
38
 
 
39
 
 
40
 
                        //InsertPoint
41
 
 
42
 
   
43
 
 
44
 
 
45
 
   
46
 
 
47
 
 
48
 
   
49
 
 
50
 
 
51
 
   
52
 
 
53
 
 
54
 
   
55
 
 
56
 
 
57
 
   
58
 
 
59
 
 
60
 
        public:
61
 
                property Convert<MyGUI::FlowDirection>::Type FlowDirection
62
 
                {
63
 
                        Convert<MyGUI::FlowDirection>::Type get( )
64
 
                        {
65
 
                                MMYGUI_CHECK_NATIVE(mNative);
66
 
                                return Convert<MyGUI::FlowDirection>::To( static_cast<ThisType*>(mNative)->getFlowDirection() );
67
 
                        }
68
 
                        void set(Convert<MyGUI::FlowDirection>::Type _value)
69
 
                        {
70
 
                                MMYGUI_CHECK_NATIVE(mNative);
71
 
                                static_cast<ThisType*>(mNative)->setFlowDirection( Convert<MyGUI::FlowDirection>::From(_value) );
72
 
                        }
73
 
                }
74
 
        
75
 
 
76
 
 
77
 
        public:
78
 
                property Convert<bool>::Type ProgressAutoTrack
79
 
                {
80
 
                        Convert<bool>::Type get( )
81
 
                        {
82
 
                                MMYGUI_CHECK_NATIVE(mNative);
83
 
                                return Convert<bool>::To( static_cast<ThisType*>(mNative)->getProgressAutoTrack() );
84
 
                        }
85
 
                        void set(Convert<bool>::Type _value)
86
 
                        {
87
 
                                MMYGUI_CHECK_NATIVE(mNative);
88
 
                                static_cast<ThisType*>(mNative)->setProgressAutoTrack( Convert<bool>::From(_value) );
89
 
                        }
90
 
                }
91
 
        
92
 
 
93
 
 
94
 
        public:
95
 
                property Convert<size_t>::Type ProgressPosition
96
 
                {
97
 
                        Convert<size_t>::Type get( )
98
 
                        {
99
 
                                MMYGUI_CHECK_NATIVE(mNative);
100
 
                                return Convert<size_t>::To( static_cast<ThisType*>(mNative)->getProgressPosition() );
101
 
                        }
102
 
                        void set(Convert<size_t>::Type _value)
103
 
                        {
104
 
                                MMYGUI_CHECK_NATIVE(mNative);
105
 
                                static_cast<ThisType*>(mNative)->setProgressPosition( Convert<size_t>::From(_value) );
106
 
                        }
107
 
                }
108
 
        
109
 
 
110
 
 
111
 
        public:
112
 
                property Convert<size_t>::Type ProgressRange
113
 
                {
114
 
                        Convert<size_t>::Type get( )
115
 
                        {
116
 
                                MMYGUI_CHECK_NATIVE(mNative);
117
 
                                return Convert<size_t>::To( static_cast<ThisType*>(mNative)->getProgressRange() );
118
 
                        }
119
 
                        void set(Convert<size_t>::Type _value)
120
 
                        {
121
 
                                MMYGUI_CHECK_NATIVE(mNative);
122
 
                                static_cast<ThisType*>(mNative)->setProgressRange( Convert<size_t>::From(_value) );
123
 
                        }
124
 
                }
125
 
        
126
 
 
127
 
 
128
 
   
129
 
 
130
 
 
131
 
   
132
 
 
133
 
 
134
 
   
135
 
 
136
 
 
137
 
                };
138
 
 
139
 
        } // namespace Managed
140
 
} // namespace MyGUI