2 * Copyright (c) 2017 Samsung Electronics Co., Ltd.
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
8 * http://www.apache.org/licenses/LICENSE-2.0
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.
18 #ifndef CSHARP_DEVEL_PROPERTY
19 #define CSHARP_DEVEL_PROPERTY
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/controls/text-controls/text-editor-devel.h>
31 #include <dali-toolkit/devel-api/controls/text-controls/text-field-devel.h>
32 #include <dali-toolkit/devel-api/controls/text-controls/text-label-devel.h>
33 #include <dali-toolkit/devel-api/visuals/visual-properties-devel.h>
34 #include <dali-toolkit/devel-api/visuals/image-visual-properties-devel.h>
35 #include <dali-toolkit/devel-api/controls/text-controls/hidden-input-properties.h>
41 SWIGEXPORT int SWIGSTDCALL CSharp_Actor_Property_SIBLING_ORDER_get() {
43 return Dali::DevelActor::Property::SIBLING_ORDER;
46 SWIGEXPORT int SWIGSTDCALL CSharp_Actor_Property_OPACITY_get() {
48 return Dali::DevelActor::Property::OPACITY;
51 SWIGEXPORT int SWIGSTDCALL CSharp_Actor_Property_SCREEN_POSITION_get() {
53 return Dali::DevelActor::Property::SCREEN_POSITION;
56 SWIGEXPORT int SWIGSTDCALL CSharp_Actor_Property_POSITION_USES_ANCHOR_POINT_get() {
58 return Dali::DevelActor::Property::POSITION_USES_ANCHOR_POINT;
61 SWIGEXPORT int SWIGSTDCALL CSharp_View_Property_TOOLTIP_get() {
65 result = (int)Dali::Toolkit::DevelControl::Property::TOOLTIP;
66 jresult = (int)result;
70 SWIGEXPORT int SWIGSTDCALL CSharp_View_Property_STATE_get() {
74 result = (int)Dali::Toolkit::DevelControl::Property::STATE;
75 jresult = (int)result;
79 SWIGEXPORT int SWIGSTDCALL CSharp_View_Property_SUB_STATE_get() {
83 result = (int)Dali::Toolkit::DevelControl::Property::SUB_STATE;
84 jresult = (int)result;
88 SWIGEXPORT int SWIGSTDCALL CSharp_View_Property_LEFT_FOCUSABLE_ACTOR_ID_get() {
89 return Dali::Toolkit::DevelControl::Property::LEFT_FOCUSABLE_ACTOR_ID;
92 SWIGEXPORT int SWIGSTDCALL CSharp_View_Property_RIGHT_FOCUSABLE_ACTOR_ID_get() {
93 return Dali::Toolkit::DevelControl::Property::RIGHT_FOCUSABLE_ACTOR_ID;
96 SWIGEXPORT int SWIGSTDCALL CSharp_View_Property_UP_FOCUSABLE_ACTOR_ID_get() {
97 return Dali::Toolkit::DevelControl::Property::UP_FOCUSABLE_ACTOR_ID;
100 SWIGEXPORT int SWIGSTDCALL CSharp_View_Property_DOWN_FOCUSABLE_ACTOR_ID_get() {
101 return Dali::Toolkit::DevelControl::Property::DOWN_FOCUSABLE_ACTOR_ID;
104 SWIGEXPORT int SWIGSTDCALL CSharp_ItemView_Property_LAYOUT_get() {
108 result = (int)Dali::Toolkit::DevelItemView::Property::LAYOUT;
109 jresult = (int)result;
113 SWIGEXPORT int SWIGSTDCALL CSharp_Button_Property_UNSELECTED_VISUAL_get() {
117 result = (int)Dali::Toolkit::DevelButton::Property::UNSELECTED_VISUAL;
118 jresult = (int)result;
122 SWIGEXPORT int SWIGSTDCALL CSharp_Button_Property_SELECTED_VISUAL_get() {
126 result = (int)Dali::Toolkit::DevelButton::Property::SELECTED_VISUAL;
127 jresult = (int)result;
131 SWIGEXPORT int SWIGSTDCALL CSharp_Button_Property_DISABLED_SELECTED_VISUAL_get() {
135 result = (int)Dali::Toolkit::DevelButton::Property::DISABLED_SELECTED_VISUAL;
136 jresult = (int)result;
140 SWIGEXPORT int SWIGSTDCALL CSharp_Button_Property_DISABLED_UNSELECTED_VISUAL_get() {
144 result = (int)Dali::Toolkit::DevelButton::Property::DISABLED_UNSELECTED_VISUAL;
145 jresult = (int)result;
149 SWIGEXPORT int SWIGSTDCALL CSharp_Button_Property_UNSELECTED_BACKGROUND_VISUAL_get() {
153 result = (int)Dali::Toolkit::DevelButton::Property::UNSELECTED_BACKGROUND_VISUAL;
154 jresult = (int)result;
158 SWIGEXPORT int SWIGSTDCALL CSharp_Button_Property_SELECTED_BACKGROUND_VISUAL_get() {
162 result = (int)Dali::Toolkit::DevelButton::Property::SELECTED_BACKGROUND_VISUAL;
163 jresult = (int)result;
167 SWIGEXPORT int SWIGSTDCALL CSharp_Button_Property_DISABLED_UNSELECTED_BACKGROUND_VISUAL_get() {
171 result = (int)Dali::Toolkit::DevelButton::Property::DISABLED_UNSELECTED_BACKGROUND_VISUAL;
172 jresult = (int)result;
176 SWIGEXPORT int SWIGSTDCALL CSharp_Button_Property_DISABLED_SELECTED_BACKGROUND_VISUAL_get() {
180 result = (int)Dali::Toolkit::DevelButton::Property::DISABLED_SELECTED_BACKGROUND_VISUAL;
181 jresult = (int)result;
185 SWIGEXPORT int SWIGSTDCALL CSharp_Button_Property_LABEL_RELATIVE_ALIGNMENT_get() {
189 result = (int)Dali::Toolkit::DevelButton::Property::LABEL_RELATIVE_ALIGNMENT;
190 jresult = (int)result;
194 SWIGEXPORT int SWIGSTDCALL CSharp_Button_Property_LABEL_PADDING_get() {
198 result = (int)Dali::Toolkit::DevelButton::Property::LABEL_PADDING;
199 jresult = (int)result;
203 SWIGEXPORT int SWIGSTDCALL CSharp_Button_Property_VISUAL_PADDING_get() {
207 result = (int)Dali::Toolkit::DevelButton::Property::VISUAL_PADDING;
208 jresult = (int)result;
212 SWIGEXPORT int SWIGSTDCALL CSharp_Visual_Property_TRANSFORM_get() {
216 result = (int)Dali::Toolkit::DevelVisual::Property::TRANSFORM;
217 jresult = (int)result;
221 SWIGEXPORT int SWIGSTDCALL CSharp_Visual_Property_PREMULTIPLIED_ALPHA_get() {
225 result = (int)Dali::Toolkit::DevelVisual::Property::PREMULTIPLIED_ALPHA;
226 jresult = (int)result;
230 SWIGEXPORT int SWIGSTDCALL CSharp_Visual_Property_MIX_COLOR_get() {
234 result = (int)Dali::Toolkit::DevelVisual::Property::MIX_COLOR;
235 jresult = (int)result;
239 SWIGEXPORT int SWIGSTDCALL CSharp_Image_Visual_BORDER_get() {
243 result = (int)Dali::Toolkit::DevelImageVisual::Property::BORDER;
244 jresult = (int)result;
249 SWIGEXPORT int SWIGSTDCALL CSharp_TextLabel_Property_PIXEL_SIZE_get() {
253 result = (int)Dali::Toolkit::DevelTextLabel::Property::PIXEL_SIZE;
254 jresult = (int)result;
258 SWIGEXPORT int SWIGSTDCALL CSharp_TextLabel_Property_ELLIPSIS_get() {
262 result = (int)Dali::Toolkit::DevelTextLabel::Property::ELLIPSIS;
263 jresult = (int)result;
267 SWIGEXPORT int SWIGSTDCALL CSharp_TextLabel_Property_AUTO_SCROLL_STOP_MODE_get() {
271 result = (int)Dali::Toolkit::DevelTextLabel::Property::AUTO_SCROLL_STOP_MODE;
272 jresult = (int)result;
276 SWIGEXPORT int SWIGSTDCALL CSharp_TextLabel_Property_AUTO_SCROLL_LOOP_DELAY_get() {
280 result = (int)Dali::Toolkit::DevelTextLabel::Property::AUTO_SCROLL_LOOP_DELAY;
281 jresult = (int)result;
285 SWIGEXPORT int SWIGSTDCALL CSharp_HIDDENINPUT_PROPERTY_MODE_get() {
291 result = (int)Dali::Toolkit::HiddenInput::Property::MODE;
292 } catch (std::out_of_range& e) {
294 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
296 } catch (std::exception& e) {
298 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
302 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
306 jresult = (int)result;
310 SWIGEXPORT int SWIGSTDCALL CSharp_HIDDENINPUT_PROPERTY_SUBSTITUTE_CHARACTER_get() {
316 result = (int)Dali::Toolkit::HiddenInput::Property::SUBSTITUTE_CHARACTER;
317 } catch (std::out_of_range& e) {
319 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
321 } catch (std::exception& e) {
323 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
327 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
331 jresult = (int)result;
335 SWIGEXPORT int SWIGSTDCALL CSharp_HIDDENINPUT_PROPERTY_SUBSTITUTE_COUNT_get() {
341 result = (int)Dali::Toolkit::HiddenInput::Property::SUBSTITUTE_COUNT;
342 } catch (std::out_of_range& e) {
344 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
346 } catch (std::exception& e) {
348 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
352 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
356 jresult = (int)result;
360 SWIGEXPORT int SWIGSTDCALL CSharp_HIDDENINPUT_PROPERTY_SHOW_DURATION_get() {
366 result = (int)Dali::Toolkit::HiddenInput::Property::SHOW_DURATION;
367 } catch (std::out_of_range& e) {
369 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
371 } catch (std::exception& e) {
373 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
377 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
381 jresult = (int)result;