From: Kimmo Hoikka Date: Fri, 13 Jan 2017 13:51:10 +0000 (-0800) Subject: Merge "Added C# binding for properties in devel-api" into devel/master X-Git-Tag: dali_1.2.23~12 X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git;a=commitdiff_plain;h=edd703ba97ff54cc54f6e8734ba23a9bfbe63c7e;hp=1d9edc60657af31fc66b14769716a0b3b69cce37 Merge "Added C# binding for properties in devel-api" into devel/master --- diff --git a/plugins/dali-swig/Makefile.am b/plugins/dali-swig/Makefile.am index e1520bf..2f81c64 100755 --- a/plugins/dali-swig/Makefile.am +++ b/plugins/dali-swig/Makefile.am @@ -23,8 +23,8 @@ if BUILD_MCS all-local: libNDalic.so NDali.dll -libNDalic.so: automatic/cpp/dali_wrap.o manual/cpp/keyboard_focus_manager_wrap.o manual/cpp/view-wrapper-impl-wrap.o manual/cpp/callbackbase_wrap.o - g++ -shared automatic/cpp/dali_wrap.o manual/cpp/keyboard_focus_manager_wrap.o manual/cpp/view-wrapper-impl-wrap.o manual/cpp/callbackbase_wrap.o -o libNDalic.so $(DALICORE_LIBS) $(DALIADAPTOR_LIBS) $(DALITOOLKIT_LIBS) +libNDalic.so: automatic/cpp/dali_wrap.o manual/cpp/keyboard_focus_manager_wrap.o manual/cpp/view-wrapper-impl-wrap.o manual/cpp/callbackbase_wrap.o manual/cpp/devel-property-wrap.o + g++ -shared automatic/cpp/dali_wrap.o manual/cpp/keyboard_focus_manager_wrap.o manual/cpp/view-wrapper-impl-wrap.o manual/cpp/callbackbase_wrap.o manual/cpp/devel-property-wrap.o -o libNDalic.so $(DALICORE_LIBS) $(DALIADAPTOR_LIBS) $(DALITOOLKIT_LIBS) automatic/cpp/dali_wrap.o: $(BUILT_SOURCES) g++ -c -fpic $(CXXFLAGS) $(DALICORE_CFLAGS) $(DALIADAPTOR_CFLAGS) $(DALITOOLKIT_CFLAGS) automatic/cpp/dali_wrap.cpp -o automatic/cpp/dali_wrap.o @@ -38,6 +38,9 @@ manual/cpp/view-wrapper-impl-wrap.o: $(BUILT_SOURCES) manual/cpp/callbackbase_wrap.o: $(BUILT_SOURCES) g++ -c -fpic $(CXXFLAGS) $(DALICORE_CFLAGS) $(DALIADAPTOR_CFLAGS) $(DALITOOLKIT_CFLAGS) manual/cpp/callbackbase_wrap.cpp -o manual/cpp/callbackbase_wrap.o +manual/cpp/devel-property-wrap.o: $(BUILT_SOURCES) + g++ -c -fpic $(CXXFLAGS) $(DALICORE_CFLAGS) $(DALIADAPTOR_CFLAGS) $(DALITOOLKIT_CFLAGS) manual/cpp/devel-property-wrap.cpp -o manual/cpp/devel-property-wrap.o + NDali.dll: $(BUILT_SOURCES) $(MCS) -nologo -target:library -out:NDali.dll automatic/csharp/*.cs manual/csharp/*.cs views/*.cs diff --git a/plugins/dali-swig/SWIG/dali.i b/plugins/dali-swig/SWIG/dali.i index e4da86b..09963f4 100755 --- a/plugins/dali-swig/SWIG/dali.i +++ b/plugins/dali-swig/SWIG/dali.i @@ -282,6 +282,8 @@ using namespace Dali::Toolkit; %include name-changed.i %include property-value.i %include dali-operator.i +%include devel-properties.i + %include dali-core.i %include dali-adaptor.i %include dali-toolkit.i diff --git a/plugins/dali-swig/SWIG/devel-properties.i b/plugins/dali-swig/SWIG/devel-properties.i new file mode 100644 index 0000000..9cd8714 --- /dev/null +++ b/plugins/dali-swig/SWIG/devel-properties.i @@ -0,0 +1,80 @@ +/* + * Copyright (c) 2017 Samsung Electronics Co., Ltd. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + */ + +%typemap(cscode) Dali::Actor::Property %{ + public static readonly int BATCH_PARENT = NDalicManualPINVOKE.Actor_Property_BATCH_PARENT_get(); + public static readonly int SIBLING_ORDER = NDalicManualPINVOKE.Actor_Property_SIBLING_ORDER_get(); +%} + +%typemap(cscode) Dali::Renderer::Property %{ + public static readonly int BATCHING_ENABLED = NDalicManualPINVOKE.Renderer_Property_BATCHING_ENABLED_get(); +%} + +%typemap(cscode) Dali::Renderer %{ + public bool BatchingEnabled + { + get + { + bool temp = false; + GetProperty( Renderer.Property.BATCHING_ENABLED).Get( ref temp ); + return temp; + } + set + { + SetProperty( Renderer.Property.BATCHING_ENABLED, new Dali.Property.Value( value ) ); + } + } +%} + +%typemap(cscode) Dali::Toolkit::Control::Property %{ + public static readonly int TOOLTIP = NDalicManualPINVOKE.View_Property_TOOLTIP_get(); +%} + +%typemap(cscode) Dali::Toolkit::ItemView::Property %{ + public static readonly int LAYOUT = NDalicManualPINVOKE.ItemView_Property_LAYOUT_get(); +%} + +%typemap(cscode) Dali::Toolkit::ItemView %{ + public Dali.Property.Array Layout + { + get + { + Dali.Property.Array temp = new Dali.Property.Array(); + GetProperty( ItemView.Property.LAYOUT).Get( temp ); + return temp; + } + set + { + SetProperty( ItemView.Property.LAYOUT, new Dali.Property.Value( value ) ); + } + } +%} + +%typemap(cscode) Dali::Toolkit::Button::Property %{ + public static readonly int UNSELECTED_VISUAL = NDalicManualPINVOKE.Button_Property_UNSELECTED_VISUAL_get(); + public static readonly int SELECTED_VISUAL = NDalicManualPINVOKE.Button_Property_SELECTED_VISUAL_get(); + public static readonly int DISABLED_SELECTED_VISUAL = NDalicManualPINVOKE.Button_Property_DISABLED_SELECTED_VISUAL_get(); + public static readonly int DISABLED_UNSELECTED_VISUAL = NDalicManualPINVOKE.Button_Property_DISABLED_UNSELECTED_VISUAL_get(); + public static readonly int UNSELECTED_BACKGROUND_VISUAL = NDalicManualPINVOKE.Button_Property_UNSELECTED_BACKGROUND_VISUAL_get(); + public static readonly int SELECTED_BACKGROUND_VISUAL = NDalicManualPINVOKE.Button_Property_SELECTED_BACKGROUND_VISUAL_get(); + public static readonly int DISABLED_UNSELECTED_BACKGROUND_VISUAL = NDalicManualPINVOKE.Button_Property_DISABLED_UNSELECTED_BACKGROUND_VISUAL_get(); + public static readonly int DISABLED_SELECTED_BACKGROUND_VISUAL = NDalicManualPINVOKE.Button_Property_DISABLED_SELECTED_BACKGROUND_VISUAL_get(); + public static readonly int LABEL_RELATIVE_ALIGNMENT = NDalicManualPINVOKE.Button_Property_LABEL_RELATIVE_ALIGNMENT_get(); + public static readonly int LABEL_PADDING = NDalicManualPINVOKE.Button_Property_LABEL_PADDING_get(); + public static readonly int VISUAL_PADDING = NDalicManualPINVOKE.Button_Property_VISUAL_PADDING_get(); +%} + diff --git a/plugins/dali-swig/SWIG/events/actor-event.i b/plugins/dali-swig/SWIG/events/actor-event.i index f65e658..93f803c 100755 --- a/plugins/dali-swig/SWIG/events/actor-event.i +++ b/plugins/dali-swig/SWIG/events/actor-event.i @@ -85,6 +85,34 @@ } } + public bool BatchParent + { + get + { + bool temp = false; + GetProperty( Actor.Property.BATCH_PARENT).Get( ref temp ); + return temp; + } + set + { + SetProperty( Actor.Property.BATCH_PARENT, new Dali.Property.Value( value ) ); + } + } + + public int SiblingOrder + { + get + { + int temp = 0; + GetProperty( Actor.Property.SIBLING_ORDER).Get( ref temp ); + return temp; + } + set + { + SetProperty( Actor.Property.SIBLING_ORDER, new Dali.Property.Value( value ) ); + } + } + public void Show() { SetVisible(true); @@ -94,7 +122,6 @@ { SetVisible(false); } - %} %enddef diff --git a/plugins/dali-swig/SWIG/events/button-event.i b/plugins/dali-swig/SWIG/events/button-event.i index bfef5ad..7dbf6af 100644 --- a/plugins/dali-swig/SWIG/events/button-event.i +++ b/plugins/dali-swig/SWIG/events/button-event.i @@ -312,6 +312,159 @@ public class StateChangedEventArgs : EventArgs return ret; } + public Dali.Property.Map UnselectedVisual + { + get + { + Dali.Property.Map temp = new Dali.Property.Map(); + GetProperty( Button.Property.UNSELECTED_VISUAL).Get( temp ); + return temp; + } + set + { + SetProperty( Button.Property.UNSELECTED_VISUAL, new Dali.Property.Value( value ) ); + } + } + + public Dali.Property.Map SelectedVisual + { + get + { + Dali.Property.Map temp = new Dali.Property.Map(); + GetProperty( Button.Property.SELECTED_VISUAL).Get( temp ); + return temp; + } + set + { + SetProperty( Button.Property.SELECTED_VISUAL, new Dali.Property.Value( value ) ); + } + } + + public Dali.Property.Map DisabledSelectedVisual + { + get + { + Dali.Property.Map temp = new Dali.Property.Map(); + GetProperty( Button.Property.DISABLED_SELECTED_VISUAL).Get( temp ); + return temp; + } + set + { + SetProperty( Button.Property.DISABLED_SELECTED_VISUAL, new Dali.Property.Value( value ) ); + } + } + + public Dali.Property.Map DisabledUnselectedVisual + { + get + { + Dali.Property.Map temp = new Dali.Property.Map(); + GetProperty( Button.Property.DISABLED_UNSELECTED_VISUAL).Get( temp ); + return temp; + } + set + { + SetProperty( Button.Property.DISABLED_UNSELECTED_VISUAL, new Dali.Property.Value( value ) ); + } + } + + public Dali.Property.Map UnselectedBackgroundVisual + { + get + { + Dali.Property.Map temp = new Dali.Property.Map(); + GetProperty( Button.Property.UNSELECTED_BACKGROUND_VISUAL).Get( temp ); + return temp; + } + set + { + SetProperty( Button.Property.UNSELECTED_BACKGROUND_VISUAL, new Dali.Property.Value( value ) ); + } + } + + public Dali.Property.Map SelectedBackgroundVisual + { + get + { + Dali.Property.Map temp = new Dali.Property.Map(); + GetProperty( Button.Property.SELECTED_BACKGROUND_VISUAL).Get( temp ); + return temp; + } + set + { + SetProperty( Button.Property.SELECTED_BACKGROUND_VISUAL, new Dali.Property.Value( value ) ); + } + } + + public Dali.Property.Map DisabledUnselectedBackgroundVisual + { + get + { + Dali.Property.Map temp = new Dali.Property.Map(); + GetProperty( Button.Property.DISABLED_UNSELECTED_BACKGROUND_VISUAL).Get( temp ); + return temp; + } + set + { + SetProperty( Button.Property.DISABLED_UNSELECTED_BACKGROUND_VISUAL, new Dali.Property.Value( value ) ); + } + } + + public Dali.Property.Map DisabledSelectedBackgroundVisual + { + get + { + Dali.Property.Map temp = new Dali.Property.Map(); + GetProperty( Button.Property.DISABLED_SELECTED_BACKGROUND_VISUAL).Get( temp ); + return temp; + } + set + { + SetProperty( Button.Property.DISABLED_SELECTED_BACKGROUND_VISUAL, new Dali.Property.Value( value ) ); + } + } + + public string LabelRelativeAlignment + { + get + { + string temp; + GetProperty( Button.Property.LABEL_RELATIVE_ALIGNMENT).Get( out temp ); + return temp; + } + set + { + SetProperty( Button.Property.LABEL_RELATIVE_ALIGNMENT, new Dali.Property.Value( value ) ); + } + } + + public Vector4 LabelPadding + { + get + { + Vector4 temp = new Vector4(0.0f,0.0f,0.0f,0.0f); + GetProperty( Button.Property.LABEL_PADDING).Get( temp ); + return temp; + } + set + { + SetProperty( Button.Property.LABEL_PADDING, new Dali.Property.Value( value ) ); + } + } + + public Vector4 VisualPadding + { + get + { + Vector4 temp = new Vector4(0.0f,0.0f,0.0f,0.0f); + GetProperty( Button.Property.VISUAL_PADDING).Get( temp ); + return temp; + } + set + { + SetProperty( Button.Property.VISUAL_PADDING, new Dali.Property.Value( value ) ); + } + } %} %enddef diff --git a/plugins/dali-swig/SWIG/events/control-event.i b/plugins/dali-swig/SWIG/events/control-event.i index 9d32da5..55c2435 100755 --- a/plugins/dali-swig/SWIG/events/control-event.i +++ b/plugins/dali-swig/SWIG/events/control-event.i @@ -27,7 +27,6 @@ %define CONTROL_EVENTHANDLER_TYPEMAP_HELPER(NameSpace, ClassName) %typemap(cscode) NameSpace::ClassName %{ - /** * @brief Event arguments that passed via KeyInputFocusGained signal * @@ -845,18 +844,30 @@ return ret; } - %} - - %enddef + public Dali.Property.Map Tooltip + { + get + { + Dali.Property.Map temp = new Dali.Property.Map(); + GetProperty( View.Property.TOOLTIP).Get( temp ); + return temp; + } + set + { + SetProperty( View.Property.TOOLTIP, new Dali.Property.Value( value ) ); + } + } + %} +%enddef %define DALI_CONTROL_EVENTHANDLER_PARAM( NameSpace, ClassName) CONTROL_EVENTHANDLER_TYPEMAP_EVENTARG( NameSpace, ClassName); CONTROL_EVENTHANDLER_TYPEMAP_HELPER( NameSpace, ClassName); - %enddef +%enddef - namespace Dali +namespace Dali { DALI_CONTROL_EVENTHANDLER_PARAM( Dali::Toolkit, Control); } diff --git a/plugins/dali-swig/manual/cpp/devel-property-wrap.cpp b/plugins/dali-swig/manual/cpp/devel-property-wrap.cpp new file mode 100644 index 0000000..562b822 --- /dev/null +++ b/plugins/dali-swig/manual/cpp/devel-property-wrap.cpp @@ -0,0 +1,181 @@ +/* + * Copyright (c) 2017 Samsung Electronics Co., Ltd. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + */ + +#ifndef CSHARP_DEVEL_PROPERTY +#define CSHARP_DEVEL_PROPERTY +#endif + +#include "common.h" + +#include +#include +#include +#include +#include + +#ifdef __cplusplus +extern "C" { +#endif + +SWIGEXPORT int SWIGSTDCALL CSharp_Actor_Property_BATCH_PARENT_get() { + int jresult ; + int result; + + result = (int)Dali::DevelActor::Property::BATCH_PARENT; + jresult = (int)result; + return jresult; +} + +SWIGEXPORT int SWIGSTDCALL CSharp_Actor_Property_SIBLING_ORDER_get() { + int jresult ; + int result; + + result = (int)Dali::DevelActor::Property::SIBLING_ORDER; + jresult = (int)result; + return jresult; +} + +SWIGEXPORT int SWIGSTDCALL CSharp_Renderer_Property_BATCHING_ENABLED_get() { + int jresult ; + int result; + + result = (int)Dali::DevelRenderer::Property::BATCHING_ENABLED; + jresult = (int)result; + return jresult; +} + +SWIGEXPORT int SWIGSTDCALL CSharp_View_Property_TOOLTIP_get() { + int jresult ; + int result; + + result = (int)Dali::Toolkit::DevelControl::Property::TOOLTIP; + jresult = (int)result; + return jresult; +} + +SWIGEXPORT int SWIGSTDCALL CSharp_ItemView_Property_LAYOUT_get() { + int jresult ; + int result; + + result = (int)Dali::Toolkit::DevelItemView::Property::LAYOUT; + jresult = (int)result; + return jresult; +} + +SWIGEXPORT int SWIGSTDCALL CSharp_Button_Property_UNSELECTED_VISUAL_get() { + int jresult ; + int result; + + result = (int)Dali::Toolkit::DevelButton::Property::UNSELECTED_VISUAL; + jresult = (int)result; + return jresult; +} + +SWIGEXPORT int SWIGSTDCALL CSharp_Button_Property_SELECTED_VISUAL_get() { + int jresult ; + int result; + + result = (int)Dali::Toolkit::DevelButton::Property::SELECTED_VISUAL; + jresult = (int)result; + return jresult; +} + +SWIGEXPORT int SWIGSTDCALL CSharp_Button_Property_DISABLED_SELECTED_VISUAL_get() { + int jresult ; + int result; + + result = (int)Dali::Toolkit::DevelButton::Property::DISABLED_SELECTED_VISUAL; + jresult = (int)result; + return jresult; +} + +SWIGEXPORT int SWIGSTDCALL CSharp_Button_Property_DISABLED_UNSELECTED_VISUAL_get() { + int jresult ; + int result; + + result = (int)Dali::Toolkit::DevelButton::Property::DISABLED_UNSELECTED_VISUAL; + jresult = (int)result; + return jresult; +} + +SWIGEXPORT int SWIGSTDCALL CSharp_Button_Property_UNSELECTED_BACKGROUND_VISUAL_get() { + int jresult ; + int result; + + result = (int)Dali::Toolkit::DevelButton::Property::UNSELECTED_BACKGROUND_VISUAL; + jresult = (int)result; + return jresult; +} + +SWIGEXPORT int SWIGSTDCALL CSharp_Button_Property_SELECTED_BACKGROUND_VISUAL_get() { + int jresult ; + int result; + + result = (int)Dali::Toolkit::DevelButton::Property::SELECTED_BACKGROUND_VISUAL; + jresult = (int)result; + return jresult; +} + +SWIGEXPORT int SWIGSTDCALL CSharp_Button_Property_DISABLED_UNSELECTED_BACKGROUND_VISUAL_get() { + int jresult ; + int result; + + result = (int)Dali::Toolkit::DevelButton::Property::DISABLED_UNSELECTED_BACKGROUND_VISUAL; + jresult = (int)result; + return jresult; +} + +SWIGEXPORT int SWIGSTDCALL CSharp_Button_Property_DISABLED_SELECTED_BACKGROUND_VISUAL_get() { + int jresult ; + int result; + + result = (int)Dali::Toolkit::DevelButton::Property::DISABLED_SELECTED_BACKGROUND_VISUAL; + jresult = (int)result; + return jresult; +} + +SWIGEXPORT int SWIGSTDCALL CSharp_Button_Property_LABEL_RELATIVE_ALIGNMENT_get() { + int jresult ; + int result; + + result = (int)Dali::Toolkit::DevelButton::Property::LABEL_RELATIVE_ALIGNMENT; + jresult = (int)result; + return jresult; +} + +SWIGEXPORT int SWIGSTDCALL CSharp_Button_Property_LABEL_PADDING_get() { + int jresult ; + int result; + + result = (int)Dali::Toolkit::DevelButton::Property::LABEL_PADDING; + jresult = (int)result; + return jresult; +} + +SWIGEXPORT int SWIGSTDCALL CSharp_Button_Property_VISUAL_PADDING_get() { + int jresult ; + int result; + + result = (int)Dali::Toolkit::DevelButton::Property::VISUAL_PADDING; + jresult = (int)result; + return jresult; +} + +#ifdef __cplusplus +} +#endif + diff --git a/plugins/dali-swig/manual/csharp/ManualPINVOKE.cs b/plugins/dali-swig/manual/csharp/ManualPINVOKE.cs index 9a88a14..c982572 100755 --- a/plugins/dali-swig/manual/csharp/ManualPINVOKE.cs +++ b/plugins/dali-swig/manual/csharp/ManualPINVOKE.cs @@ -187,5 +187,52 @@ namespace Dali [global::System.Runtime.InteropServices.DllImport("NDalic", EntryPoint="CSharp_Dali_MakeCallback")] public static extern global::System.IntPtr MakeCallback(global::System.Runtime.InteropServices.HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("NDalic", EntryPoint="CSharp_Actor_Property_BATCH_PARENT_get")] + public static extern int Actor_Property_BATCH_PARENT_get(); + + [global::System.Runtime.InteropServices.DllImport("NDalic", EntryPoint="CSharp_Actor_Property_SIBLING_ORDER_get")] + public static extern int Actor_Property_SIBLING_ORDER_get(); + + [global::System.Runtime.InteropServices.DllImport("NDalic", EntryPoint="CSharp_Renderer_Property_BATCHING_ENABLED_get")] + public static extern int Renderer_Property_BATCHING_ENABLED_get(); + + [global::System.Runtime.InteropServices.DllImport("NDalic", EntryPoint="CSharp_View_Property_TOOLTIP_get")] + public static extern int View_Property_TOOLTIP_get(); + + [global::System.Runtime.InteropServices.DllImport("NDalic", EntryPoint="CSharp_ItemView_Property_LAYOUT_get")] + public static extern int ItemView_Property_LAYOUT_get(); + + [global::System.Runtime.InteropServices.DllImport("NDalic", EntryPoint="CSharp_Button_Property_UNSELECTED_VISUAL_get")] + public static extern int Button_Property_UNSELECTED_VISUAL_get(); + + [global::System.Runtime.InteropServices.DllImport("NDalic", EntryPoint="CSharp_Button_Property_SELECTED_VISUAL_get")] + public static extern int Button_Property_SELECTED_VISUAL_get(); + + [global::System.Runtime.InteropServices.DllImport("NDalic", EntryPoint="CSharp_Button_Property_DISABLED_SELECTED_VISUAL_get")] + public static extern int Button_Property_DISABLED_SELECTED_VISUAL_get(); + + [global::System.Runtime.InteropServices.DllImport("NDalic", EntryPoint="CSharp_Button_Property_DISABLED_UNSELECTED_VISUAL_get")] + public static extern int Button_Property_DISABLED_UNSELECTED_VISUAL_get(); + + [global::System.Runtime.InteropServices.DllImport("NDalic", EntryPoint="CSharp_Button_Property_UNSELECTED_BACKGROUND_VISUAL_get")] + public static extern int Button_Property_UNSELECTED_BACKGROUND_VISUAL_get(); + + [global::System.Runtime.InteropServices.DllImport("NDalic", EntryPoint="CSharp_Button_Property_SELECTED_BACKGROUND_VISUAL_get")] + public static extern int Button_Property_SELECTED_BACKGROUND_VISUAL_get(); + + [global::System.Runtime.InteropServices.DllImport("NDalic", EntryPoint="CSharp_Button_Property_DISABLED_UNSELECTED_BACKGROUND_VISUAL_get")] + public static extern int Button_Property_DISABLED_UNSELECTED_BACKGROUND_VISUAL_get(); + + [global::System.Runtime.InteropServices.DllImport("NDalic", EntryPoint="CSharp_Button_Property_DISABLED_SELECTED_BACKGROUND_VISUAL_get")] + public static extern int Button_Property_DISABLED_SELECTED_BACKGROUND_VISUAL_get(); + + [global::System.Runtime.InteropServices.DllImport("NDalic", EntryPoint="CSharp_Button_Property_LABEL_RELATIVE_ALIGNMENT_get")] + public static extern int Button_Property_LABEL_RELATIVE_ALIGNMENT_get(); + + [global::System.Runtime.InteropServices.DllImport("NDalic", EntryPoint="CSharp_Button_Property_LABEL_PADDING_get")] + public static extern int Button_Property_LABEL_PADDING_get(); + + [global::System.Runtime.InteropServices.DllImport("NDalic", EntryPoint="CSharp_Button_Property_VISUAL_PADDING_get")] + public static extern int Button_Property_VISUAL_PADDING_get(); } }