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