Added C# bindings for Window focus event and NPatchVisual property
[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 #include <dali-toolkit/devel-api/visuals/image-visual-properties-devel.h>
32
33 #ifdef __cplusplus
34 extern "C" {
35 #endif
36
37 SWIGEXPORT int SWIGSTDCALL CSharp_Actor_Property_SIBLING_ORDER_get() {
38
39   return Dali::DevelActor::Property::SIBLING_ORDER;
40 }
41
42 SWIGEXPORT int SWIGSTDCALL CSharp_Actor_Property_OPACITY_get() {
43
44   return Dali::DevelActor::Property::OPACITY;
45 }
46
47 SWIGEXPORT int SWIGSTDCALL CSharp_Actor_Property_SCREEN_POSITION_get() {
48
49   return Dali::DevelActor::Property::SCREEN_POSITION;
50 }
51
52 SWIGEXPORT int SWIGSTDCALL CSharp_Actor_Property_POSITION_USES_ANCHOR_POINT_get() {
53
54   return Dali::DevelActor::Property::POSITION_USES_ANCHOR_POINT;
55 }
56
57 SWIGEXPORT int SWIGSTDCALL CSharp_View_Property_TOOLTIP_get() {
58   int jresult ;
59   int result;
60
61   result = (int)Dali::Toolkit::DevelControl::Property::TOOLTIP;
62   jresult = (int)result;
63   return jresult;
64 }
65
66 SWIGEXPORT int SWIGSTDCALL CSharp_View_Property_STATE_get() {
67   int jresult ;
68   int result;
69
70   result = (int)Dali::Toolkit::DevelControl::Property::STATE;
71   jresult = (int)result;
72   return jresult;
73 }
74
75 SWIGEXPORT int SWIGSTDCALL CSharp_View_Property_SUB_STATE_get() {
76   int jresult ;
77   int result;
78
79   result = (int)Dali::Toolkit::DevelControl::Property::SUB_STATE;
80   jresult = (int)result;
81   return jresult;
82 }
83
84 SWIGEXPORT int SWIGSTDCALL CSharp_View_Property_LEFT_FOCUSABLE_ACTOR_ID_get() {
85   return Dali::Toolkit::DevelControl::Property::LEFT_FOCUSABLE_ACTOR_ID;
86 }
87
88 SWIGEXPORT int SWIGSTDCALL CSharp_View_Property_RIGHT_FOCUSABLE_ACTOR_ID_get() {
89   return Dali::Toolkit::DevelControl::Property::RIGHT_FOCUSABLE_ACTOR_ID;
90 }
91
92 SWIGEXPORT int SWIGSTDCALL CSharp_View_Property_UP_FOCUSABLE_ACTOR_ID_get() {
93   return Dali::Toolkit::DevelControl::Property::UP_FOCUSABLE_ACTOR_ID;
94 }
95
96 SWIGEXPORT int SWIGSTDCALL CSharp_View_Property_DOWN_FOCUSABLE_ACTOR_ID_get() {
97   return Dali::Toolkit::DevelControl::Property::DOWN_FOCUSABLE_ACTOR_ID;
98 }
99
100 SWIGEXPORT int SWIGSTDCALL CSharp_ItemView_Property_LAYOUT_get() {
101   int jresult ;
102   int result;
103
104   result = (int)Dali::Toolkit::DevelItemView::Property::LAYOUT;
105   jresult = (int)result;
106   return jresult;
107 }
108
109 SWIGEXPORT int SWIGSTDCALL CSharp_Button_Property_UNSELECTED_VISUAL_get() {
110   int jresult ;
111   int result;
112
113   result = (int)Dali::Toolkit::DevelButton::Property::UNSELECTED_VISUAL;
114   jresult = (int)result;
115   return jresult;
116 }
117
118 SWIGEXPORT int SWIGSTDCALL CSharp_Button_Property_SELECTED_VISUAL_get() {
119   int jresult ;
120   int result;
121
122   result = (int)Dali::Toolkit::DevelButton::Property::SELECTED_VISUAL;
123   jresult = (int)result;
124   return jresult;
125 }
126
127 SWIGEXPORT int SWIGSTDCALL CSharp_Button_Property_DISABLED_SELECTED_VISUAL_get() {
128   int jresult ;
129   int result;
130
131   result = (int)Dali::Toolkit::DevelButton::Property::DISABLED_SELECTED_VISUAL;
132   jresult = (int)result;
133   return jresult;
134 }
135
136 SWIGEXPORT int SWIGSTDCALL CSharp_Button_Property_DISABLED_UNSELECTED_VISUAL_get() {
137   int jresult ;
138   int result;
139
140   result = (int)Dali::Toolkit::DevelButton::Property::DISABLED_UNSELECTED_VISUAL;
141   jresult = (int)result;
142   return jresult;
143 }
144
145 SWIGEXPORT int SWIGSTDCALL CSharp_Button_Property_UNSELECTED_BACKGROUND_VISUAL_get() {
146   int jresult ;
147   int result;
148
149   result = (int)Dali::Toolkit::DevelButton::Property::UNSELECTED_BACKGROUND_VISUAL;
150   jresult = (int)result;
151   return jresult;
152 }
153
154 SWIGEXPORT int SWIGSTDCALL CSharp_Button_Property_SELECTED_BACKGROUND_VISUAL_get() {
155   int jresult ;
156   int result;
157
158   result = (int)Dali::Toolkit::DevelButton::Property::SELECTED_BACKGROUND_VISUAL;
159   jresult = (int)result;
160   return jresult;
161 }
162
163 SWIGEXPORT int SWIGSTDCALL CSharp_Button_Property_DISABLED_UNSELECTED_BACKGROUND_VISUAL_get() {
164   int jresult ;
165   int result;
166
167   result = (int)Dali::Toolkit::DevelButton::Property::DISABLED_UNSELECTED_BACKGROUND_VISUAL;
168   jresult = (int)result;
169   return jresult;
170 }
171
172 SWIGEXPORT int SWIGSTDCALL CSharp_Button_Property_DISABLED_SELECTED_BACKGROUND_VISUAL_get() {
173   int jresult ;
174   int result;
175
176   result = (int)Dali::Toolkit::DevelButton::Property::DISABLED_SELECTED_BACKGROUND_VISUAL;
177   jresult = (int)result;
178   return jresult;
179 }
180
181 SWIGEXPORT int SWIGSTDCALL CSharp_Button_Property_LABEL_RELATIVE_ALIGNMENT_get() {
182   int jresult ;
183   int result;
184
185   result = (int)Dali::Toolkit::DevelButton::Property::LABEL_RELATIVE_ALIGNMENT;
186   jresult = (int)result;
187   return jresult;
188 }
189
190 SWIGEXPORT int SWIGSTDCALL CSharp_Button_Property_LABEL_PADDING_get() {
191   int jresult ;
192   int result;
193
194   result = (int)Dali::Toolkit::DevelButton::Property::LABEL_PADDING;
195   jresult = (int)result;
196   return jresult;
197 }
198
199 SWIGEXPORT int SWIGSTDCALL CSharp_Button_Property_VISUAL_PADDING_get() {
200   int jresult ;
201   int result;
202
203   result = (int)Dali::Toolkit::DevelButton::Property::VISUAL_PADDING;
204   jresult = (int)result;
205   return jresult;
206 }
207
208 SWIGEXPORT int SWIGSTDCALL CSharp_Visual_Property_TRANSFORM_get() {
209   int jresult ;
210   int result;
211
212   result = (int)Dali::Toolkit::DevelVisual::Property::TRANSFORM;
213   jresult = (int)result;
214   return jresult;
215 }
216
217 SWIGEXPORT int SWIGSTDCALL CSharp_Visual_Property_PREMULTIPLIED_ALPHA_get() {
218   int jresult ;
219   int result;
220
221   result = (int)Dali::Toolkit::DevelVisual::Property::PREMULTIPLIED_ALPHA;
222   jresult = (int)result;
223   return jresult;
224 }
225
226 SWIGEXPORT int SWIGSTDCALL CSharp_Visual_Property_MIX_COLOR_get() {
227   int jresult ;
228   int result;
229
230   result = (int)Dali::Toolkit::DevelVisual::Property::MIX_COLOR;
231   jresult = (int)result;
232   return jresult;
233 }
234
235 SWIGEXPORT int SWIGSTDCALL CSharp_Image_Visual_BORDER_get() {
236   int jresult ;
237   int result;
238
239   result = (int)Dali::Toolkit::DevelImageVisual::Property::BORDER;
240   jresult = (int)result;
241   return jresult;
242 }
243
244 #ifdef __cplusplus
245 }
246 #endif
247