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/buttons/button-devel.h>
28 #include <dali-toolkit/devel-api/controls/buttons/button-devel.h>
29 #include <dali-toolkit/public-api/visuals/visual-properties.h>
30 #include <dali-toolkit/public-api/controls/text-controls/hidden-input-properties.h>
36 SWIGEXPORT int SWIGSTDCALL CSharp_Actor_Property_SIBLING_ORDER_get() {
38 return Dali::DevelActor::Property::SIBLING_ORDER;
41 SWIGEXPORT int SWIGSTDCALL CSharp_Actor_Property_OPACITY_get() {
43 return Dali::DevelActor::Property::OPACITY;
46 SWIGEXPORT int SWIGSTDCALL CSharp_Actor_Property_SCREEN_POSITION_get() {
48 return Dali::DevelActor::Property::SCREEN_POSITION;
51 SWIGEXPORT int SWIGSTDCALL CSharp_Actor_Property_POSITION_USES_ANCHOR_POINT_get() {
53 return Dali::DevelActor::Property::POSITION_USES_ANCHOR_POINT;
56 SWIGEXPORT int SWIGSTDCALL CSharp_Actor_Property_INHERIT_LAYOUT_DIRECTION_get() {
57 return Dali::DevelActor::Property::INHERIT_LAYOUT_DIRECTION;
60 SWIGEXPORT int SWIGSTDCALL CSharp_Actor_Property_LAYOUT_DIRECTION_get() {
61 return Dali::DevelActor::Property::LAYOUT_DIRECTION;
64 SWIGEXPORT int SWIGSTDCALL CSharp_View_Property_TOOLTIP_get() {
68 result = (int)Dali::Toolkit::DevelControl::Property::TOOLTIP;
69 jresult = (int)result;
73 SWIGEXPORT int SWIGSTDCALL CSharp_View_Property_STATE_get() {
77 result = (int)Dali::Toolkit::DevelControl::Property::STATE;
78 jresult = (int)result;
82 SWIGEXPORT int SWIGSTDCALL CSharp_View_Property_SUB_STATE_get() {
86 result = (int)Dali::Toolkit::DevelControl::Property::SUB_STATE;
87 jresult = (int)result;
91 SWIGEXPORT int SWIGSTDCALL CSharp_View_Property_LEFT_FOCUSABLE_ACTOR_ID_get() {
92 return Dali::Toolkit::DevelControl::Property::LEFT_FOCUSABLE_ACTOR_ID;
95 SWIGEXPORT int SWIGSTDCALL CSharp_View_Property_RIGHT_FOCUSABLE_ACTOR_ID_get() {
96 return Dali::Toolkit::DevelControl::Property::RIGHT_FOCUSABLE_ACTOR_ID;
99 SWIGEXPORT int SWIGSTDCALL CSharp_View_Property_UP_FOCUSABLE_ACTOR_ID_get() {
100 return Dali::Toolkit::DevelControl::Property::UP_FOCUSABLE_ACTOR_ID;
103 SWIGEXPORT int SWIGSTDCALL CSharp_View_Property_DOWN_FOCUSABLE_ACTOR_ID_get() {
104 return Dali::Toolkit::DevelControl::Property::DOWN_FOCUSABLE_ACTOR_ID;
107 SWIGEXPORT int SWIGSTDCALL CSharp_ItemView_Property_LAYOUT_get() {
111 result = (int)Dali::Toolkit::ItemView::Property::LAYOUT;
112 jresult = (int)result;
116 SWIGEXPORT int SWIGSTDCALL CSharp_Button_Property_UNSELECTED_VISUAL_get() {
120 result = (int)Dali::Toolkit::DevelButton::Property::UNSELECTED_VISUAL;
121 jresult = (int)result;
125 SWIGEXPORT int SWIGSTDCALL CSharp_Button_Property_SELECTED_VISUAL_get() {
129 result = (int)Dali::Toolkit::DevelButton::Property::SELECTED_VISUAL;
130 jresult = (int)result;
134 SWIGEXPORT int SWIGSTDCALL CSharp_Button_Property_DISABLED_SELECTED_VISUAL_get() {
138 result = (int)Dali::Toolkit::DevelButton::Property::DISABLED_SELECTED_VISUAL;
139 jresult = (int)result;
143 SWIGEXPORT int SWIGSTDCALL CSharp_Button_Property_DISABLED_UNSELECTED_VISUAL_get() {
147 result = (int)Dali::Toolkit::DevelButton::Property::DISABLED_UNSELECTED_VISUAL;
148 jresult = (int)result;
152 SWIGEXPORT int SWIGSTDCALL CSharp_Button_Property_UNSELECTED_BACKGROUND_VISUAL_get() {
156 result = (int)Dali::Toolkit::DevelButton::Property::UNSELECTED_BACKGROUND_VISUAL;
157 jresult = (int)result;
161 SWIGEXPORT int SWIGSTDCALL CSharp_Button_Property_SELECTED_BACKGROUND_VISUAL_get() {
165 result = (int)Dali::Toolkit::DevelButton::Property::SELECTED_BACKGROUND_VISUAL;
166 jresult = (int)result;
170 SWIGEXPORT int SWIGSTDCALL CSharp_Button_Property_DISABLED_UNSELECTED_BACKGROUND_VISUAL_get() {
174 result = (int)Dali::Toolkit::DevelButton::Property::DISABLED_UNSELECTED_BACKGROUND_VISUAL;
175 jresult = (int)result;
179 SWIGEXPORT int SWIGSTDCALL CSharp_Button_Property_DISABLED_SELECTED_BACKGROUND_VISUAL_get() {
183 result = (int)Dali::Toolkit::DevelButton::Property::DISABLED_SELECTED_BACKGROUND_VISUAL;
184 jresult = (int)result;
188 SWIGEXPORT int SWIGSTDCALL CSharp_Button_Property_LABEL_RELATIVE_ALIGNMENT_get() {
192 result = (int)Dali::Toolkit::DevelButton::Property::LABEL_RELATIVE_ALIGNMENT;
193 jresult = (int)result;
197 SWIGEXPORT int SWIGSTDCALL CSharp_Button_Property_LABEL_PADDING_get() {
201 result = (int)Dali::Toolkit::DevelButton::Property::LABEL_PADDING;
202 jresult = (int)result;
206 SWIGEXPORT int SWIGSTDCALL CSharp_Button_Property_VISUAL_PADDING_get() {
210 result = (int)Dali::Toolkit::DevelButton::Property::VISUAL_PADDING;
211 jresult = (int)result;
215 SWIGEXPORT int SWIGSTDCALL CSharp_Visual_Property_TRANSFORM_get() {
219 result = (int)Dali::Toolkit::Visual::Property::TRANSFORM;
220 jresult = (int)result;
224 SWIGEXPORT int SWIGSTDCALL CSharp_Visual_Property_PREMULTIPLIED_ALPHA_get() {
228 result = (int)Dali::Toolkit::Visual::Property::PREMULTIPLIED_ALPHA;
229 jresult = (int)result;
233 SWIGEXPORT int SWIGSTDCALL CSharp_Visual_Property_MIX_COLOR_get() {
237 result = (int)Dali::Toolkit::Visual::Property::MIX_COLOR;
238 jresult = (int)result;
242 SWIGEXPORT int SWIGSTDCALL CSharp_TextLabel_Property_PIXEL_SIZE_get() {
246 result = (int)Dali::Toolkit::TextLabel::Property::PIXEL_SIZE;
247 jresult = (int)result;
251 SWIGEXPORT int SWIGSTDCALL CSharp_TextLabel_Property_ELLIPSIS_get() {
255 result = (int)Dali::Toolkit::TextLabel::Property::ELLIPSIS;
256 jresult = (int)result;
260 SWIGEXPORT int SWIGSTDCALL CSharp_TextLabel_Property_AUTO_SCROLL_STOP_MODE_get() {
264 result = (int)Dali::Toolkit::TextLabel::Property::AUTO_SCROLL_STOP_MODE;
265 jresult = (int)result;
269 SWIGEXPORT int SWIGSTDCALL CSharp_TextLabel_Property_AUTO_SCROLL_LOOP_DELAY_get() {
273 result = (int)Dali::Toolkit::TextLabel::Property::AUTO_SCROLL_LOOP_DELAY;
274 jresult = (int)result;
278 SWIGEXPORT int SWIGSTDCALL CSharp_HIDDENINPUT_PROPERTY_MODE_get() {
284 result = (int)Dali::Toolkit::HiddenInput::Property::MODE;
285 } catch (std::out_of_range& e) {
287 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
289 } catch (std::exception& e) {
291 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
293 } catch (Dali::DaliException e) {
295 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
299 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
304 jresult = (int)result;
308 SWIGEXPORT int SWIGSTDCALL CSharp_HIDDENINPUT_PROPERTY_SUBSTITUTE_CHARACTER_get() {
314 result = (int)Dali::Toolkit::HiddenInput::Property::SUBSTITUTE_CHARACTER;
315 } catch (std::out_of_range& e) {
317 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
319 } catch (std::exception& e) {
321 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
323 } catch (Dali::DaliException e) {
325 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
329 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
334 jresult = (int)result;
338 SWIGEXPORT int SWIGSTDCALL CSharp_HIDDENINPUT_PROPERTY_SUBSTITUTE_COUNT_get() {
344 result = (int)Dali::Toolkit::HiddenInput::Property::SUBSTITUTE_COUNT;
345 } catch (std::out_of_range& e) {
347 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
349 } catch (std::exception& e) {
351 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
353 } catch (Dali::DaliException e) {
355 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
359 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
364 jresult = (int)result;
368 SWIGEXPORT int SWIGSTDCALL CSharp_HIDDENINPUT_PROPERTY_SHOW_LAST_CHARACTER_DURATION_get() {
374 result = (int)Dali::Toolkit::HiddenInput::Property::SHOW_LAST_CHARACTER_DURATION;
375 } catch (std::out_of_range& e) {
377 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
379 } catch (std::exception& e) {
381 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
383 } catch (Dali::DaliException e) {
385 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
389 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
394 jresult = (int)result;
398 SWIGEXPORT int SWIGSTDCALL CSharp_TextLabel_Property_LINE_COUNT_get() {
402 result = (int)Dali::Toolkit::TextLabel::Property::LINE_COUNT;
403 jresult = (int)result;
407 SWIGEXPORT int SWIGSTDCALL CSharp_TextLabel_Property_LINE_WRAP_MODE_get() {
411 result = (int)Dali::Toolkit::TextLabel::Property::LINE_WRAP_MODE;
412 jresult = (int)result;
416 SWIGEXPORT int SWIGSTDCALL CSharp_TextEditor_Property_LINE_WRAP_MODE_get() {
420 result = (int)Dali::Toolkit::TextEditor::Property::LINE_WRAP_MODE;
421 jresult = (int)result;