89005b4802d5f93d2a91e5a031cce9047471dcaf
[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_ItemView_Property_LAYOUT_get() {
79   int jresult ;
80   int result;
81
82   result = (int)Dali::Toolkit::DevelItemView::Property::LAYOUT;
83   jresult = (int)result;
84   return jresult;
85 }
86
87 SWIGEXPORT int SWIGSTDCALL CSharp_Button_Property_UNSELECTED_VISUAL_get() {
88   int jresult ;
89   int result;
90
91   result = (int)Dali::Toolkit::DevelButton::Property::UNSELECTED_VISUAL;
92   jresult = (int)result;
93   return jresult;
94 }
95
96 SWIGEXPORT int SWIGSTDCALL CSharp_Button_Property_SELECTED_VISUAL_get() {
97   int jresult ;
98   int result;
99
100   result = (int)Dali::Toolkit::DevelButton::Property::SELECTED_VISUAL;
101   jresult = (int)result;
102   return jresult;
103 }
104
105 SWIGEXPORT int SWIGSTDCALL CSharp_Button_Property_DISABLED_SELECTED_VISUAL_get() {
106   int jresult ;
107   int result;
108
109   result = (int)Dali::Toolkit::DevelButton::Property::DISABLED_SELECTED_VISUAL;
110   jresult = (int)result;
111   return jresult;
112 }
113
114 SWIGEXPORT int SWIGSTDCALL CSharp_Button_Property_DISABLED_UNSELECTED_VISUAL_get() {
115   int jresult ;
116   int result;
117
118   result = (int)Dali::Toolkit::DevelButton::Property::DISABLED_UNSELECTED_VISUAL;
119   jresult = (int)result;
120   return jresult;
121 }
122
123 SWIGEXPORT int SWIGSTDCALL CSharp_Button_Property_UNSELECTED_BACKGROUND_VISUAL_get() {
124   int jresult ;
125   int result;
126
127   result = (int)Dali::Toolkit::DevelButton::Property::UNSELECTED_BACKGROUND_VISUAL;
128   jresult = (int)result;
129   return jresult;
130 }
131
132 SWIGEXPORT int SWIGSTDCALL CSharp_Button_Property_SELECTED_BACKGROUND_VISUAL_get() {
133   int jresult ;
134   int result;
135
136   result = (int)Dali::Toolkit::DevelButton::Property::SELECTED_BACKGROUND_VISUAL;
137   jresult = (int)result;
138   return jresult;
139 }
140
141 SWIGEXPORT int SWIGSTDCALL CSharp_Button_Property_DISABLED_UNSELECTED_BACKGROUND_VISUAL_get() {
142   int jresult ;
143   int result;
144
145   result = (int)Dali::Toolkit::DevelButton::Property::DISABLED_UNSELECTED_BACKGROUND_VISUAL;
146   jresult = (int)result;
147   return jresult;
148 }
149
150 SWIGEXPORT int SWIGSTDCALL CSharp_Button_Property_DISABLED_SELECTED_BACKGROUND_VISUAL_get() {
151   int jresult ;
152   int result;
153
154   result = (int)Dali::Toolkit::DevelButton::Property::DISABLED_SELECTED_BACKGROUND_VISUAL;
155   jresult = (int)result;
156   return jresult;
157 }
158
159 SWIGEXPORT int SWIGSTDCALL CSharp_Button_Property_LABEL_RELATIVE_ALIGNMENT_get() {
160   int jresult ;
161   int result;
162
163   result = (int)Dali::Toolkit::DevelButton::Property::LABEL_RELATIVE_ALIGNMENT;
164   jresult = (int)result;
165   return jresult;
166 }
167
168 SWIGEXPORT int SWIGSTDCALL CSharp_Button_Property_LABEL_PADDING_get() {
169   int jresult ;
170   int result;
171
172   result = (int)Dali::Toolkit::DevelButton::Property::LABEL_PADDING;
173   jresult = (int)result;
174   return jresult;
175 }
176
177 SWIGEXPORT int SWIGSTDCALL CSharp_Button_Property_VISUAL_PADDING_get() {
178   int jresult ;
179   int result;
180
181   result = (int)Dali::Toolkit::DevelButton::Property::VISUAL_PADDING;
182   jresult = (int)result;
183   return jresult;
184 }
185
186 SWIGEXPORT int SWIGSTDCALL CSharp_Visual_Property_TRANSFORM_get() {
187   int jresult ;
188   int result;
189
190   result = (int)Dali::Toolkit::DevelVisual::Property::TRANSFORM;
191   jresult = (int)result;
192   return jresult;
193 }
194
195 SWIGEXPORT int SWIGSTDCALL CSharp_Visual_Property_PREMULTIPLIED_ALPHA_get() {
196   int jresult ;
197   int result;
198
199   result = (int)Dali::Toolkit::DevelVisual::Property::PREMULTIPLIED_ALPHA;
200   jresult = (int)result;
201   return jresult;
202 }
203
204 SWIGEXPORT int SWIGSTDCALL CSharp_Visual_Property_MIX_COLOR_get() {
205   int jresult ;
206   int result;
207
208   result = (int)Dali::Toolkit::DevelVisual::Property::MIX_COLOR;
209   jresult = (int)result;
210   return jresult;
211 }
212
213 #ifdef __cplusplus
214 }
215 #endif
216