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 %pragma(csharp) modulecode=%{
19 public static readonly int VISUAL_PROPERTY_TRANSFORM = NDalicManualPINVOKE.Visual_Property_TRANSFORM_get();
20 public static readonly int VISUAL_PROPERTY_PREMULTIPLIED_ALPHA = NDalicManualPINVOKE.Visual_Property_PREMULTIPLIED_ALPHA_get();
21 public static readonly int VISUAL_PROPERTY_MIX_COLOR = NDalicManualPINVOKE.Visual_Property_MIX_COLOR_get();
24 %typemap(cscode) Dali::Toolkit::Visual::Type %{
29 %typemap(cscode) Dali::Actor::Property %{
30 public static readonly int BATCH_PARENT = NDalicManualPINVOKE.Actor_Property_BATCH_PARENT_get();
31 public static readonly int SIBLING_ORDER = NDalicManualPINVOKE.Actor_Property_SIBLING_ORDER_get();
34 %typemap(cscode) Dali::Renderer::Property %{
35 public static readonly int BATCHING_ENABLED = NDalicManualPINVOKE.Renderer_Property_BATCHING_ENABLED_get();
38 %typemap(cscode) Dali::Renderer %{
39 public bool BatchingEnabled
44 GetProperty( Renderer.Property.BATCHING_ENABLED).Get( ref temp );
49 SetProperty( Renderer.Property.BATCHING_ENABLED, new Dali.Property.Value( value ) );
54 %typemap(cscode) Dali::Toolkit::Control::Property %{
55 public static readonly int TOOLTIP = NDalicManualPINVOKE.View_Property_TOOLTIP_get();
58 %typemap(cscode) Dali::Toolkit::ItemView::Property %{
59 public static readonly int LAYOUT = NDalicManualPINVOKE.ItemView_Property_LAYOUT_get();
62 %typemap(cscode) Dali::Toolkit::ItemView %{
63 public Dali.Property.Array Layout
67 Dali.Property.Array temp = new Dali.Property.Array();
68 GetProperty( ItemView.Property.LAYOUT).Get( temp );
73 SetProperty( ItemView.Property.LAYOUT, new Dali.Property.Value( value ) );
78 %typemap(cscode) Dali::Toolkit::Button::Property %{
79 public static readonly int UNSELECTED_VISUAL = NDalicManualPINVOKE.Button_Property_UNSELECTED_VISUAL_get();
80 public static readonly int SELECTED_VISUAL = NDalicManualPINVOKE.Button_Property_SELECTED_VISUAL_get();
81 public static readonly int DISABLED_SELECTED_VISUAL = NDalicManualPINVOKE.Button_Property_DISABLED_SELECTED_VISUAL_get();
82 public static readonly int DISABLED_UNSELECTED_VISUAL = NDalicManualPINVOKE.Button_Property_DISABLED_UNSELECTED_VISUAL_get();
83 public static readonly int UNSELECTED_BACKGROUND_VISUAL = NDalicManualPINVOKE.Button_Property_UNSELECTED_BACKGROUND_VISUAL_get();
84 public static readonly int SELECTED_BACKGROUND_VISUAL = NDalicManualPINVOKE.Button_Property_SELECTED_BACKGROUND_VISUAL_get();
85 public static readonly int DISABLED_UNSELECTED_BACKGROUND_VISUAL = NDalicManualPINVOKE.Button_Property_DISABLED_UNSELECTED_BACKGROUND_VISUAL_get();
86 public static readonly int DISABLED_SELECTED_BACKGROUND_VISUAL = NDalicManualPINVOKE.Button_Property_DISABLED_SELECTED_BACKGROUND_VISUAL_get();
87 public static readonly int LABEL_RELATIVE_ALIGNMENT = NDalicManualPINVOKE.Button_Property_LABEL_RELATIVE_ALIGNMENT_get();
88 public static readonly int LABEL_PADDING = NDalicManualPINVOKE.Button_Property_LABEL_PADDING_get();
89 public static readonly int VISUAL_PADDING = NDalicManualPINVOKE.Button_Property_VISUAL_PADDING_get();