1 // This file has been generated by Py++.
2
3 #include "boost/python.hpp"
4 #include "generators/include/python_CEGUI.h"
5 #include "StateImagery.pypp.hpp"
6
7 namespace bp = boost::python;
8
register_StateImagery_class()9 void register_StateImagery_class(){
10
11 { //::CEGUI::StateImagery
12 typedef bp::class_< CEGUI::StateImagery > StateImagery_exposer_t;
13 StateImagery_exposer_t StateImagery_exposer = StateImagery_exposer_t( "StateImagery", bp::init< >("*!\n\
14 \n\
15 Constructor\n\
16 *\n") );
17 bp::scope StateImagery_scope( StateImagery_exposer );
18 StateImagery_exposer.def( bp::init< CEGUI::String const & >(( bp::arg("name") ), "*!\n\
19 \n\
20 Constructor\n\
21 \n\
22 @param name\n\
23 Name of the state\n\
24 *\n") );
25 bp::implicitly_convertible< CEGUI::String const &, CEGUI::StateImagery >();
26 { //::CEGUI::StateImagery::addLayer
27
28 typedef void ( ::CEGUI::StateImagery::*addLayer_function_type )( ::CEGUI::LayerSpecification const & ) ;
29
30 StateImagery_exposer.def(
31 "addLayer"
32 , addLayer_function_type( &::CEGUI::StateImagery::addLayer )
33 , ( bp::arg("layer") )
34 , "*!\n\
35 \n\
36 Add an imagery LayerSpecification to this state.\n\
37 \n\
38 @param layer\n\
39 LayerSpecification to be added to this state (will be copied)\n\
40 \n\
41 @return\n\
42 Nothing.\n\
43 *\n" );
44
45 }
46 { //::CEGUI::StateImagery::clearLayers
47
48 typedef void ( ::CEGUI::StateImagery::*clearLayers_function_type )( ) ;
49
50 StateImagery_exposer.def(
51 "clearLayers"
52 , clearLayers_function_type( &::CEGUI::StateImagery::clearLayers )
53 , "*!\n\
54 \n\
55 Removed all LayerSpecifications from this state.\n\
56 \n\
57 @return\n\
58 Nothing.\n\
59 *\n" );
60
61 }
62 { //::CEGUI::StateImagery::getLayerIterator
63
64 typedef ::CEGUI::ConstVectorIterator< std::multiset< CEGUI::LayerSpecification > > ( ::CEGUI::StateImagery::*getLayerIterator_function_type )( ) const;
65
66 StateImagery_exposer.def(
67 "getLayerIterator"
68 , getLayerIterator_function_type( &::CEGUI::StateImagery::getLayerIterator )
69 , "! deprecated This function is deprecated. Instead the getLayerSpecifications will be used in the\
70 next version and getLayerSpecificationPointers can be used for editing.\n" );
71
72 }
73 { //::CEGUI::StateImagery::getLayerSpecificationPointers
74
75 typedef ::std::vector< CEGUI::LayerSpecification* > ( ::CEGUI::StateImagery::*getLayerSpecificationPointers_function_type )( ) ;
76
77 StateImagery_exposer.def(
78 "getLayerSpecificationPointers"
79 , getLayerSpecificationPointers_function_type( &::CEGUI::StateImagery::getLayerSpecificationPointers )
80 , "*!\n\
81 \n\
82 Returns a vector of pointers to the LayerSpecifications that are currently added to this\
83 StateImagery.\n\
84 If a LayerSpecification is added or removed from this StateImagery, then the pointers in\
85 this vector are\n\
86 not valid anymore. The function should then be called again to retrieve valid\
87 pointers.\n\
88 \n\
89 \note\n\
90 Whenever a pointer from this list is changed in a way that the multiset needs to be\
91 resorted, the sort\n\
92 function of this class must be called.\n\
93 \n\
94 @return\n\
95 A vector of pointers to the LayerSpecifications that are currently added to this\
96 StateImagery\n\
97 *\n" );
98
99 }
100 { //::CEGUI::StateImagery::getName
101
102 typedef ::CEGUI::String const & ( ::CEGUI::StateImagery::*getName_function_type )( ) const;
103
104 StateImagery_exposer.def(
105 "getName"
106 , getName_function_type( &::CEGUI::StateImagery::getName )
107 , bp::return_value_policy< bp::copy_const_reference >()
108 , "*!\n\
109 \n\
110 Return the name of this state.\n\
111 \n\
112 @return\n\
113 String object holding the name of the StateImagery object.\n\
114 *\n" );
115
116 }
117 { //::CEGUI::StateImagery::isClippedToDisplay
118
119 typedef bool ( ::CEGUI::StateImagery::*isClippedToDisplay_function_type )( ) const;
120
121 StateImagery_exposer.def(
122 "isClippedToDisplay"
123 , isClippedToDisplay_function_type( &::CEGUI::StateImagery::isClippedToDisplay )
124 , "*!\n\
125 \n\
126 Return whether this state imagery should be clipped to the display rather than the\
127 target window.\n\
128 \n\
129 Clipping to the display effectively implies that the imagery should be rendered\
130 unclipped.\n\
131 \n\
132 return\n\
133 - true if the imagery will be clipped to the display area.\n\
134 - false if the imagery will be clipped to the target window area.\n\
135 *\n" );
136
137 }
138 { //::CEGUI::StateImagery::render
139
140 typedef void ( ::CEGUI::StateImagery::*render_function_type )( ::CEGUI::Window &,::CEGUI::ColourRect const *,::CEGUI::Rectf const * ) const;
141
142 StateImagery_exposer.def(
143 "render"
144 , render_function_type( &::CEGUI::StateImagery::render )
145 , ( bp::arg("srcWindow"), bp::arg("modcols")=bp::object(), bp::arg("clipper")=bp::object() )
146 , "*!\n\
147 \n\
148 Render imagery for this state.\n\
149 \n\
150 @param srcWindow\n\
151 Window to use when convering BaseDim values to pixels.\n\
152 \n\
153 @return\n\
154 Nothing.\n\
155 *\n" );
156
157 }
158 { //::CEGUI::StateImagery::render
159
160 typedef void ( ::CEGUI::StateImagery::*render_function_type )( ::CEGUI::Window &,::CEGUI::Rectf const &,::CEGUI::ColourRect const *,::CEGUI::Rectf const * ) const;
161
162 StateImagery_exposer.def(
163 "render"
164 , render_function_type( &::CEGUI::StateImagery::render )
165 , ( bp::arg("srcWindow"), bp::arg("baseRect"), bp::arg("modcols")=bp::object(), bp::arg("clipper")=bp::object() )
166 , "*!\n\
167 \n\
168 Render imagery for this state.\n\
169 \n\
170 @param srcWindow\n\
171 Window to use when convering BaseDim values to pixels.\n\
172 \n\
173 @param baseRect\n\
174 Rect to use when convering BaseDim values to pixels.\n\
175 \n\
176 @return\n\
177 Nothing.\n\
178 *\n" );
179
180 }
181 { //::CEGUI::StateImagery::setClippedToDisplay
182
183 typedef void ( ::CEGUI::StateImagery::*setClippedToDisplay_function_type )( bool ) ;
184
185 StateImagery_exposer.def(
186 "setClippedToDisplay"
187 , setClippedToDisplay_function_type( &::CEGUI::StateImagery::setClippedToDisplay )
188 , ( bp::arg("setting") )
189 , "*!\n\
190 \n\
191 Set whether this state imagery should be clipped to the display rather than the target\
192 window.\n\
193 \n\
194 Clipping to the display effectively implies that the imagery should be rendered\
195 unclipped.\n\
196 \n\
197 @param setting\n\
198 - true if the imagery should be clipped to the display area.\n\
199 - false if the imagery should be clipped to the target window area.\n\
200 \n\
201 @return\n\
202 Nothing.\n\
203 *\n" );
204
205 }
206 { //::CEGUI::StateImagery::setName
207
208 typedef void ( ::CEGUI::StateImagery::*setName_function_type )( ::CEGUI::String const & ) ;
209
210 StateImagery_exposer.def(
211 "setName"
212 , setName_function_type( &::CEGUI::StateImagery::setName )
213 , ( bp::arg("name") )
214 , "*!\n\
215 \n\
216 Set the name of this state.\n\
217 \n\
218 @return\n\
219 String object holding the name of the StateImagery object.\n\
220 *\n" );
221
222 }
223 { //::CEGUI::StateImagery::sort
224
225 typedef void ( ::CEGUI::StateImagery::*sort_function_type )( ) ;
226
227 StateImagery_exposer.def(
228 "sort"
229 , sort_function_type( &::CEGUI::StateImagery::sort )
230 , "*!\n\
231 \n\
232 Sorts the LayerSpecifications after their priority. Whenever a LayerSpecification, which has\
233 been added\n\
234 to this StateImagery, is changed, this sort function should be called.\n\
235 *\n" );
236
237 }
238 { //::CEGUI::StateImagery::writeXMLToStream
239
240 typedef void ( ::CEGUI::StateImagery::*writeXMLToStream_function_type )( ::CEGUI::XMLSerializer & ) const;
241
242 StateImagery_exposer.def(
243 "writeXMLToStream"
244 , writeXMLToStream_function_type( &::CEGUI::StateImagery::writeXMLToStream )
245 , ( bp::arg("xml_stream") )
246 , "*!\n\
247 \n\
248 Writes an xml representation of this StateImagery to out_stream.\n\
249 \n\
250 @param xml_stream\n\
251 Stream where xml data should be output.\n\
252 \n\
253 \n\
254 @return\n\
255 Nothing.\n\
256 *\n" );
257
258 }
259 }
260
261 }
262