a1d85ddaa90b2fa43131e257054fca2a7ed0c0da
[platform/core/uifw/dali-toolkit.git] / plugins / dali-swig / manual / cpp / 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/scrollable/item-view/item-view-devel.h>
28 #include <dali-toolkit/devel-api/controls/buttons/button-devel.h>
29 #include <dali-toolkit/devel-api/controls/buttons/button-devel.h>
30 #include <dali-toolkit/devel-api/visuals/visual-properties-devel.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_View_Property_TOOLTIP_get() {
57   int jresult ;
58   int result;
59
60   result = (int)Dali::Toolkit::DevelControl::Property::TOOLTIP;
61   jresult = (int)result;
62   return jresult;
63 }
64
65 SWIGEXPORT int SWIGSTDCALL CSharp_View_Property_STATE_get() {
66   int jresult ;
67   int result;
68
69   result = (int)Dali::Toolkit::DevelControl::Property::STATE;
70   jresult = (int)result;
71   return jresult;
72 }
73
74 SWIGEXPORT int SWIGSTDCALL CSharp_View_Property_SUB_STATE_get() {
75   int jresult ;
76   int result;
77
78   result = (int)Dali::Toolkit::DevelControl::Property::SUB_STATE;
79   jresult = (int)result;
80   return jresult;
81 }
82
83 SWIGEXPORT int SWIGSTDCALL CSharp_View_Property_LEFT_FOCUSABLE_ACTOR_ID_get() {
84   return Dali::Toolkit::DevelControl::Property::LEFT_FOCUSABLE_ACTOR_ID;
85 }
86
87 SWIGEXPORT int SWIGSTDCALL CSharp_View_Property_RIGHT_FOCUSABLE_ACTOR_ID_get() {
88   return Dali::Toolkit::DevelControl::Property::RIGHT_FOCUSABLE_ACTOR_ID;
89 }
90
91 SWIGEXPORT int SWIGSTDCALL CSharp_View_Property_UP_FOCUSABLE_ACTOR_ID_get() {
92   return Dali::Toolkit::DevelControl::Property::UP_FOCUSABLE_ACTOR_ID;
93 }
94
95 SWIGEXPORT int SWIGSTDCALL CSharp_View_Property_DOWN_FOCUSABLE_ACTOR_ID_get() {
96   return Dali::Toolkit::DevelControl::Property::DOWN_FOCUSABLE_ACTOR_ID;
97 }
98
99 SWIGEXPORT int SWIGSTDCALL CSharp_ItemView_Property_LAYOUT_get() {
100   int jresult ;
101   int result;
102
103   result = (int)Dali::Toolkit::DevelItemView::Property::LAYOUT;
104   jresult = (int)result;
105   return jresult;
106 }
107
108 SWIGEXPORT int SWIGSTDCALL CSharp_Button_Property_UNSELECTED_VISUAL_get() {
109   int jresult ;
110   int result;
111
112   result = (int)Dali::Toolkit::DevelButton::Property::UNSELECTED_VISUAL;
113   jresult = (int)result;
114   return jresult;
115 }
116
117 SWIGEXPORT int SWIGSTDCALL CSharp_Button_Property_SELECTED_VISUAL_get() {
118   int jresult ;
119   int result;
120
121   result = (int)Dali::Toolkit::DevelButton::Property::SELECTED_VISUAL;
122   jresult = (int)result;
123   return jresult;
124 }
125
126 SWIGEXPORT int SWIGSTDCALL CSharp_Button_Property_DISABLED_SELECTED_VISUAL_get() {
127   int jresult ;
128   int result;
129
130   result = (int)Dali::Toolkit::DevelButton::Property::DISABLED_SELECTED_VISUAL;
131   jresult = (int)result;
132   return jresult;
133 }
134
135 SWIGEXPORT int SWIGSTDCALL CSharp_Button_Property_DISABLED_UNSELECTED_VISUAL_get() {
136   int jresult ;
137   int result;
138
139   result = (int)Dali::Toolkit::DevelButton::Property::DISABLED_UNSELECTED_VISUAL;
140   jresult = (int)result;
141   return jresult;
142 }
143
144 SWIGEXPORT int SWIGSTDCALL CSharp_Button_Property_UNSELECTED_BACKGROUND_VISUAL_get() {
145   int jresult ;
146   int result;
147
148   result = (int)Dali::Toolkit::DevelButton::Property::UNSELECTED_BACKGROUND_VISUAL;
149   jresult = (int)result;
150   return jresult;
151 }
152
153 SWIGEXPORT int SWIGSTDCALL CSharp_Button_Property_SELECTED_BACKGROUND_VISUAL_get() {
154   int jresult ;
155   int result;
156
157   result = (int)Dali::Toolkit::DevelButton::Property::SELECTED_BACKGROUND_VISUAL;
158   jresult = (int)result;
159   return jresult;
160 }
161
162 SWIGEXPORT int SWIGSTDCALL CSharp_Button_Property_DISABLED_UNSELECTED_BACKGROUND_VISUAL_get() {
163   int jresult ;
164   int result;
165
166   result = (int)Dali::Toolkit::DevelButton::Property::DISABLED_UNSELECTED_BACKGROUND_VISUAL;
167   jresult = (int)result;
168   return jresult;
169 }
170
171 SWIGEXPORT int SWIGSTDCALL CSharp_Button_Property_DISABLED_SELECTED_BACKGROUND_VISUAL_get() {
172   int jresult ;
173   int result;
174
175   result = (int)Dali::Toolkit::DevelButton::Property::DISABLED_SELECTED_BACKGROUND_VISUAL;
176   jresult = (int)result;
177   return jresult;
178 }
179
180 SWIGEXPORT int SWIGSTDCALL CSharp_Button_Property_LABEL_RELATIVE_ALIGNMENT_get() {
181   int jresult ;
182   int result;
183
184   result = (int)Dali::Toolkit::DevelButton::Property::LABEL_RELATIVE_ALIGNMENT;
185   jresult = (int)result;
186   return jresult;
187 }
188
189 SWIGEXPORT int SWIGSTDCALL CSharp_Button_Property_LABEL_PADDING_get() {
190   int jresult ;
191   int result;
192
193   result = (int)Dali::Toolkit::DevelButton::Property::LABEL_PADDING;
194   jresult = (int)result;
195   return jresult;
196 }
197
198 SWIGEXPORT int SWIGSTDCALL CSharp_Button_Property_VISUAL_PADDING_get() {
199   int jresult ;
200   int result;
201
202   result = (int)Dali::Toolkit::DevelButton::Property::VISUAL_PADDING;
203   jresult = (int)result;
204   return jresult;
205 }
206
207 SWIGEXPORT int SWIGSTDCALL CSharp_Visual_Property_TRANSFORM_get() {
208   int jresult ;
209   int result;
210
211   result = (int)Dali::Toolkit::DevelVisual::Property::TRANSFORM;
212   jresult = (int)result;
213   return jresult;
214 }
215
216 SWIGEXPORT int SWIGSTDCALL CSharp_Visual_Property_PREMULTIPLIED_ALPHA_get() {
217   int jresult ;
218   int result;
219
220   result = (int)Dali::Toolkit::DevelVisual::Property::PREMULTIPLIED_ALPHA;
221   jresult = (int)result;
222   return jresult;
223 }
224
225 SWIGEXPORT int SWIGSTDCALL CSharp_Visual_Property_MIX_COLOR_get() {
226   int jresult ;
227   int result;
228
229   result = (int)Dali::Toolkit::DevelVisual::Property::MIX_COLOR;
230   jresult = (int)result;
231   return jresult;
232 }
233
234 #ifdef __cplusplus
235 }
236 #endif
237