553c56e6febc8895027970d612635ce2827f6519
[platform/core/uifw/dali-csharp-binder.git] / dali-csharp-binder / src / devel-property-wrap.cpp
1 /*
2  * Copyright (c) 2017 Samsung Electronics Co., Ltd.
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  *
16  */
17
18 #ifndef CSHARP_DEVEL_PROPERTY
19 #define CSHARP_DEVEL_PROPERTY
20 #endif
21
22 #include "common.h"
23
24 #include <dali/devel-api/actors/actor-devel.h>
25 #include <dali/devel-api/rendering/renderer-devel.h>
26 #include <dali-toolkit/devel-api/controls/control-devel.h>
27 #include <dali-toolkit/devel-api/controls/buttons/button-devel.h>
28 #include <dali-toolkit/devel-api/controls/buttons/button-devel.h>
29 #include <dali-toolkit/public-api/visuals/visual-properties.h>
30 #include <dali-toolkit/public-api/controls/text-controls/hidden-input-properties.h>
31
32 #ifdef __cplusplus
33 extern "C" {
34 #endif
35
36 SWIGEXPORT int SWIGSTDCALL CSharp_Actor_Property_SIBLING_ORDER_get() {
37
38   return Dali::DevelActor::Property::SIBLING_ORDER;
39 }
40
41 SWIGEXPORT int SWIGSTDCALL CSharp_Actor_Property_OPACITY_get() {
42
43   return Dali::DevelActor::Property::OPACITY;
44 }
45
46 SWIGEXPORT int SWIGSTDCALL CSharp_Actor_Property_SCREEN_POSITION_get() {
47
48   return Dali::DevelActor::Property::SCREEN_POSITION;
49 }
50
51 SWIGEXPORT int SWIGSTDCALL CSharp_Actor_Property_POSITION_USES_ANCHOR_POINT_get() {
52
53   return Dali::DevelActor::Property::POSITION_USES_ANCHOR_POINT;
54 }
55
56 SWIGEXPORT int SWIGSTDCALL CSharp_Actor_Property_INHERIT_LAYOUT_DIRECTION_get() {
57   return Dali::DevelActor::Property::INHERIT_LAYOUT_DIRECTION;
58 }
59
60 SWIGEXPORT int SWIGSTDCALL CSharp_Actor_Property_LAYOUT_DIRECTION_get() {
61   return Dali::DevelActor::Property::LAYOUT_DIRECTION;
62 }
63
64 SWIGEXPORT int SWIGSTDCALL CSharp_View_Property_TOOLTIP_get() {
65   int jresult ;
66   int result;
67
68   result = (int)Dali::Toolkit::DevelControl::Property::TOOLTIP;
69   jresult = (int)result;
70   return jresult;
71 }
72
73 SWIGEXPORT int SWIGSTDCALL CSharp_View_Property_STATE_get() {
74   int jresult ;
75   int result;
76
77   result = (int)Dali::Toolkit::DevelControl::Property::STATE;
78   jresult = (int)result;
79   return jresult;
80 }
81
82 SWIGEXPORT int SWIGSTDCALL CSharp_View_Property_SUB_STATE_get() {
83   int jresult ;
84   int result;
85
86   result = (int)Dali::Toolkit::DevelControl::Property::SUB_STATE;
87   jresult = (int)result;
88   return jresult;
89 }
90
91 SWIGEXPORT int SWIGSTDCALL CSharp_View_Property_LEFT_FOCUSABLE_ACTOR_ID_get() {
92   return Dali::Toolkit::DevelControl::Property::LEFT_FOCUSABLE_ACTOR_ID;
93 }
94
95 SWIGEXPORT int SWIGSTDCALL CSharp_View_Property_RIGHT_FOCUSABLE_ACTOR_ID_get() {
96   return Dali::Toolkit::DevelControl::Property::RIGHT_FOCUSABLE_ACTOR_ID;
97 }
98
99 SWIGEXPORT int SWIGSTDCALL CSharp_View_Property_UP_FOCUSABLE_ACTOR_ID_get() {
100   return Dali::Toolkit::DevelControl::Property::UP_FOCUSABLE_ACTOR_ID;
101 }
102
103 SWIGEXPORT int SWIGSTDCALL CSharp_View_Property_DOWN_FOCUSABLE_ACTOR_ID_get() {
104   return Dali::Toolkit::DevelControl::Property::DOWN_FOCUSABLE_ACTOR_ID;
105 }
106
107 SWIGEXPORT int SWIGSTDCALL CSharp_ItemView_Property_LAYOUT_get() {
108   int jresult ;
109   int result;
110
111   result = (int)Dali::Toolkit::ItemView::Property::LAYOUT;
112   jresult = (int)result;
113   return jresult;
114 }
115
116 SWIGEXPORT int SWIGSTDCALL CSharp_Button_Property_UNSELECTED_VISUAL_get() {
117   int jresult ;
118   int result;
119
120   result = (int)Dali::Toolkit::DevelButton::Property::UNSELECTED_VISUAL;
121   jresult = (int)result;
122   return jresult;
123 }
124
125 SWIGEXPORT int SWIGSTDCALL CSharp_Button_Property_SELECTED_VISUAL_get() {
126   int jresult ;
127   int result;
128
129   result = (int)Dali::Toolkit::DevelButton::Property::SELECTED_VISUAL;
130   jresult = (int)result;
131   return jresult;
132 }
133
134 SWIGEXPORT int SWIGSTDCALL CSharp_Button_Property_DISABLED_SELECTED_VISUAL_get() {
135   int jresult ;
136   int result;
137
138   result = (int)Dali::Toolkit::DevelButton::Property::DISABLED_SELECTED_VISUAL;
139   jresult = (int)result;
140   return jresult;
141 }
142
143 SWIGEXPORT int SWIGSTDCALL CSharp_Button_Property_DISABLED_UNSELECTED_VISUAL_get() {
144   int jresult ;
145   int result;
146
147   result = (int)Dali::Toolkit::DevelButton::Property::DISABLED_UNSELECTED_VISUAL;
148   jresult = (int)result;
149   return jresult;
150 }
151
152 SWIGEXPORT int SWIGSTDCALL CSharp_Button_Property_UNSELECTED_BACKGROUND_VISUAL_get() {
153   int jresult ;
154   int result;
155
156   result = (int)Dali::Toolkit::DevelButton::Property::UNSELECTED_BACKGROUND_VISUAL;
157   jresult = (int)result;
158   return jresult;
159 }
160
161 SWIGEXPORT int SWIGSTDCALL CSharp_Button_Property_SELECTED_BACKGROUND_VISUAL_get() {
162   int jresult ;
163   int result;
164
165   result = (int)Dali::Toolkit::DevelButton::Property::SELECTED_BACKGROUND_VISUAL;
166   jresult = (int)result;
167   return jresult;
168 }
169
170 SWIGEXPORT int SWIGSTDCALL CSharp_Button_Property_DISABLED_UNSELECTED_BACKGROUND_VISUAL_get() {
171   int jresult ;
172   int result;
173
174   result = (int)Dali::Toolkit::DevelButton::Property::DISABLED_UNSELECTED_BACKGROUND_VISUAL;
175   jresult = (int)result;
176   return jresult;
177 }
178
179 SWIGEXPORT int SWIGSTDCALL CSharp_Button_Property_DISABLED_SELECTED_BACKGROUND_VISUAL_get() {
180   int jresult ;
181   int result;
182
183   result = (int)Dali::Toolkit::DevelButton::Property::DISABLED_SELECTED_BACKGROUND_VISUAL;
184   jresult = (int)result;
185   return jresult;
186 }
187
188 SWIGEXPORT int SWIGSTDCALL CSharp_Button_Property_LABEL_RELATIVE_ALIGNMENT_get() {
189   int jresult ;
190   int result;
191
192   result = (int)Dali::Toolkit::DevelButton::Property::LABEL_RELATIVE_ALIGNMENT;
193   jresult = (int)result;
194   return jresult;
195 }
196
197 SWIGEXPORT int SWIGSTDCALL CSharp_Button_Property_LABEL_PADDING_get() {
198   int jresult ;
199   int result;
200
201   result = (int)Dali::Toolkit::DevelButton::Property::LABEL_PADDING;
202   jresult = (int)result;
203   return jresult;
204 }
205
206 SWIGEXPORT int SWIGSTDCALL CSharp_Button_Property_VISUAL_PADDING_get() {
207   int jresult ;
208   int result;
209
210   result = (int)Dali::Toolkit::DevelButton::Property::VISUAL_PADDING;
211   jresult = (int)result;
212   return jresult;
213 }
214
215 SWIGEXPORT int SWIGSTDCALL CSharp_Visual_Property_TRANSFORM_get() {
216   int jresult ;
217   int result;
218
219   result = (int)Dali::Toolkit::Visual::Property::TRANSFORM;
220   jresult = (int)result;
221   return jresult;
222 }
223
224 SWIGEXPORT int SWIGSTDCALL CSharp_Visual_Property_PREMULTIPLIED_ALPHA_get() {
225   int jresult ;
226   int result;
227
228   result = (int)Dali::Toolkit::Visual::Property::PREMULTIPLIED_ALPHA;
229   jresult = (int)result;
230   return jresult;
231 }
232
233 SWIGEXPORT int SWIGSTDCALL CSharp_Visual_Property_MIX_COLOR_get() {
234   int jresult ;
235   int result;
236
237   result = (int)Dali::Toolkit::Visual::Property::MIX_COLOR;
238   jresult = (int)result;
239   return jresult;
240 }
241
242 SWIGEXPORT int SWIGSTDCALL CSharp_TextLabel_Property_PIXEL_SIZE_get() {
243   int jresult ;
244   int result;
245
246   result = (int)Dali::Toolkit::TextLabel::Property::PIXEL_SIZE;
247   jresult = (int)result;
248   return jresult;
249 }
250
251 SWIGEXPORT int SWIGSTDCALL CSharp_TextLabel_Property_ELLIPSIS_get() {
252   int jresult ;
253   int result;
254
255   result = (int)Dali::Toolkit::TextLabel::Property::ELLIPSIS;
256   jresult = (int)result;
257   return jresult;
258 }
259
260 SWIGEXPORT int SWIGSTDCALL CSharp_TextLabel_Property_AUTO_SCROLL_STOP_MODE_get() {
261   int jresult ;
262   int result;
263
264   result = (int)Dali::Toolkit::TextLabel::Property::AUTO_SCROLL_STOP_MODE;
265   jresult = (int)result;
266   return jresult;
267 }
268
269 SWIGEXPORT int SWIGSTDCALL CSharp_TextLabel_Property_AUTO_SCROLL_LOOP_DELAY_get() {
270   int jresult ;
271   int result;
272
273   result = (int)Dali::Toolkit::TextLabel::Property::AUTO_SCROLL_LOOP_DELAY;
274   jresult = (int)result;
275   return jresult;
276 }
277
278 SWIGEXPORT int SWIGSTDCALL CSharp_HIDDENINPUT_PROPERTY_MODE_get() {
279   int jresult ;
280   int result;
281
282   {
283     try {
284       result = (int)Dali::Toolkit::HiddenInput::Property::MODE;
285     } catch (std::out_of_range& e) {
286       {
287         SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
288       };
289     } catch (std::exception& e) {
290       {
291         SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
292       };
293     } catch (Dali::DaliException e) {
294       {
295         SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
296       };
297     } catch (...) {
298       {
299         SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
300       };
301     }
302   }
303
304   jresult = (int)result;
305   return jresult;
306 }
307
308 SWIGEXPORT int SWIGSTDCALL CSharp_HIDDENINPUT_PROPERTY_SUBSTITUTE_CHARACTER_get() {
309   int jresult ;
310   int result;
311
312   {
313     try {
314       result = (int)Dali::Toolkit::HiddenInput::Property::SUBSTITUTE_CHARACTER;
315     } catch (std::out_of_range& e) {
316       {
317         SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
318       };
319     } catch (std::exception& e) {
320       {
321         SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
322       };
323     } catch (Dali::DaliException e) {
324       {
325         SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
326       };
327     } catch (...) {
328       {
329         SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
330       };
331     }
332   }
333
334   jresult = (int)result;
335   return jresult;
336 }
337
338 SWIGEXPORT int SWIGSTDCALL CSharp_HIDDENINPUT_PROPERTY_SUBSTITUTE_COUNT_get() {
339   int jresult ;
340   int result;
341
342   {
343     try {
344       result = (int)Dali::Toolkit::HiddenInput::Property::SUBSTITUTE_COUNT;
345     } catch (std::out_of_range& e) {
346       {
347         SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
348       };
349     } catch (std::exception& e) {
350       {
351         SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
352       };
353     } catch (Dali::DaliException e) {
354       {
355         SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
356       };
357     } catch (...) {
358       {
359         SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
360       };
361     }
362   }
363
364   jresult = (int)result;
365   return jresult;
366 }
367
368 SWIGEXPORT int SWIGSTDCALL CSharp_HIDDENINPUT_PROPERTY_SHOW_LAST_CHARACTER_DURATION_get() {
369   int jresult ;
370   int result;
371
372   {
373     try {
374       result = (int)Dali::Toolkit::HiddenInput::Property::SHOW_LAST_CHARACTER_DURATION;
375     } catch (std::out_of_range& e) {
376       {
377         SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
378       };
379     } catch (std::exception& e) {
380       {
381         SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
382       };
383     } catch (Dali::DaliException e) {
384       {
385         SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
386       };
387     } catch (...) {
388       {
389         SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
390       };
391     }
392   }
393
394   jresult = (int)result;
395   return jresult;
396 }
397
398 SWIGEXPORT int SWIGSTDCALL CSharp_TextLabel_Property_LINE_COUNT_get() {
399   int jresult ;
400   int result;
401
402   result = (int)Dali::Toolkit::TextLabel::Property::LINE_COUNT;
403   jresult = (int)result;
404   return jresult;
405 }
406
407 SWIGEXPORT int SWIGSTDCALL CSharp_TextLabel_Property_LINE_WRAP_MODE_get() {
408   int jresult ;
409   int result;
410
411   result = (int)Dali::Toolkit::TextLabel::Property::LINE_WRAP_MODE;
412   jresult = (int)result;
413   return jresult;
414 }
415
416 SWIGEXPORT int SWIGSTDCALL CSharp_TextEditor_Property_LINE_WRAP_MODE_get() {
417   int jresult ;
418   int result;
419
420   result = (int)Dali::Toolkit::TextEditor::Property::LINE_WRAP_MODE;
421   jresult = (int)result;
422   return jresult;
423 }
424
425 #ifdef __cplusplus
426 }
427 #endif
428