Name: csapi-nui
Summary: dali-NUI
-Version: 1.0.1
+Version: 1.0.2
Release: 0
Group: Development/Libraries
License: Apache-2.0
<WarningLevel>4</WarningLevel>\r
</PropertyGroup>\r
<ItemGroup>\r
- <None Include="src\public\Doxyfile" />\r
<None Include="Tizen.NUI.project.json" />\r
</ItemGroup>\r
<ItemGroup>\r
<Compile Include="Properties\AssemblyInfo.cs" />\r
- <Compile Include="src\internal\AlignType.cs" />\r
<Compile Include="src\internal\AccessibilityActionSignal.cs" />\r
<Compile Include="src\internal\AccessibilityFocusOvershotSignal.cs" />\r
<Compile Include="src\internal\AccessibilityManager.cs" />\r
<Compile Include="src\internal\ActorSignal.cs" />\r
<Compile Include="src\internal\ActorTouchDataSignal.cs" />\r
<Compile Include="src\internal\ActorWheelSignal.cs" />\r
- <Compile Include="src\internal\addedManually.cs" />\r
<Compile Include="src\internal\Alignment.cs" />\r
+ <Compile Include="src\internal\AlignType.cs" />\r
<Compile Include="src\internal\AngleAxis.cs" />\r
<Compile Include="src\internal\AngleThresholdPair.cs" />\r
<Compile Include="src\internal\AnimatablePropertyComponentRegistration.cs" />\r
<Compile Include="src\internal\BlendEquationType.cs" />\r
<Compile Include="src\internal\BlendFactorType.cs" />\r
<Compile Include="src\internal\BlendModeType.cs" />\r
- <Compile Include="src\internal\BoolSignal.cs" />\r
<Compile Include="src\internal\BufferImage.cs" />\r
<Compile Include="src\internal\Builder.cs" />\r
<Compile Include="src\internal\ButtonSignal.cs" />\r
<Compile Include="src\internal\DefaultItemLayoutProperty.cs" />\r
<Compile Include="src\internal\DefaultItemLayoutType.cs" />\r
<Compile Include="src\internal\DefaultRuler.cs" />\r
- <Compile Include="src\public\ContentView.cs" />\r
- <Compile Include="src\public\Degree.cs" />\r
<Compile Include="src\internal\DepthFunctionType.cs" />\r
<Compile Include="src\internal\DepthTestModeType.cs" />\r
<Compile Include="src\internal\DepthWriteModeType.cs" />\r
<Compile Include="src\internal\DirectionBias.cs" />\r
<Compile Include="src\internal\DirectionType.cs" />\r
<Compile Include="src\internal\DisposeQueue.cs" />\r
+ <Compile Include="src\internal\dotnetcore\HandleRef.cs" />\r
+ <Compile Include="src\internal\dotnetcore\AddedException.cs" />\r
<Compile Include="src\internal\doublep.cs" />\r
<Compile Include="src\internal\DragAndDropDetector.cs" />\r
<Compile Include="src\internal\EncodedBufferImage.cs" />\r
<Compile Include="src\internal\GradientVisualSpreadMethodType.cs" />\r
<Compile Include="src\internal\GradientVisualUnitsType.cs" />\r
<Compile Include="src\internal\Handle.cs" />\r
- <Compile Include="src\internal\handleref.cs" />\r
<Compile Include="src\internal\Image.cs" />\r
<Compile Include="src\internal\ImageSignal.cs" />\r
<Compile Include="src\internal\intp.cs" />\r
<Compile Include="src\internal\KeyEventSignal.cs" />\r
<Compile Include="src\internal\KeyInputFocusManager.cs" />\r
<Compile Include="src\internal\KeyInputFocusSignal.cs" />\r
+ <Compile Include="src\internal\LinearConstrainer.cs" />\r
<Compile Include="src\internal\LoadingState.cs" />\r
<Compile Include="src\internal\LongPressGestureDetectedSignal.cs" />\r
<Compile Include="src\internal\LongPressGestureDetector.cs" />\r
<Compile Include="src\internal\PageTurnView.cs" />\r
<Compile Include="src\internal\PanGestureDetectedSignal.cs" />\r
<Compile Include="src\internal\PanGestureDetector.cs" />\r
+ <Compile Include="src\internal\PathConstrainer.cs" />\r
<Compile Include="src\internal\PinchGestureDetectedSignal.cs" />\r
<Compile Include="src\internal\PinchGestureDetector.cs" />\r
<Compile Include="src\internal\PixelData.cs" />\r
<Compile Include="src\internal\PixelFormat.cs" />\r
+ <Compile Include="src\internal\Position2D.cs" />\r
<Compile Include="src\internal\PositionInheritanceMode.cs" />\r
<Compile Include="src\internal\PrimitiveVisualShapeType.cs" />\r
+ <Compile Include="src\internal\ProgressBarValueChangedSignal.cs" />\r
<Compile Include="src\internal\PropertyBuffer.cs" />\r
<Compile Include="src\internal\PropertyCondition.cs" />\r
<Compile Include="src\internal\PropertyNotification.cs" />\r
<Compile Include="src\internal\PropertyRangeManager.cs" />\r
<Compile Include="src\internal\PropertyRanges.cs" />\r
<Compile Include="src\internal\PropertyRegistration.cs" />\r
- <Compile Include="src\public\Radian.cs" />\r
<Compile Include="src\internal\RefObject.cs" />\r
<Compile Include="src\internal\RenderBufferFormat.cs" />\r
<Compile Include="src\internal\Renderer.cs" />\r
<Compile Include="src\internal\Shader.cs" />\r
<Compile Include="src\internal\SignalConnectorType.cs" />\r
<Compile Include="src\internal\SignalObserver.cs" />\r
+ <Compile Include="src\public\CustomView\Spin.cs" />\r
+ <Compile Include="src\public\Size2D.cs" />\r
<Compile Include="src\internal\SliderMarkReachedSignal.cs" />\r
<Compile Include="src\internal\SliderValueChangedSignal.cs" />\r
<Compile Include="src\internal\SlotObserver.cs" />\r
<Compile Include="src\internal\SWIGTYPE_p_Dali__Constraint.cs" />\r
<Compile Include="src\internal\SWIGTYPE_p_Dali__CustomActorImpl__Extension.cs" />\r
<Compile Include="src\internal\SWIGTYPE_p_Dali__FunctorDelegate.cs" />\r
+ <Compile Include="src\internal\SWIGTYPE_p_Dali__Internal__Texture.cs" />\r
<Compile Include="src\internal\SWIGTYPE_p_Dali__Internal__TypeRegistry.cs" />\r
<Compile Include="src\internal\SWIGTYPE_p_Dali__IntrusivePtrT_Dali__Toolkit__ItemLayout_t.cs" />\r
<Compile Include="src\internal\SWIGTYPE_p_Dali__RectT_unsigned_int_t.cs" />\r
<Compile Include="src\internal\SWIGTYPE_p_Dali__SignalT_void_fboolF_t.cs" />\r
<Compile Include="src\internal\SWIGTYPE_p_Dali__SignalT_void_fDali__DragAndDropDetectorF_t.cs" />\r
<Compile Include="src\internal\SWIGTYPE_p_Dali__SignalT_void_fDali__Toolkit__Control_Dali__Toolkit__ControlF_t.cs" />\r
- <Compile Include="src\internal\SWIGTYPE_p_Dali__SignalT_void_fDali__Toolkit__ProgressBar_float_floatF_t.cs" />\r
<Compile Include="src\internal\SWIGTYPE_p_Dali__SignalT_void_fDali__Toolkit__TextEditor_Dali__Toolkit__TextEditor__InputStyle__MaskF_t.cs" />\r
<Compile Include="src\internal\SWIGTYPE_p_Dali__SignalT_void_fDali__Toolkit__TextField_Dali__Toolkit__TextField__InputStyle__MaskF_t.cs" />\r
<Compile Include="src\internal\SWIGTYPE_p_Dali__SignalT_void_fuint32_t_Dali__PixelDataF_t.cs" />\r
<Compile Include="src\internal\SWIGTYPE_p_f_r_Dali__Vector2__bool.cs" />\r
<Compile Include="src\internal\SWIGTYPE_p_f_r_q_const__Dali__Any__AnyContainerBase__p_Dali__Any__AnyContainerBase.cs" />\r
<Compile Include="src\internal\SWIGTYPE_p_f_r_q_const__Dali__Vector3__float.cs" />\r
- <Compile Include="src\internal\SWIGTYPE_p_f___bool.cs" />\r
<Compile Include="src\internal\SWIGTYPE_p_int.cs" />\r
<Compile Include="src\internal\SWIGTYPE_p_PropertyInputContainer.cs" />\r
<Compile Include="src\internal\SWIGTYPE_p_std__type_info.cs" />\r
<Compile Include="src\internal\SWIGTYPE_p_unsigned_char.cs" />\r
<Compile Include="src\internal\SWIGTYPE_p_unsigned_int.cs" />\r
<Compile Include="src\internal\SWIGTYPE_p_unsigned_short.cs" />\r
- <Compile Include="src\public\TapGesture.cs" />\r
<Compile Include="src\internal\TapGestureDetectedSignal.cs" />\r
<Compile Include="src\internal\TapGestureDetector.cs" />\r
<Compile Include="src\internal\TextEditorSignal.cs" />\r
<Compile Include="src\public\CheckBoxButton.cs" />\r
<Compile Include="src\public\Color.cs" />\r
<Compile Include="src\public\CustomView.cs" />\r
+ <Compile Include="src\public\NUIApplication.cs" />\r
+ <Compile Include="src\public\Degree.cs" />\r
<Compile Include="src\public\FlexContainer.cs" />\r
<Compile Include="src\public\FocusManager.cs" />\r
<Compile Include="src\public\Gesture.cs" />\r
<Compile Include="src\public\Key.cs" />\r
<Compile Include="src\public\KeyFrames.cs" />\r
<Compile Include="src\public\Layer.cs" />\r
- <Compile Include="src\internal\LinearConstrainer.cs" />\r
<Compile Include="src\public\LongPressGesture.cs" />\r
- <Compile Include="src\public\NUIApplication.cs" />\r
<Compile Include="src\public\PanGesture.cs" />\r
<Compile Include="src\public\Path.cs" />\r
- <Compile Include="src\internal\PathConstrainer.cs" />\r
<Compile Include="src\public\PinchGesture.cs" />\r
<Compile Include="src\public\Popup.cs" />\r
<Compile Include="src\public\Position.cs" />\r
<Compile Include="src\public\ProgressBar.cs" />\r
<Compile Include="src\public\Property.cs" />\r
<Compile Include="src\public\PushButton.cs" />\r
+ <Compile Include="src\public\Radian.cs" />\r
<Compile Include="src\public\RadioButton.cs" />\r
<Compile Include="src\public\Rectangle.cs" />\r
<Compile Include="src\public\RelayoutContainer.cs" />\r
<Compile Include="src\public\ScrollBar.cs" />\r
<Compile Include="src\public\Size.cs" />\r
<Compile Include="src\public\Slider.cs" />\r
- <Compile Include="src\public\Spin.cs" />\r
<Compile Include="src\public\Stage.cs" />\r
<Compile Include="src\public\StyleManager.cs" />\r
<Compile Include="src\public\TableView.cs" />\r
+ <Compile Include="src\public\TapGesture.cs" />\r
<Compile Include="src\public\TextEditor.cs" />\r
<Compile Include="src\public\TextField.cs" />\r
<Compile Include="src\public\TextLabel.cs" />\r
<Compile Include="src\public\View.cs" />\r
<Compile Include="src\public\VisualBase.cs" />\r
<Compile Include="src\public\VisualFactory.cs" />\r
- <Compile Include="src\public\VisualMaps.cs" />\r
<Compile Include="src\public\Wheel.cs" />\r
<Compile Include="src\public\Window.cs" />\r
</ItemGroup>\r
<ProjectExtensions>\r
<VisualStudio>\r
<FlavorProperties GUID="{2F98DAC9-6F16-457B-AED7-D43CAC379341}" Configuration="Debug|Any CPU">\r
- <ProjectCorporateFlavorCfg />\r
+ <ProjectCommonFlavorCfg />\r
</FlavorProperties>\r
<FlavorProperties GUID="{2F98DAC9-6F16-457B-AED7-D43CAC379341}" Configuration="Release|Any CPU">\r
- <ProjectCorporateFlavorCfg />\r
+ <ProjectCommonFlavorCfg />\r
</FlavorProperties>\r
</VisualStudio>\r
</ProjectExtensions>\r
// the SWIG interface file instead.
//------------------------------------------------------------------------------
-namespace Tizen.NUI {\r
-\r
+namespace Tizen.NUI {
+
internal class ActorTouchDataSignal : global::System.IDisposable {
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
protected bool swigCMemOwn;
// the SWIG interface file instead.
//------------------------------------------------------------------------------
-namespace Tizen.NUI {\r
-\r
+namespace Tizen.NUI {
+
internal class ActorWheelSignal : global::System.IDisposable {
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
protected bool swigCMemOwn;
-//------------------------------------------------------------------------------\r
-// <auto-generated />\r
-//\r
-// This file was automatically generated by SWIG (http://www.swig.org).\r
-// Version 3.0.9\r
-//\r
-// Do not make changes to this file unless you know what you are doing--modify\r
-// the SWIG interface file instead.\r
-//------------------------------------------------------------------------------\r
-\r
-namespace Tizen.NUI\r
-{\r
- public enum AlignType\r
- {\r
- TOP_BEGIN = 0,\r
- TOP_CENTER,\r
- TOP_END,\r
- CENTER_BEGIN,\r
- CENTER,\r
- CENTER_END,\r
- BOTTOM_BEGIN,\r
- BOTTOM_CENTER,\r
- BOTTOM_END\r
- }\r
-}\r
+//------------------------------------------------------------------------------
+// <auto-generated />
+//
+// This file was automatically generated by SWIG (http://www.swig.org).
+// Version 3.0.9
+//
+// Do not make changes to this file unless you know what you are doing--modify
+// the SWIG interface file instead.
+//------------------------------------------------------------------------------
+
+namespace Tizen.NUI
+{
+ public enum AlignType
+ {
+ TOP_BEGIN = 0,
+ TOP_CENTER,
+ TOP_END,
+ CENTER_BEGIN,
+ CENTER,
+ CENTER_END,
+ BOTTOM_BEGIN,
+ BOTTOM_CENTER,
+ BOTTOM_END
+ }
+}
// the SWIG interface file instead.
//------------------------------------------------------------------------------
-namespace Tizen.NUI {\r
-\r
+namespace Tizen.NUI {
+
internal class AngleAxis : global::System.IDisposable {
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
protected bool swigCMemOwn;
// the SWIG interface file instead.
//------------------------------------------------------------------------------
-namespace Tizen.NUI {\r
-\r
+namespace Tizen.NUI {
+
internal class AngleThresholdPair : global::System.IDisposable {
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
protected bool swigCMemOwn;
// the SWIG interface file instead.
//------------------------------------------------------------------------------
-namespace Tizen.NUI {\r
-\r
+namespace Tizen.NUI {
+
internal class AnimatablePropertyComponentRegistration : global::System.IDisposable {
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
protected bool swigCMemOwn;
// the SWIG interface file instead.
//------------------------------------------------------------------------------
-namespace Tizen.NUI {\r
-\r
+namespace Tizen.NUI {
+
internal class AnimatablePropertyRegistration : global::System.IDisposable {
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
protected bool swigCMemOwn;
// the SWIG interface file instead.
//------------------------------------------------------------------------------
-namespace Tizen.NUI {\r
-\r
+namespace Tizen.NUI {
+
internal class AnimationSignal : global::System.IDisposable {
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
protected bool swigCMemOwn;
// the SWIG interface file instead.
//------------------------------------------------------------------------------
-namespace Tizen.NUI {\r
-\r
+namespace Tizen.NUI {
+
internal class Any : global::System.IDisposable {
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
protected bool swigCMemOwn;
using System;\r
using System.Runtime.InteropServices;\r
\r
- internal class LOG\r
- {\r
- internal LOG(string _str)\r
- {\r
- Tizen.Log.Debug("NUI", _str);\r
- }\r
- }\r
-\r
/**\r
* @brief Event arguments that passed via NUIApplicationInit signal\r
*\r
}\r
}\r
\r
+ private static void LOG(string str)\r
+ {\r
+ //Tizen.Log.Debug("NUI", str);\r
+ }\r
\r
[UnmanagedFunctionPointer(CallingConvention.StdCall)]\r
private delegate void NUIApplicationInitEventCallbackDelegate(IntPtr application);\r
\r
public static Application NewApplication(string stylesheet, Application.WindowMode windowMode)\r
{\r
- new LOG(" NewApplication(string stylesheet, Application.WindowMode windowMode) is called! ");\r
+ LOG(" NewApplication(string stylesheet, Application.WindowMode windowMode) is called! ");\r
\r
// register all Views with the type registry, so that can be created / styled via JSON\r
ViewRegistryHelper.Initialize();\r
*/\r
public static Application New()\r
{\r
- new LOG("New() is called!");\r
+ LOG("New() is called!");\r
\r
Application ret = new Application(NDalicPINVOKE.Application_New__SWIG_0(), true);\r
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
\r
public static Application New(int argc)\r
{\r
- new LOG("New(int argc) is called!");\r
+ LOG("New(int argc) is called!");\r
\r
Application ret = new Application(NDalicPINVOKE.Application_New__SWIG_1(argc), true);\r
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
\r
public static Application New(int argc, string stylesheet)\r
{\r
- new LOG("New(int argc, string stylesheet) is called!");\r
+ LOG("New(int argc, string stylesheet) is called!");\r
\r
Application ret = new Application(NDalicPINVOKE.Application_New__SWIG_2(argc, stylesheet), true);\r
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
\r
public static Application New(int argc, string stylesheet, Application.WindowMode windowMode)\r
{\r
- new LOG("New(int argc, string stylesheet, Application.WindowMode windowMode) is called!");\r
+ LOG("New(int argc, string stylesheet, Application.WindowMode windowMode) is called!");\r
\r
Application ret = new Application(NDalicPINVOKE.Application_New__SWIG_3(argc, stylesheet, (int)windowMode), true);\r
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
\r
public Application() : this(NDalicPINVOKE.new_Application__SWIG_0(), true)\r
{\r
- new LOG("Application() is called!");\r
+ LOG("Application() is called!");\r
\r
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
}\r
// the SWIG interface file instead.
//------------------------------------------------------------------------------
-namespace Tizen.NUI {\r
+namespace Tizen.NUI\r
+{\r
+\r
+ internal class ApplicationControlSignal : global::System.IDisposable\r
+ {\r
+ private global::System.Runtime.InteropServices.HandleRef swigCPtr;\r
+ protected bool swigCMemOwn;\r
+\r
+ internal ApplicationControlSignal(global::System.IntPtr cPtr, bool cMemoryOwn)\r
+ {\r
+ swigCMemOwn = cMemoryOwn;\r
+ swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);\r
+ }\r
+\r
+ internal static global::System.Runtime.InteropServices.HandleRef getCPtr(ApplicationControlSignal obj)\r
+ {\r
+ return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;\r
+ }\r
+\r
+ ~ApplicationControlSignal()\r
+ {\r
+ DisposeQueue.Instance.Add(this);\r
+ }\r
+\r
+ public virtual void Dispose()\r
+ {\r
+ if (!Stage.IsInstalled())\r
+ {\r
+ DisposeQueue.Instance.Add(this);\r
+ return;\r
+ }\r
+\r
+ lock (this)\r
+ {\r
+ if (swigCPtr.Handle != global::System.IntPtr.Zero)\r
+ {\r
+ if (swigCMemOwn)\r
+ {\r
+ swigCMemOwn = false;\r
+ NDalicPINVOKE.delete_ApplicationControlSignal(swigCPtr);\r
+ }\r
+ swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);\r
+ }\r
+ global::System.GC.SuppressFinalize(this);\r
+ }\r
+ }\r
+\r
+\r
+ public bool Empty()\r
+ {\r
+ bool ret = NDalicPINVOKE.ApplicationControlSignal_Empty(swigCPtr);\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ return ret;\r
+ }\r
+\r
+ public uint GetConnectionCount()\r
+ {\r
+ uint ret = NDalicPINVOKE.ApplicationControlSignal_GetConnectionCount(swigCPtr);\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ return ret;\r
+ }\r
+\r
+ public void Connect(System.Delegate func)\r
+ {\r
+ System.IntPtr ip = System.Runtime.InteropServices.Marshal.GetFunctionPointerForDelegate(func);\r
+ {\r
+ NDalicPINVOKE.ApplicationControlSignal_Connect(swigCPtr, new System.Runtime.InteropServices.HandleRef(this, ip));\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ }\r
+ }\r
+\r
+ public void Disconnect(System.Delegate func)\r
+ {\r
+ System.IntPtr ip = System.Runtime.InteropServices.Marshal.GetFunctionPointerForDelegate(func);\r
+ {\r
+ NDalicPINVOKE.ApplicationControlSignal_Disconnect(swigCPtr, new System.Runtime.InteropServices.HandleRef(this, ip));\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ }\r
+ }\r
+\r
+ public void Emit(Application arg1, System.IntPtr arg2)\r
+ {\r
+ NDalicPINVOKE.ApplicationControlSignal_Emit(swigCPtr, Application.getCPtr(arg1), arg2);\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ }\r
+\r
+ public ApplicationControlSignal() : this(NDalicPINVOKE.new_ApplicationControlSignal(), true)\r
+ {\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ }\r
\r
- internal class ApplicationControlSignal : global::System.IDisposable {
- private global::System.Runtime.InteropServices.HandleRef swigCPtr;
- protected bool swigCMemOwn;
-
- internal ApplicationControlSignal(global::System.IntPtr cPtr, bool cMemoryOwn) {
- swigCMemOwn = cMemoryOwn;
- swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
- }
-
- internal static global::System.Runtime.InteropServices.HandleRef getCPtr(ApplicationControlSignal obj) {
- return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
- }
-
- ~ApplicationControlSignal() {
- DisposeQueue.Instance.Add(this);
- }
-
- public virtual void Dispose() {
- if (!Stage.IsInstalled()) {
- DisposeQueue.Instance.Add(this);
- return;
- }
-
- lock(this) {
- if (swigCPtr.Handle != global::System.IntPtr.Zero) {
- if (swigCMemOwn) {
- swigCMemOwn = false;
- NDalicPINVOKE.delete_ApplicationControlSignal(swigCPtr);
- }
- swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
- }
- global::System.GC.SuppressFinalize(this);
- }
- }
-
-
- public bool Empty() {
- bool ret = NDalicPINVOKE.ApplicationControlSignal_Empty(swigCPtr);
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- return ret;
- }
-
- public uint GetConnectionCount() {
- uint ret = NDalicPINVOKE.ApplicationControlSignal_GetConnectionCount(swigCPtr);
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- return ret;
- }
-
- public void Connect(System.Delegate func) {
-System.IntPtr ip = System.Runtime.InteropServices.Marshal.GetFunctionPointerForDelegate(func);
- {
- NDalicPINVOKE.ApplicationControlSignal_Connect(swigCPtr, new System.Runtime.InteropServices.HandleRef(this, ip));
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- }
- }
-
- public void Disconnect(System.Delegate func) {
-System.IntPtr ip = System.Runtime.InteropServices.Marshal.GetFunctionPointerForDelegate(func);
- {
- NDalicPINVOKE.ApplicationControlSignal_Disconnect(swigCPtr, new System.Runtime.InteropServices.HandleRef(this, ip));
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
- }
-
- public void Emit(Application arg1, System.IntPtr arg2) {
- NDalicPINVOKE.ApplicationControlSignal_Emit(swigCPtr, Application.getCPtr(arg1), arg2);
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- }
-
- public ApplicationControlSignal() : this(NDalicPINVOKE.new_ApplicationControlSignal(), true) {
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- }
-
-}
}
// the SWIG interface file instead.
//------------------------------------------------------------------------------
-namespace Tizen.NUI {\r
-\r
- internal class ApplicationExtensions : global::System.IDisposable {
+namespace Tizen.NUI {
+
+internal class ApplicationExtensions : global::System.IDisposable {
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
protected bool swigCMemOwn;
// the SWIG interface file instead.
//------------------------------------------------------------------------------
-namespace Tizen.NUI {\r
+namespace Tizen.NUI\r
+{\r
+\r
+ internal class ApplicationSignal : global::System.IDisposable\r
+ {\r
+ private global::System.Runtime.InteropServices.HandleRef swigCPtr;\r
+ protected bool swigCMemOwn;\r
+\r
+ internal ApplicationSignal(global::System.IntPtr cPtr, bool cMemoryOwn)\r
+ {\r
+ swigCMemOwn = cMemoryOwn;\r
+ swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);\r
+ }\r
+\r
+ internal static global::System.Runtime.InteropServices.HandleRef getCPtr(ApplicationSignal obj)\r
+ {\r
+ return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;\r
+ }\r
+\r
+ ~ApplicationSignal()\r
+ {\r
+ DisposeQueue.Instance.Add(this);\r
+ }\r
+\r
+ public virtual void Dispose()\r
+ {\r
+ if (!Stage.IsInstalled())\r
+ {\r
+ DisposeQueue.Instance.Add(this);\r
+ return;\r
+ }\r
+\r
+ lock (this)\r
+ {\r
+ if (swigCPtr.Handle != global::System.IntPtr.Zero)\r
+ {\r
+ if (swigCMemOwn)\r
+ {\r
+ swigCMemOwn = false;\r
+ NDalicPINVOKE.delete_ApplicationSignal(swigCPtr);\r
+ }\r
+ swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);\r
+ }\r
+ global::System.GC.SuppressFinalize(this);\r
+ }\r
+ }\r
+\r
+\r
+ public bool Empty()\r
+ {\r
+ bool ret = NDalicPINVOKE.ApplicationSignal_Empty(swigCPtr);\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ return ret;\r
+ }\r
+\r
+ public uint GetConnectionCount()\r
+ {\r
+ uint ret = NDalicPINVOKE.ApplicationSignal_GetConnectionCount(swigCPtr);\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ return ret;\r
+ }\r
+\r
+ public void Connect(System.Delegate func)\r
+ {\r
+ System.IntPtr ip = System.Runtime.InteropServices.Marshal.GetFunctionPointerForDelegate(func);\r
+ {\r
+ NDalicPINVOKE.ApplicationSignal_Connect(swigCPtr, new System.Runtime.InteropServices.HandleRef(this, ip));\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ }\r
+ }\r
+\r
+ public void Disconnect(System.Delegate func)\r
+ {\r
+ System.IntPtr ip = System.Runtime.InteropServices.Marshal.GetFunctionPointerForDelegate(func);\r
+ {\r
+ NDalicPINVOKE.ApplicationSignal_Disconnect(swigCPtr, new System.Runtime.InteropServices.HandleRef(this, ip));\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ }\r
+ }\r
+\r
+ public void Emit(Application arg)\r
+ {\r
+ NDalicPINVOKE.ApplicationSignal_Emit(swigCPtr, Application.getCPtr(arg));\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ }\r
+\r
+ public ApplicationSignal() : this(NDalicPINVOKE.new_ApplicationSignal(), true)\r
+ {\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ }\r
\r
- internal class ApplicationSignal : global::System.IDisposable {
- private global::System.Runtime.InteropServices.HandleRef swigCPtr;
- protected bool swigCMemOwn;
-
- internal ApplicationSignal(global::System.IntPtr cPtr, bool cMemoryOwn) {
- swigCMemOwn = cMemoryOwn;
- swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
- }
-
- internal static global::System.Runtime.InteropServices.HandleRef getCPtr(ApplicationSignal obj) {
- return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
- }
-
- ~ApplicationSignal() {
- DisposeQueue.Instance.Add(this);
- }
-
- public virtual void Dispose() {
- if (!Stage.IsInstalled()) {
- DisposeQueue.Instance.Add(this);
- return;
- }
-
- lock(this) {
- if (swigCPtr.Handle != global::System.IntPtr.Zero) {
- if (swigCMemOwn) {
- swigCMemOwn = false;
- NDalicPINVOKE.delete_ApplicationSignal(swigCPtr);
- }
- swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
- }
- global::System.GC.SuppressFinalize(this);
- }
- }
-
-
- public bool Empty() {
- bool ret = NDalicPINVOKE.ApplicationSignal_Empty(swigCPtr);
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- return ret;
- }
-
- public uint GetConnectionCount() {
- uint ret = NDalicPINVOKE.ApplicationSignal_GetConnectionCount(swigCPtr);
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- return ret;
- }
-
- public void Connect(System.Delegate func) {
-System.IntPtr ip = System.Runtime.InteropServices.Marshal.GetFunctionPointerForDelegate(func);
- {
- NDalicPINVOKE.ApplicationSignal_Connect(swigCPtr, new System.Runtime.InteropServices.HandleRef(this, ip));
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- }
- }
-
- public void Disconnect(System.Delegate func) {
-System.IntPtr ip = System.Runtime.InteropServices.Marshal.GetFunctionPointerForDelegate(func);
- {
- NDalicPINVOKE.ApplicationSignal_Disconnect(swigCPtr, new System.Runtime.InteropServices.HandleRef(this, ip));
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
- }
-
- public void Emit(Application arg) {
- NDalicPINVOKE.ApplicationSignal_Emit(swigCPtr, Application.getCPtr(arg));
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- }
-
- public ApplicationSignal() : this(NDalicPINVOKE.new_ApplicationSignal(), true) {
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- }
-
-}
}
// the SWIG interface file instead.
//------------------------------------------------------------------------------
-namespace Tizen.NUI {\r
-\r
+namespace Tizen.NUI {
+
internal class AsyncImageLoader : BaseHandle {
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
// the SWIG interface file instead.
//------------------------------------------------------------------------------
-namespace Tizen.NUI {\r
-\r
- public class BaseHandle : global::System.IDisposable {
+namespace Tizen.NUI {
+
+public class BaseHandle : global::System.IDisposable {
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
protected bool swigCMemOwn;
// the SWIG interface file instead.
//------------------------------------------------------------------------------
-namespace Tizen.NUI {\r
-\r
+namespace Tizen.NUI {
+
internal class BaseObject : RefObject {
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
// the SWIG interface file instead.
//------------------------------------------------------------------------------
-namespace Tizen.NUI {\r
-\r
+namespace Tizen.NUI {
+
internal enum BlendEquationType {
ADD = 0x8006,
SUBTRACT = 0x800A,
// the SWIG interface file instead.
//------------------------------------------------------------------------------
-namespace Tizen.NUI {\r
-\r
+namespace Tizen.NUI {
+
internal enum BlendFactorType {
ZERO = 0,
ONE = 1,
// the SWIG interface file instead.
//------------------------------------------------------------------------------
-namespace Tizen.NUI {\r
-\r
+namespace Tizen.NUI {
+
internal enum BlendModeType {
OFF,
AUTO,
+++ /dev/null
-//------------------------------------------------------------------------------
-// <auto-generated />
-//
-// This file was automatically generated by SWIG (http://www.swig.org).
-// Version 3.0.9
-//
-// Do not make changes to this file unless you know what you are doing--modify
-// the SWIG interface file instead.
-//------------------------------------------------------------------------------
-
-namespace Tizen.NUI {\r
-\r
- internal class BoolSignal : global::System.IDisposable {
- private global::System.Runtime.InteropServices.HandleRef swigCPtr;
- protected bool swigCMemOwn;
-
- internal BoolSignal(global::System.IntPtr cPtr, bool cMemoryOwn) {
- swigCMemOwn = cMemoryOwn;
- swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
- }
-
- internal static global::System.Runtime.InteropServices.HandleRef getCPtr(BoolSignal obj) {
- return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
- }
-
- ~BoolSignal() {
- Dispose();
- }
-
- public virtual void Dispose() {
- lock(this) {
- if (swigCPtr.Handle != global::System.IntPtr.Zero) {
- if (swigCMemOwn) {
- swigCMemOwn = false;
- NDalicPINVOKE.delete_BoolSignal(swigCPtr);
- }
- swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
- }
- global::System.GC.SuppressFinalize(this);
- }
- }
-
- public BoolSignal() : this(NDalicPINVOKE.new_BoolSignal(), true) {
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- }
-
- public bool Empty() {
- bool ret = NDalicPINVOKE.BoolSignal_Empty(swigCPtr);
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- return ret;
- }
-
- public uint GetConnectionCount() {
- uint ret = NDalicPINVOKE.BoolSignal_GetConnectionCount(swigCPtr);
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- return ret;
- }
-
- public void Connect(SWIGTYPE_p_f___bool func) {
- NDalicPINVOKE.BoolSignal_Connect__SWIG_0(swigCPtr, SWIGTYPE_p_f___bool.getCPtr(func));
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- }
-
- public void Disconnect(SWIGTYPE_p_f___bool func) {
- NDalicPINVOKE.BoolSignal_Disconnect(swigCPtr, SWIGTYPE_p_f___bool.getCPtr(func));
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- }
-
- public void Connect(ConnectionTrackerInterface connectionTracker, SWIGTYPE_p_Dali__FunctorDelegate arg1) {
- NDalicPINVOKE.BoolSignal_Connect__SWIG_4(swigCPtr, ConnectionTrackerInterface.getCPtr(connectionTracker), SWIGTYPE_p_Dali__FunctorDelegate.getCPtr(arg1));
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- }
-
- public bool Emit() {
- bool ret = NDalicPINVOKE.BoolSignal_Emit(swigCPtr);
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- return ret;
- }
-
-}
-
-}
// the SWIG interface file instead.
//------------------------------------------------------------------------------
-namespace Tizen.NUI {\r
-\r
+namespace Tizen.NUI {
+
internal class BufferImage : Image {
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
namespace Tizen.NUI {
using System;
- using System.Runtime.InteropServices;\r
-\r
-\r
- public class Builder : BaseHandle {
+ using System.Runtime.InteropServices;
+
+
+public class Builder : BaseHandle {
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
internal Builder(global::System.IntPtr cPtr, bool cMemoryOwn) : base(NDalicPINVOKE.Builder_SWIGUpcast(cPtr), cMemoryOwn) {
// the SWIG interface file instead.
//------------------------------------------------------------------------------
-namespace Tizen.NUI {\r
-\r
+namespace Tizen.NUI {
+
internal class ButtonSignal : global::System.IDisposable {
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
protected bool swigCMemOwn;
// the SWIG interface file instead.
//------------------------------------------------------------------------------
-namespace Tizen.NUI {\r
-\r
+namespace Tizen.NUI {
+
internal class ChildPropertyRegistration : global::System.IDisposable {
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
protected bool swigCMemOwn;
// the SWIG interface file instead.
//------------------------------------------------------------------------------
-namespace Tizen.NUI {\r
-\r
+namespace Tizen.NUI {
+
internal enum ClampState {
NotClamped,
ClampedToMin,
// the SWIG interface file instead.
//------------------------------------------------------------------------------
-namespace Tizen.NUI {\r
-\r
+namespace Tizen.NUI {
+
internal class ClampState2D : global::System.IDisposable {
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
protected bool swigCMemOwn;
// the SWIG interface file instead.
//------------------------------------------------------------------------------
-namespace Tizen.NUI {\r
-\r
+namespace Tizen.NUI {
+
internal class ConnectionTracker : ConnectionTrackerInterface {
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
// the SWIG interface file instead.
//------------------------------------------------------------------------------
-namespace Tizen.NUI {\r
-\r
+namespace Tizen.NUI {
+
internal class ConnectionTrackerInterface : SignalObserver {
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
// the SWIG interface file instead.
//------------------------------------------------------------------------------
-namespace Tizen.NUI {\r
-\r
+namespace Tizen.NUI {
+
internal class ControlKeySignal : global::System.IDisposable {
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
protected bool swigCMemOwn;
// the SWIG interface file instead.
//------------------------------------------------------------------------------
-namespace Tizen.NUI {\r
-\r
+namespace Tizen.NUI {
+
internal enum ControlOrientationType {
Up,
Left,
// the SWIG interface file instead.
//------------------------------------------------------------------------------
-namespace Tizen.NUI {\r
-\r
- public class CustomActor : Actor {
+namespace Tizen.NUI {
+
+public class CustomActor : Actor {
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
internal CustomActor(global::System.IntPtr cPtr, bool cMemoryOwn) : base(NDalicPINVOKE.CustomActor_SWIGUpcast(cPtr), cMemoryOwn) {
// the SWIG interface file instead.
//------------------------------------------------------------------------------
-namespace Tizen.NUI {\r
-\r
- public class CustomActorImpl : RefObject {
+namespace Tizen.NUI {
+
+public class CustomActorImpl : RefObject {
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
internal CustomActorImpl(global::System.IntPtr cPtr, bool cMemoryOwn) : base(NDalicPINVOKE.CustomActorImpl_SWIGUpcast(cPtr), cMemoryOwn) {
TexturedWithDetailedSpecularLighting = Tizen.NUI.MeshVisualShadingModeValue.TEXTURED_WITH_DETAILED_SPECULAR_LIGHTING ///< Uses all textures provided including a gloss, normal and texture map along with specular, ambient and diffuse lighting. @SINCE_1_1.45
}
-
-
public struct Direction
{
public enum Type
}
}
+ public struct Align
+ {
+ public enum Type
+ {
+ TopBegin = Tizen.NUI.AlignType.TOP_BEGIN,
+ TopCenter = Tizen.NUI.AlignType.TOP_CENTER,
+ TopEnd = Tizen.NUI.AlignType.TOP_END,
+ CenterBegin = Tizen.NUI.AlignType.CENTER_BEGIN,
+ Center = Tizen.NUI.AlignType.CENTER,
+ CenterEnd = Tizen.NUI.AlignType.CENTER_END,
+ BottomBegin = Tizen.NUI.AlignType.BOTTOM_BEGIN,
+ BottomCenter = Tizen.NUI.AlignType.BOTTOM_CENTER,
+ BottomEnd = Tizen.NUI.AlignType.BOTTOM_END
+ }
+ }
+
public struct Visual
{
public enum Type
using System;
using System.Runtime.InteropServices;
- [UnmanagedFunctionPointer(CallingConvention.StdCall)]\r
- public delegate R DaliEventHandlerWithReturnType<T, U, R>(T source, U e);\r
-\r
- [UnmanagedFunctionPointer(CallingConvention.StdCall)]\r
- internal delegate void EventCallbackDelegateType0();\r
-\r
- [UnmanagedFunctionPointer(CallingConvention.StdCall)]\r
- internal delegate void EventCallbackDelegateType1(IntPtr arg1);\r
-\r
- [UnmanagedFunctionPointer(CallingConvention.StdCall)]\r
- internal delegate void EventCallbackDelegateType2<T, U>(T arg1, U arg2);\r
-
+ [UnmanagedFunctionPointer(CallingConvention.StdCall)]
+ public delegate R DaliEventHandlerWithReturnType<T,U,R>(T source, U e);
+ [UnmanagedFunctionPointer(CallingConvention.StdCall)]
+ internal delegate void EventCallbackDelegateType0();
+ [UnmanagedFunctionPointer(CallingConvention.StdCall)]
+ internal delegate void EventCallbackDelegateType1(IntPtr arg1);
+\r
//this should be removed with EventHandler from .NET\r
[UnmanagedFunctionPointer(CallingConvention.StdCall)]\r
public delegate void DaliEventHandler<T, U>(T source, U e);\r
[UnmanagedFunctionPointer(CallingConvention.StdCall)]\r
public delegate R EventHandlerWithReturnType<T, U, R>(T source, U e);\r
+
}
// the SWIG interface file instead.
//------------------------------------------------------------------------------
-namespace Tizen.NUI {\r
-\r
+namespace Tizen.NUI {
+
internal class DaliException : global::System.IDisposable {
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
protected bool swigCMemOwn;
// the SWIG interface file instead.
//------------------------------------------------------------------------------
-namespace Tizen.NUI {\r
-\r
+namespace Tizen.NUI {
+
internal enum DefaultItemLayoutProperty {
TYPE = 0,
ITEM_SIZE,
// the SWIG interface file instead.
//------------------------------------------------------------------------------
-namespace Tizen.NUI {\r
-\r
+namespace Tizen.NUI {
+
internal enum DefaultItemLayoutType {
DEPTH,
GRID,
// the SWIG interface file instead.
//------------------------------------------------------------------------------
-namespace Tizen.NUI {\r
-\r
+namespace Tizen.NUI {
+
internal class DefaultRuler : Ruler {
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
// the SWIG interface file instead.
//------------------------------------------------------------------------------
-namespace Tizen.NUI {\r
-\r
+namespace Tizen.NUI {
+
internal enum DepthFunctionType {
NEVER,
ALWAYS,
// the SWIG interface file instead.
//------------------------------------------------------------------------------
-namespace Tizen.NUI {\r
-\r
+namespace Tizen.NUI {
+
internal enum DepthTestModeType {
OFF,
AUTO,
// the SWIG interface file instead.
//------------------------------------------------------------------------------
-namespace Tizen.NUI {\r
-\r
+namespace Tizen.NUI {
+
internal enum DepthWriteModeType {
OFF,
AUTO,
// the SWIG interface file instead.
//------------------------------------------------------------------------------
-namespace Tizen.NUI {\r
-\r
+namespace Tizen.NUI {
+
internal enum DirectionBias {
DirectionBiasLeft = -1,
DirectionBiasNone = 0,
// the SWIG interface file instead.
//------------------------------------------------------------------------------
-namespace Tizen.NUI {\r
-\r
+namespace Tizen.NUI {
+
internal enum DirectionType {
LEFT_TO_RIGHT = 0,
RIGHT_TO_LEFT
// the SWIG interface file instead.
//------------------------------------------------------------------------------
-namespace Tizen.NUI {\r
-\r
+namespace Tizen.NUI {
+
internal class DragAndDropDetector : BaseHandle {
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
// the SWIG interface file instead.
//------------------------------------------------------------------------------
-namespace Tizen.NUI {\r
-\r
+namespace Tizen.NUI {
+
internal class EncodedBufferImage : Image {
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
// the SWIG interface file instead.
//------------------------------------------------------------------------------
-namespace Tizen.NUI {\r
-\r
+namespace Tizen.NUI {
+
internal enum FaceCullingModeType {
NONE,
FRONT,
// the SWIG interface file instead.
//------------------------------------------------------------------------------
-namespace Tizen.NUI {\r
-\r
+namespace Tizen.NUI {
+
internal enum FilterModeType {
NONE = 0,
DEFAULT,
// the SWIG interface file instead.
//------------------------------------------------------------------------------
-namespace Tizen.NUI
-{
- public enum FittingModeType
- {
- ShrinkToFit,
- ScaleToFill,
- FitWidth,
- FitHeight
+namespace Tizen.NUI {
+
+public enum FittingModeType {
+ SHRINK_TO_FIT,
+ SCALE_TO_FILL,
+ FIT_WIDTH,
+ FIT_HEIGHT
}
}
// the SWIG interface file instead.
//------------------------------------------------------------------------------
-namespace Tizen.NUI {\r
-\r
+namespace Tizen.NUI {
+
internal class FixedRuler : Ruler {
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
// the SWIG interface file instead.
//------------------------------------------------------------------------------
-namespace Tizen.NUI {\r
-\r
+namespace Tizen.NUI {
+
internal class FloatSignal : global::System.IDisposable {
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
protected bool swigCMemOwn;
// the SWIG interface file instead.
//------------------------------------------------------------------------------
-namespace Tizen.NUI {\r
-\r
+namespace Tizen.NUI {
+
internal class FocusChangedSignal : global::System.IDisposable {
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
protected bool swigCMemOwn;
// the SWIG interface file instead.
//------------------------------------------------------------------------------
-namespace Tizen.NUI {\r
-\r
+namespace Tizen.NUI {
+
internal class FocusGroupChangedSignal : global::System.IDisposable {
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
protected bool swigCMemOwn;
// the SWIG interface file instead.
//------------------------------------------------------------------------------
-namespace Tizen.NUI {\r
-\r
+namespace Tizen.NUI {
+
internal class FrameBuffer : BaseHandle {
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
// the SWIG interface file instead.
//------------------------------------------------------------------------------
-namespace Tizen.NUI {\r
-\r
+namespace Tizen.NUI {
+
internal class FrameBufferImage : Image {
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
namespace Tizen.NUI {
using System;
-using System.Runtime.InteropServices;\r
-\r
-\r
+using System.Runtime.InteropServices;
+
+
internal class GaussianBlurView : View {
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
// the SWIG interface file instead.
//------------------------------------------------------------------------------
-namespace Tizen.NUI {\r
-\r
+namespace Tizen.NUI {
+
internal class GaussianBlurViewSignal : global::System.IDisposable {
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
protected bool swigCMemOwn;
// the SWIG interface file instead.
//------------------------------------------------------------------------------
-namespace Tizen.NUI {\r
-\r
+namespace Tizen.NUI {
+
internal class Geometry : BaseHandle {
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
// the SWIG interface file instead.
//------------------------------------------------------------------------------
-namespace Tizen.NUI {\r
-\r
- public class GestureDetector : Handle {
+namespace Tizen.NUI {
+
+public class GestureDetector : Handle {
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
internal GestureDetector(global::System.IntPtr cPtr, bool cMemoryOwn) : base(NDalicPINVOKE.GestureDetector_SWIGUpcast(cPtr), cMemoryOwn) {
// the SWIG interface file instead.
//------------------------------------------------------------------------------
-namespace Tizen.NUI {\r
-\r
+namespace Tizen.NUI {
+
internal enum GradientVisualSpreadMethodType {
PAD,
REFLECT,
// the SWIG interface file instead.
//------------------------------------------------------------------------------
-namespace Tizen.NUI {\r
-\r
+namespace Tizen.NUI {
+
internal enum GradientVisualUnitsType {
OBJECT_BOUNDING_BOX,
USER_SPACE
// the SWIG interface file instead.
//------------------------------------------------------------------------------
-namespace Tizen.NUI\r
-{\r
-\r
- public class Handle : BaseHandle\r
- {\r
- private global::System.Runtime.InteropServices.HandleRef swigCPtr;\r
-\r
- internal Handle(global::System.IntPtr cPtr, bool cMemoryOwn) : base(NDalicPINVOKE.Handle_SWIGUpcast(cPtr), cMemoryOwn)\r
- {\r
- swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);\r
- }\r
-\r
- internal static global::System.Runtime.InteropServices.HandleRef getCPtr(Handle obj)\r
- {\r
- return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;\r
- }\r
-\r
- ~Handle()\r
- {\r
- DisposeQueue.Instance.Add(this);\r
- }\r
-\r
- public override void Dispose()\r
- {\r
- if (!Stage.IsInstalled())\r
- {\r
- DisposeQueue.Instance.Add(this);\r
- return;\r
- }\r
-\r
- lock (this)\r
- {\r
- if (swigCPtr.Handle != global::System.IntPtr.Zero)\r
- {\r
- if (swigCMemOwn)\r
- {\r
- swigCMemOwn = false;\r
- NDalicPINVOKE.delete_Handle(swigCPtr);\r
- }\r
- swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);\r
- }\r
- global::System.GC.SuppressFinalize(this);\r
- base.Dispose();\r
- }\r
- }\r
-\r
-\r
- public Handle() : this(NDalicPINVOKE.Handle_New(), true)\r
- {\r
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-\r
- }\r
- public Handle(Handle handle) : this(NDalicPINVOKE.new_Handle__SWIG_1(Handle.getCPtr(handle)), true)\r
- {\r
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
- }\r
-\r
- public Handle Assign(Handle rhs)\r
- {\r
- Handle ret = new Handle(NDalicPINVOKE.Handle_Assign(swigCPtr, Handle.getCPtr(rhs)), false);\r
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
- return ret;\r
- }\r
-\r
- public static Handle DownCast(BaseHandle handle)\r
- {\r
- Handle ret = new Handle(NDalicPINVOKE.Handle_DownCast(BaseHandle.getCPtr(handle)), true);\r
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
- return ret;\r
- }\r
-\r
- public bool Supports(Handle.Capability capability)\r
- {\r
- bool ret = NDalicPINVOKE.Handle_Supports(swigCPtr, (int)capability);\r
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
- return ret;\r
- }\r
-\r
- public uint GetPropertyCount()\r
- {\r
- uint ret = NDalicPINVOKE.Handle_GetPropertyCount(swigCPtr);\r
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
- return ret;\r
- }\r
-\r
- public string GetPropertyName(int index)\r
- {\r
- string ret = NDalicPINVOKE.Handle_GetPropertyName(swigCPtr, index);\r
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
- return ret;\r
- }\r
-\r
- public int GetPropertyIndex(string name)\r
- {\r
- int ret = NDalicPINVOKE.Handle_GetPropertyIndex(swigCPtr, name);\r
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
- return ret;\r
- }\r
-\r
- public bool IsPropertyWritable(int index)\r
- {\r
- bool ret = NDalicPINVOKE.Handle_IsPropertyWritable(swigCPtr, index);\r
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
- return ret;\r
- }\r
-\r
- public bool IsPropertyAnimatable(int index)\r
- {\r
- bool ret = NDalicPINVOKE.Handle_IsPropertyAnimatable(swigCPtr, index);\r
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
- return ret;\r
- }\r
-\r
- public bool IsPropertyAConstraintInput(int index)\r
- {\r
- bool ret = NDalicPINVOKE.Handle_IsPropertyAConstraintInput(swigCPtr, index);\r
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
- return ret;\r
- }\r
-\r
- public PropertyType GetPropertyType(int index)\r
- {\r
- PropertyType ret = (PropertyType)NDalicPINVOKE.Handle_GetPropertyType(swigCPtr, index);\r
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
- return ret;\r
- }\r
-\r
- public void SetProperty(int index, PropertyValue propertyValue)\r
- {\r
- NDalicPINVOKE.Handle_SetProperty(swigCPtr, index, PropertyValue.getCPtr(propertyValue));\r
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
- }\r
-\r
- public int RegisterProperty(string name, PropertyValue propertyValue)\r
- {\r
- int ret = NDalicPINVOKE.Handle_RegisterProperty__SWIG_0(swigCPtr, name, PropertyValue.getCPtr(propertyValue));\r
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
- return ret;\r
- }\r
-\r
- public int RegisterProperty(string name, PropertyValue propertyValue, PropertyAccessMode accessMode)\r
- {\r
- int ret = NDalicPINVOKE.Handle_RegisterProperty__SWIG_1(swigCPtr, name, PropertyValue.getCPtr(propertyValue), (int)accessMode);\r
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
- return ret;\r
- }\r
-\r
- public PropertyValue GetProperty(int index)\r
- {\r
- PropertyValue ret = new PropertyValue(NDalicPINVOKE.Handle_GetProperty(swigCPtr, index), true);\r
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
- return ret;\r
- }\r
-\r
- internal void GetPropertyIndices(VectorInteger indices)\r
- {\r
- NDalicPINVOKE.Handle_GetPropertyIndices(swigCPtr, VectorInteger.getCPtr(indices));\r
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
- }\r
-\r
- internal PropertyNotification AddPropertyNotification(int index, PropertyCondition condition)\r
- {\r
- PropertyNotification ret = new PropertyNotification(NDalicPINVOKE.Handle_AddPropertyNotification__SWIG_0(swigCPtr, index, PropertyCondition.getCPtr(condition)), true);\r
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
- return ret;\r
- }\r
-\r
- internal PropertyNotification AddPropertyNotification(int index, int componentIndex, PropertyCondition condition)\r
- {\r
- PropertyNotification ret = new PropertyNotification(NDalicPINVOKE.Handle_AddPropertyNotification__SWIG_1(swigCPtr, index, componentIndex, PropertyCondition.getCPtr(condition)), true);\r
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
- return ret;\r
- }\r
-\r
- internal void RemovePropertyNotification(PropertyNotification propertyNotification)\r
- {\r
- NDalicPINVOKE.Handle_RemovePropertyNotification(swigCPtr, PropertyNotification.getCPtr(propertyNotification));\r
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
- }\r
-\r
- public void RemovePropertyNotifications()\r
- {\r
- NDalicPINVOKE.Handle_RemovePropertyNotifications(swigCPtr);\r
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
- }\r
-\r
- public void RemoveConstraints()\r
- {\r
- NDalicPINVOKE.Handle_RemoveConstraints__SWIG_0(swigCPtr);\r
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
- }\r
-\r
- public void RemoveConstraints(uint tag)\r
- {\r
- NDalicPINVOKE.Handle_RemoveConstraints__SWIG_1(swigCPtr, tag);\r
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
- }\r
-\r
- public enum Capability\r
- {\r
- DYNAMIC_PROPERTIES = 0x01\r
- }\r
-\r
+namespace Tizen.NUI {
+
+public class Handle : BaseHandle {
+ private global::System.Runtime.InteropServices.HandleRef swigCPtr;
+
+ internal Handle(global::System.IntPtr cPtr, bool cMemoryOwn) : base(NDalicPINVOKE.Handle_SWIGUpcast(cPtr), cMemoryOwn) {
+ swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
+ }
+
+ internal static global::System.Runtime.InteropServices.HandleRef getCPtr(Handle obj) {
+ return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
+ }
+
+ ~Handle() {
+ DisposeQueue.Instance.Add(this);
+ }
+
+ public override void Dispose() {
+ if (!Stage.IsInstalled()) {
+ DisposeQueue.Instance.Add(this);
+ return;
}
+ lock(this) {
+ if (swigCPtr.Handle != global::System.IntPtr.Zero) {
+ if (swigCMemOwn) {
+ swigCMemOwn = false;
+ NDalicPINVOKE.delete_Handle(swigCPtr);
+ }
+ swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
+ }
+ global::System.GC.SuppressFinalize(this);
+ base.Dispose();
+ }
+ }
+
+
+ public Handle () : this (NDalicPINVOKE.Handle_New(), true) {
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+
+ }
+ public Handle(Handle handle) : this(NDalicPINVOKE.new_Handle__SWIG_1(Handle.getCPtr(handle)), true) {
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ }
+
+ public Handle Assign(Handle rhs) {
+ Handle ret = new Handle(NDalicPINVOKE.Handle_Assign(swigCPtr, Handle.getCPtr(rhs)), false);
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ return ret;
+ }
+
+ public static Handle DownCast(BaseHandle handle) {
+ Handle ret = new Handle(NDalicPINVOKE.Handle_DownCast(BaseHandle.getCPtr(handle)), true);
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ return ret;
+ }
+
+ public bool Supports(Handle.Capability capability) {
+ bool ret = NDalicPINVOKE.Handle_Supports(swigCPtr, (int)capability);
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ return ret;
+ }
+
+ public uint GetPropertyCount() {
+ uint ret = NDalicPINVOKE.Handle_GetPropertyCount(swigCPtr);
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ return ret;
+ }
+
+ public string GetPropertyName(int index) {
+ string ret = NDalicPINVOKE.Handle_GetPropertyName(swigCPtr, index);
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ return ret;
+ }
+
+ public int GetPropertyIndex(string name) {
+ int ret = NDalicPINVOKE.Handle_GetPropertyIndex(swigCPtr, name);
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ return ret;
+ }
+
+ public bool IsPropertyWritable(int index) {
+ bool ret = NDalicPINVOKE.Handle_IsPropertyWritable(swigCPtr, index);
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ return ret;
+ }
+
+ public bool IsPropertyAnimatable(int index) {
+ bool ret = NDalicPINVOKE.Handle_IsPropertyAnimatable(swigCPtr, index);
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ return ret;
+ }
+
+ public bool IsPropertyAConstraintInput(int index) {
+ bool ret = NDalicPINVOKE.Handle_IsPropertyAConstraintInput(swigCPtr, index);
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ return ret;
+ }
+
+ public PropertyType GetPropertyType(int index) {
+ PropertyType ret = (PropertyType)NDalicPINVOKE.Handle_GetPropertyType(swigCPtr, index);
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ return ret;
+ }
+
+ public void SetProperty(int index, PropertyValue propertyValue) {
+ NDalicPINVOKE.Handle_SetProperty(swigCPtr, index, PropertyValue.getCPtr(propertyValue));
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ }
+
+ public int RegisterProperty(string name, PropertyValue propertyValue) {
+ int ret = NDalicPINVOKE.Handle_RegisterProperty__SWIG_0(swigCPtr, name, PropertyValue.getCPtr(propertyValue));
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ return ret;
+ }
+
+ public int RegisterProperty(string name, PropertyValue propertyValue, PropertyAccessMode accessMode) {
+ int ret = NDalicPINVOKE.Handle_RegisterProperty__SWIG_1(swigCPtr, name, PropertyValue.getCPtr(propertyValue), (int)accessMode);
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ return ret;
+ }
+
+ public PropertyValue GetProperty(int index) {
+ PropertyValue ret = new PropertyValue(NDalicPINVOKE.Handle_GetProperty(swigCPtr, index), true);
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ return ret;
+ }
+
+ internal void GetPropertyIndices(VectorInteger indices)
+ {
+ NDalicPINVOKE.Handle_GetPropertyIndices(swigCPtr, VectorInteger.getCPtr(indices));
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ }
+
+ internal PropertyNotification AddPropertyNotification(int index, PropertyCondition condition)
+ {
+ PropertyNotification ret = new PropertyNotification(NDalicPINVOKE.Handle_AddPropertyNotification__SWIG_0(swigCPtr, index, PropertyCondition.getCPtr(condition)), true);
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ return ret;
+ }
+
+ internal PropertyNotification AddPropertyNotification(int index, int componentIndex, PropertyCondition condition)
+ {
+ PropertyNotification ret = new PropertyNotification(NDalicPINVOKE.Handle_AddPropertyNotification__SWIG_1(swigCPtr, index, componentIndex, PropertyCondition.getCPtr(condition)), true);
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ return ret;
+ }
+
+ internal void RemovePropertyNotification(PropertyNotification propertyNotification)
+ {
+ NDalicPINVOKE.Handle_RemovePropertyNotification(swigCPtr, PropertyNotification.getCPtr(propertyNotification));
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ }
+
+ public void RemovePropertyNotifications() {
+ NDalicPINVOKE.Handle_RemovePropertyNotifications(swigCPtr);
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ }
+
+ public void RemoveConstraints() {
+ NDalicPINVOKE.Handle_RemoveConstraints__SWIG_0(swigCPtr);
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ }
+
+ public void RemoveConstraints(uint tag) {
+ NDalicPINVOKE.Handle_RemoveConstraints__SWIG_1(swigCPtr, tag);
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ }
+
+ public enum Capability {
+ DYNAMIC_PROPERTIES = 0x01
+ }
+
+}
+
}
namespace Tizen.NUI {
using System;
-using System.Runtime.InteropServices;\r
-\r
-\r
+using System.Runtime.InteropServices;
+
+
internal class Image : BaseHandle {
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
// the SWIG interface file instead.
//------------------------------------------------------------------------------
-namespace Tizen.NUI {\r
-\r
+namespace Tizen.NUI {
+
internal class ImageSignal : global::System.IDisposable {
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
protected bool swigCMemOwn;
// the SWIG interface file instead.
//------------------------------------------------------------------------------
-namespace Tizen.NUI {\r
-\r
+namespace Tizen.NUI {
+
internal class Item : global::System.IDisposable {
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
protected bool swigCMemOwn;
// the SWIG interface file instead.
//------------------------------------------------------------------------------
-namespace Tizen.NUI {\r
-\r
+namespace Tizen.NUI {
+
internal class ItemContainer : global::System.IDisposable, global::System.Collections.IEnumerable
, global::System.Collections.Generic.IEnumerable<Item>
{
// the SWIG interface file instead.
//------------------------------------------------------------------------------
+#define DOT_NET_CORE\r
+#if (DOT_NET_CORE)
using System.Reflection;
+#endif
namespace Tizen.NUI\r
{\r
NDalicPINVOKE.ItemFactory_director_connect(swigCPtr, swigDelegate0, swigDelegate1, swigDelegate2);\r
}\r
\r
-\r
+#if (DOT_NET_CORE)\r
private bool SwigDerivedClassHasMethod(string methodName, global::System.Type[] methodTypes)\r
{\r
global::System.Reflection.MethodInfo methodInfo = this.GetType().GetMethod(methodName, methodTypes);\r
Tizen.Log.Debug("NUI-APP", "hasDerivedMethod=" + hasDerivedMethod);\r
return hasDerivedMethod;\r
}\r
+#else\r
+ private bool SwigDerivedClassHasMethod(string methodName, global::System.Type[] methodTypes)\r
+ {\r
+ global::System.Reflection.MethodInfo methodInfo = this.GetType().GetMethod(methodName, global::System.Reflection.BindingFlags.Public | global::System.Reflection.BindingFlags.NonPublic | global::System.Reflection.BindingFlags.Instance, null, methodTypes, null);\r
+ bool hasDerivedMethod = methodInfo.DeclaringType.IsSubclassOf(typeof(ItemFactory));\r
+ return hasDerivedMethod;\r
+ }\r
+#endif\r
\r
private uint SwigDirectorGetNumberOfItems()\r
{\r
// the SWIG interface file instead.
//------------------------------------------------------------------------------
-namespace Tizen.NUI {\r
-\r
+namespace Tizen.NUI {
+
internal class ItemIdContainer : global::System.IDisposable, global::System.Collections.IEnumerable
, global::System.Collections.Generic.IList<uint>
{
// the SWIG interface file instead.
//------------------------------------------------------------------------------
-namespace Tizen.NUI {\r
-\r
+namespace Tizen.NUI {
+
internal class ItemLayout : RefObject {
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
// the SWIG interface file instead.
//------------------------------------------------------------------------------
-namespace Tizen.NUI {\r
-\r
+namespace Tizen.NUI {
+
internal class ItemRange : global::System.IDisposable {
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
protected bool swigCMemOwn;
namespace Tizen.NUI {
using System;
-using System.Runtime.InteropServices;\r
-\r
-\r
+using System.Runtime.InteropServices;
+
+
internal class ItemView : Scrollable {
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
// the SWIG interface file instead.
//------------------------------------------------------------------------------
-namespace Tizen.NUI {\r
-\r
+namespace Tizen.NUI {
+
internal class KeyEventSignal : global::System.IDisposable {
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
protected bool swigCMemOwn;
// the SWIG interface file instead.
//------------------------------------------------------------------------------
-namespace Tizen.NUI {\r
-\r
- public class KeyInputFocusManager : BaseHandle {
+namespace Tizen.NUI {
+
+public class KeyInputFocusManager : BaseHandle {
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
internal KeyInputFocusManager(global::System.IntPtr cPtr, bool cMemoryOwn) : base(NDalicPINVOKE.KeyInputFocusManager_SWIGUpcast(cPtr), cMemoryOwn) {
// the SWIG interface file instead.
//------------------------------------------------------------------------------
-namespace Tizen.NUI {\r
-\r
+namespace Tizen.NUI {
+
internal class KeyInputFocusSignal : global::System.IDisposable {
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
protected bool swigCMemOwn;
return ret;
}
- public void Connect(FocusManager.PreFocusChangeEventCallback func) {
+ public void Connect(FocusManager.PreFocusChangeEventCallbackDelegate func) {
NDalicManualPINVOKE.PreFocusChangeSignal_Connect(swigCPtr, func);
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
-// Copyright (c) 2016 Samsung Electronics Co., Ltd All Rights Reserved\r
-// PROPRIETARY/CONFIDENTIAL \r
-// This software is the confidential and proprietary\r
-// information of SAMSUNG ELECTRONICS ("Confidential Information"). You shall\r
-// not disclose such Confidential Information and shall use it only in\r
-// accordance with the terms of the license agreement you entered into with\r
-// SAMSUNG ELECTRONICS. SAMSUNG make no representations or warranties about the\r
-// suitability of the software, either express or implied, including but not\r
-// limited to the implied warranties of merchantability, fitness for a\r
-// particular purpose, or non-infringement. SAMSUNG shall not be liable for any\r
-// damages suffered by licensee as a result of using, modifying or distributing\r
-// this software or its derivatives.\r
-\r
-// Copyright (c) 2017 Samsung Electronics Co., Ltd.\r
-//\r
-// Licensed under the Apache License, Version 2.0 (the "License");\r
-// you may not use this file except in compliance with the License.\r
-// You may obtain a copy of the License at\r
-//\r
-// http://www.apache.org/licenses/LICENSE-2.0\r
-//\r
-// Unless required by applicable law or agreed to in writing, software\r
-// distributed under the License is distributed on an "AS IS" BASIS,\r
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
-// See the License for the specific language governing permissions and\r
-// limitations under the License.\r
-//\r
-\r
-// This File has been auto-generated by SWIG and then modified using DALi Ruby Scripts\r
-// Some have been manually changed\r
-\r
-namespace Tizen.NUI\r
-{\r
-\r
- internal class LinearConstrainer : Handle\r
- {\r
- private global::System.Runtime.InteropServices.HandleRef swigCPtr;\r
-\r
- internal LinearConstrainer(global::System.IntPtr cPtr, bool cMemoryOwn) : base(NDalicPINVOKE.LinearConstrainer_SWIGUpcast(cPtr), cMemoryOwn)\r
- {\r
- swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);\r
- }\r
-\r
- internal static global::System.Runtime.InteropServices.HandleRef getCPtr(LinearConstrainer obj)\r
- {\r
- return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;\r
- }\r
-\r
- ~LinearConstrainer()\r
- {\r
- DisposeQueue.Instance.Add(this);\r
- }\r
-\r
- public override void Dispose()\r
- {\r
- if (!Stage.IsInstalled())\r
- {\r
- DisposeQueue.Instance.Add(this);\r
- return;\r
- }\r
-\r
- lock (this)\r
- {\r
- if (swigCPtr.Handle != global::System.IntPtr.Zero)\r
- {\r
- if (swigCMemOwn)\r
- {\r
- swigCMemOwn = false;\r
- NDalicPINVOKE.delete_LinearConstrainer(swigCPtr);\r
- }\r
- swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);\r
- }\r
- global::System.GC.SuppressFinalize(this);\r
- base.Dispose();\r
- }\r
- }\r
-\r
-\r
- public class Property : global::System.IDisposable\r
- {\r
- private global::System.Runtime.InteropServices.HandleRef swigCPtr;\r
- protected bool swigCMemOwn;\r
-\r
- internal Property(global::System.IntPtr cPtr, bool cMemoryOwn)\r
- {\r
- swigCMemOwn = cMemoryOwn;\r
- swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);\r
- }\r
-\r
- internal static global::System.Runtime.InteropServices.HandleRef getCPtr(Property obj)\r
- {\r
- return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;\r
- }\r
-\r
- ~Property()\r
- {\r
- Dispose();\r
- }\r
-\r
- public virtual void Dispose()\r
- {\r
- lock (this)\r
- {\r
- if (swigCPtr.Handle != global::System.IntPtr.Zero)\r
- {\r
- if (swigCMemOwn)\r
- {\r
- swigCMemOwn = false;\r
- NDalicPINVOKE.delete_LinearConstrainer_Property(swigCPtr);\r
- }\r
- swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);\r
- }\r
- global::System.GC.SuppressFinalize(this);\r
- }\r
- }\r
-\r
- internal Property() : this(NDalicPINVOKE.new_LinearConstrainer_Property(), true)\r
- {\r
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
- }\r
-\r
- internal static readonly int VALUE = NDalicPINVOKE.LinearConstrainer_Property_VALUE_get();\r
- internal static readonly int PROGRESS = NDalicPINVOKE.LinearConstrainer_Property_PROGRESS_get();\r
-\r
- }\r
-\r
- public LinearConstrainer() : this(NDalicPINVOKE.LinearConstrainer_New(), true)\r
- {\r
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-\r
- }\r
- public new static LinearConstrainer DownCast(BaseHandle handle)\r
- {\r
- LinearConstrainer ret = new LinearConstrainer(NDalicPINVOKE.LinearConstrainer_DownCast(BaseHandle.getCPtr(handle)), true);\r
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
- return ret;\r
- }\r
-\r
- internal LinearConstrainer(LinearConstrainer handle) : this(NDalicPINVOKE.new_LinearConstrainer__SWIG_1(LinearConstrainer.getCPtr(handle)), true)\r
- {\r
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
- }\r
-\r
- internal LinearConstrainer Assign(LinearConstrainer rhs)\r
- {\r
- LinearConstrainer ret = new LinearConstrainer(NDalicPINVOKE.LinearConstrainer_Assign(swigCPtr, LinearConstrainer.getCPtr(rhs)), false);\r
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
- return ret;\r
- }\r
-\r
- public void Apply(Property target, Property source, Vector2 range, Vector2 wrap)\r
- {\r
- NDalicPINVOKE.LinearConstrainer_Apply__SWIG_0(swigCPtr, Property.getCPtr(target), Property.getCPtr(source), Vector2.getCPtr(range), Vector2.getCPtr(wrap));\r
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
- }\r
-\r
- public void Apply(Property target, Property source, Vector2 range)\r
- {\r
- NDalicPINVOKE.LinearConstrainer_Apply__SWIG_1(swigCPtr, Property.getCPtr(target), Property.getCPtr(source), Vector2.getCPtr(range));\r
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
- }\r
-\r
- internal void Remove(Handle target)\r
- {\r
- NDalicPINVOKE.LinearConstrainer_Remove(swigCPtr, Handle.getCPtr(target));\r
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
- }\r
-\r
- public PropertyArray Value\r
- {\r
- get\r
- {\r
- Tizen.NUI.PropertyArray temp = new Tizen.NUI.PropertyArray();\r
- GetProperty(LinearConstrainer.Property.VALUE).Get(temp);\r
- return temp;\r
- }\r
- set\r
- {\r
- SetProperty(LinearConstrainer.Property.VALUE, new Tizen.NUI.PropertyValue(value));\r
- }\r
- }\r
- public PropertyArray Progress\r
- {\r
- get\r
- {\r
- Tizen.NUI.PropertyArray temp = new Tizen.NUI.PropertyArray();\r
- GetProperty(LinearConstrainer.Property.PROGRESS).Get(temp);\r
- return temp;\r
- }\r
- set\r
- {\r
- SetProperty(LinearConstrainer.Property.PROGRESS, new Tizen.NUI.PropertyValue(value));\r
- }\r
- }\r
-\r
- }\r
-\r
-}\r
+/** 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.
+*
+*/
+// This File has been auto-generated by SWIG and then modified using DALi Ruby Scripts
+//------------------------------------------------------------------------------
+// <auto-generated />
+//
+// This file was automatically generated by SWIG (http://www.swig.org).
+// Version 3.0.9
+//
+// Do not make changes to this file unless you know what you are doing--modify
+// the SWIG interface file instead.
+//------------------------------------------------------------------------------
+
+namespace Tizen.NUI {
+
+ internal class LinearConstrainer : Handle
+ {
+ private global::System.Runtime.InteropServices.HandleRef swigCPtr;
+
+ internal LinearConstrainer(global::System.IntPtr cPtr, bool cMemoryOwn) : base(NDalicPINVOKE.LinearConstrainer_SWIGUpcast(cPtr), cMemoryOwn) {
+ swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
+ }
+
+ internal static global::System.Runtime.InteropServices.HandleRef getCPtr(LinearConstrainer obj) {
+ return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
+ }
+
+ ~LinearConstrainer() {
+ DisposeQueue.Instance.Add(this);
+ }
+
+ public override void Dispose() {
+ if (!Stage.IsInstalled()) {
+ DisposeQueue.Instance.Add(this);
+ return;
+ }
+
+ lock(this) {
+ if (swigCPtr.Handle != global::System.IntPtr.Zero) {
+ if (swigCMemOwn) {
+ swigCMemOwn = false;
+ NDalicPINVOKE.delete_LinearConstrainer(swigCPtr);
+ }
+ swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
+ }
+ global::System.GC.SuppressFinalize(this);
+ base.Dispose();
+ }
+ }
+
+
+ public class Property : global::System.IDisposable {
+ private global::System.Runtime.InteropServices.HandleRef swigCPtr;
+ protected bool swigCMemOwn;
+
+ internal Property(global::System.IntPtr cPtr, bool cMemoryOwn) {
+ swigCMemOwn = cMemoryOwn;
+ swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
+ }
+
+ internal static global::System.Runtime.InteropServices.HandleRef getCPtr(Property obj) {
+ return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
+ }
+
+ ~Property() {
+ Dispose();
+ }
+
+ public virtual void Dispose() {
+ lock(this) {
+ if (swigCPtr.Handle != global::System.IntPtr.Zero) {
+ if (swigCMemOwn) {
+ swigCMemOwn = false;
+ NDalicPINVOKE.delete_LinearConstrainer_Property(swigCPtr);
+ }
+ swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
+ }
+ global::System.GC.SuppressFinalize(this);
+ }
+ }
+
+ internal Property() : this(NDalicPINVOKE.new_LinearConstrainer_Property(), true) {
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ }
+
+ internal static readonly int VALUE = NDalicPINVOKE.LinearConstrainer_Property_VALUE_get();
+ internal static readonly int PROGRESS = NDalicPINVOKE.LinearConstrainer_Property_PROGRESS_get();
+
+ }
+
+ public LinearConstrainer () : this (NDalicPINVOKE.LinearConstrainer_New(), true) {
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+
+ }
+ public new static LinearConstrainer DownCast(BaseHandle handle) {
+ LinearConstrainer ret = new LinearConstrainer(NDalicPINVOKE.LinearConstrainer_DownCast(BaseHandle.getCPtr(handle)), true);
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ return ret;
+ }
+
+ internal LinearConstrainer(LinearConstrainer handle) : this(NDalicPINVOKE.new_LinearConstrainer__SWIG_1(LinearConstrainer.getCPtr(handle)), true)
+ {
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ }
+
+ internal LinearConstrainer Assign(LinearConstrainer rhs)
+ {
+ LinearConstrainer ret = new LinearConstrainer(NDalicPINVOKE.LinearConstrainer_Assign(swigCPtr, LinearConstrainer.getCPtr(rhs)), false);
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ return ret;
+ }
+
+ public void Apply(Property target, Property source, Vector2 range, Vector2 wrap) {
+ NDalicPINVOKE.LinearConstrainer_Apply__SWIG_0(swigCPtr, Property.getCPtr(target), Property.getCPtr(source), Vector2.getCPtr(range), Vector2.getCPtr(wrap));
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ }
+
+ public void Apply(Property target, Property source, Vector2 range) {
+ NDalicPINVOKE.LinearConstrainer_Apply__SWIG_1(swigCPtr, Property.getCPtr(target), Property.getCPtr(source), Vector2.getCPtr(range));
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ }
+
+ internal void Remove(Handle target)
+ {
+ NDalicPINVOKE.LinearConstrainer_Remove(swigCPtr, Handle.getCPtr(target));
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ }
+
+ public PropertyArray Value
+ {
+ get
+ {
+ Tizen.NUI.PropertyArray temp = new Tizen.NUI.PropertyArray();
+ GetProperty(LinearConstrainer.Property.VALUE).Get(temp);
+ return temp;
+ }
+ set
+ {
+ SetProperty(LinearConstrainer.Property.VALUE, new Tizen.NUI.PropertyValue(value));
+ }
+ }
+ public PropertyArray Progress
+ {
+ get
+ {
+ Tizen.NUI.PropertyArray temp = new Tizen.NUI.PropertyArray();
+ GetProperty(LinearConstrainer.Property.PROGRESS).Get(temp);
+ return temp;
+ }
+ set
+ {
+ SetProperty(LinearConstrainer.Property.PROGRESS, new Tizen.NUI.PropertyValue(value));
+ }
+ }
+
+}
+
+}
// the SWIG interface file instead.
//------------------------------------------------------------------------------
-namespace Tizen.NUI {\r
-\r
+namespace Tizen.NUI {
+
internal enum LoadingState {
ResourceLoading,
ResourceLoadingSucceeded,
// the SWIG interface file instead.
//------------------------------------------------------------------------------
-namespace Tizen.NUI {\r
-\r
+namespace Tizen.NUI {
+
internal class LongPressGestureDetectedSignal : global::System.IDisposable {
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
protected bool swigCMemOwn;
namespace Tizen.NUI {
using System;
-using System.Runtime.InteropServices;\r
-\r
- public class LongPressGestureDetector : GestureDetector {
+using System.Runtime.InteropServices;
+
+public class LongPressGestureDetector : GestureDetector {
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
internal LongPressGestureDetector(global::System.IntPtr cPtr, bool cMemoryOwn) : base(NDalicPINVOKE.LongPressGestureDetector_SWIGUpcast(cPtr), cMemoryOwn) {
/*
- * Copyright (c) 2016 Samsung Electronics Co., Ltd.
+ * 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.
public static extern uint PreFocusChangeSignal_GetConnectionCount(global::System.Runtime.InteropServices.HandleRef jarg1);
[global::System.Runtime.InteropServices.DllImport("libdali-csharp-binder.so", EntryPoint="CSharp_KeyboardPreFocusChangeSignal_Connect")]
- public static extern void PreFocusChangeSignal_Connect(global::System.Runtime.InteropServices.HandleRef jarg1, FocusManager.PreFocusChangeEventCallback delegate1);
+ public static extern void PreFocusChangeSignal_Connect(global::System.Runtime.InteropServices.HandleRef jarg1, FocusManager.PreFocusChangeEventCallbackDelegate delegate1);
[global::System.Runtime.InteropServices.DllImport("libdali-csharp-binder.so", EntryPoint="CSharp_KeyboardPreFocusChangeSignal_Disconnect")]
public static extern void PreFocusChangeSignal_Disconnect(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2);
[global::System.Runtime.InteropServices.DllImport("libdali-csharp-binder.so", EntryPoint="CSharp_Actor_Property_OPACITY_get")]
public static extern int Actor_Property_OPACITY_get();
+ [global::System.Runtime.InteropServices.DllImport("libdali-csharp-binder.so", EntryPoint="CSharp_Actor_Property_SCREEN_POSITION_get")]
+ public static extern int Actor_Property_SCREEN_POSITION_get();
+
+ [global::System.Runtime.InteropServices.DllImport("libdali-csharp-binder.so", EntryPoint="CSharp_Actor_Property_POSITION_USES_ANCHOR_POINT_get")]
+ public static extern int Actor_Property_POSITION_USES_ANCHOR_POINT_get();
+
[global::System.Runtime.InteropServices.DllImport("libdali-csharp-binder.so", EntryPoint="CSharp_View_Property_TOOLTIP_get")]
public static extern int View_Property_TOOLTIP_get();
[global::System.Runtime.InteropServices.DllImport("libdali-csharp-binder.so", EntryPoint="CSharp_View_Property_SUB_STATE_get")]
public static extern int View_Property_SUB_STATE_get();
+ [global::System.Runtime.InteropServices.DllImport("libdali-csharp-binder.so", EntryPoint="CSharp_View_Property_LEFT_FOCUSABLE_ACTOR_ID_get")]
+ public static extern int View_Property_LEFT_FOCUSABLE_ACTOR_ID_get();
+
+ [global::System.Runtime.InteropServices.DllImport("libdali-csharp-binder.so", EntryPoint="CSharp_View_Property_RIGHT_FOCUSABLE_ACTOR_ID_get")]
+ public static extern int View_Property_RIGHT_FOCUSABLE_ACTOR_ID_get();
+
+ [global::System.Runtime.InteropServices.DllImport("libdali-csharp-binder.so", EntryPoint="CSharp_View_Property_UP_FOCUSABLE_ACTOR_ID_get")]
+ public static extern int View_Property_UP_FOCUSABLE_ACTOR_ID_get();
+
+ [global::System.Runtime.InteropServices.DllImport("libdali-csharp-binder.so", EntryPoint="CSharp_View_Property_DOWN_FOCUSABLE_ACTOR_ID_get")]
+ public static extern int View_Property_DOWN_FOCUSABLE_ACTOR_ID_get();
+
[global::System.Runtime.InteropServices.DllImport("libdali-csharp-binder.so", EntryPoint="CSharp_ItemView_Property_LAYOUT_get")]
public static extern int ItemView_Property_LAYOUT_get();
// the SWIG interface file instead.
//------------------------------------------------------------------------------
-namespace Tizen.NUI {\r
-\r
+namespace Tizen.NUI {
+
internal class Matrix : global::System.IDisposable {
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
protected bool swigCMemOwn;
// the SWIG interface file instead.
//------------------------------------------------------------------------------
-namespace Tizen.NUI {\r
-\r
+namespace Tizen.NUI {
+
internal class Matrix3 : global::System.IDisposable {
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
protected bool swigCMemOwn;
// the SWIG interface file instead.
//------------------------------------------------------------------------------
-namespace Tizen.NUI {\r
-\r
+namespace Tizen.NUI {
+
internal enum MeshVisualShadingModeValue {
TEXTURELESS_WITH_DIFFUSE_LIGHTING,
TEXTURED_WITH_SPECULAR_LIGHTING,
// the SWIG interface file instead.
//------------------------------------------------------------------------------
-namespace Tizen.NUI {\r
-\r
+namespace Tizen.NUI {
+
internal enum Meta {
DIMENSION_COUNT = 2
}
// the SWIG interface file instead.
//------------------------------------------------------------------------------
-namespace Tizen.NUI {\r
-\r
+namespace Tizen.NUI {
+
internal class Model3dView : View {
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
// the SWIG interface file instead.
//------------------------------------------------------------------------------
-namespace Tizen.NUI {\r
-\r
+namespace Tizen.NUI {
+
internal class NDalic {
public static uint int_to_uint(int x) {
uint ret = NDalicPINVOKE.int_to_uint(x);
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
+ public static void Raise(Actor actor) {
+ NDalicPINVOKE.Raise(Actor.getCPtr(actor));
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ }
+
+ public static void Lower(Actor actor) {
+ NDalicPINVOKE.Lower(Actor.getCPtr(actor));
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ }
+
+ public static void RaiseToTop(Actor actor) {
+ NDalicPINVOKE.RaiseToTop(Actor.getCPtr(actor));
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ }
+
+ public static void LowerToBottom(Actor actor) {
+ NDalicPINVOKE.LowerToBottom(Actor.getCPtr(actor));
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ }
+
+ public static void RaiseAbove(Actor actor, Actor target) {
+ NDalicPINVOKE.RaiseAbove(Actor.getCPtr(actor), Actor.getCPtr(target));
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ }
+
+ public static void LowerBelow(Actor actor, Actor target) {
+ NDalicPINVOKE.LowerBelow(Actor.getCPtr(actor), Actor.getCPtr(target));
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ }
+
public static FittingModeType FittingModeDefault {
get {
FittingModeType ret = (FittingModeType)NDalicPINVOKE.FittingModeDefault_get();
[global::System.Runtime.InteropServices.DllImport("libdali-csharp-binder.so", EntryPoint="CSharp_Dali_Texture_GetHeight")]
public static extern uint Texture_GetHeight(global::System.Runtime.InteropServices.HandleRef jarg1);
+ [global::System.Runtime.InteropServices.DllImport("libdali-csharp-binder.so", EntryPoint="CSharp_Dali_new_Texture__SWIG_2")]
+ public static extern global::System.IntPtr new_Texture__SWIG_2(global::System.Runtime.InteropServices.HandleRef jarg1);
+
[global::System.Runtime.InteropServices.DllImport("libdali-csharp-binder.so", EntryPoint="CSharp_Dali_Sampler_New")]
public static extern global::System.IntPtr Sampler_New();
[global::System.Runtime.InteropServices.DllImport("libdali-csharp-binder.so", EntryPoint="CSharp_Dali_UnparentAndReset")]
public static extern void UnparentAndReset(global::System.Runtime.InteropServices.HandleRef jarg1);
+ [global::System.Runtime.InteropServices.DllImport("libdali-csharp-binder.so", EntryPoint="CSharp_Dali_Raise")]
+ public static extern void Raise(global::System.Runtime.InteropServices.HandleRef jarg1);
+
+ [global::System.Runtime.InteropServices.DllImport("libdali-csharp-binder.so", EntryPoint="CSharp_Dali_Lower")]
+ public static extern void Lower(global::System.Runtime.InteropServices.HandleRef jarg1);
+
+ [global::System.Runtime.InteropServices.DllImport("libdali-csharp-binder.so", EntryPoint="CSharp_Dali_RaiseToTop")]
+ public static extern void RaiseToTop(global::System.Runtime.InteropServices.HandleRef jarg1);
+
+ [global::System.Runtime.InteropServices.DllImport("libdali-csharp-binder.so", EntryPoint="CSharp_Dali_LowerToBottom")]
+ public static extern void LowerToBottom(global::System.Runtime.InteropServices.HandleRef jarg1);
+
+ [global::System.Runtime.InteropServices.DllImport("libdali-csharp-binder.so", EntryPoint="CSharp_Dali_RaiseAbove")]
+ public static extern void RaiseAbove(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2);
+
+ [global::System.Runtime.InteropServices.DllImport("libdali-csharp-binder.so", EntryPoint="CSharp_Dali_LowerBelow")]
+ public static extern void LowerBelow(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2);
+
[global::System.Runtime.InteropServices.DllImport("libdali-csharp-binder.so", EntryPoint="CSharp_Dali_Layer_Property_CLIPPING_ENABLE_get")]
public static extern int Layer_Property_CLIPPING_ENABLE_get();
[global::System.Runtime.InteropServices.DllImport("libdali-csharp-binder.so", EntryPoint="CSharp_Dali_VoidSignal_Emit")]
public static extern void VoidSignal_Emit(global::System.Runtime.InteropServices.HandleRef jarg1);
- [global::System.Runtime.InteropServices.DllImport("libdali-csharp-binder.so", EntryPoint="CSharp_Dali_new_BoolSignal")]
- public static extern global::System.IntPtr new_BoolSignal();
-
- [global::System.Runtime.InteropServices.DllImport("libdali-csharp-binder.so", EntryPoint="CSharp_Dali_delete_BoolSignal")]
- public static extern void delete_BoolSignal(global::System.Runtime.InteropServices.HandleRef jarg1);
-
- [global::System.Runtime.InteropServices.DllImport("libdali-csharp-binder.so", EntryPoint="CSharp_Dali_BoolSignal_Empty")]
- public static extern bool BoolSignal_Empty(global::System.Runtime.InteropServices.HandleRef jarg1);
-
- [global::System.Runtime.InteropServices.DllImport("libdali-csharp-binder.so", EntryPoint="CSharp_Dali_BoolSignal_GetConnectionCount")]
- public static extern uint BoolSignal_GetConnectionCount(global::System.Runtime.InteropServices.HandleRef jarg1);
-
- [global::System.Runtime.InteropServices.DllImport("libdali-csharp-binder.so", EntryPoint="CSharp_Dali_BoolSignal_Connect__SWIG_0")]
- public static extern void BoolSignal_Connect__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2);
-
- [global::System.Runtime.InteropServices.DllImport("libdali-csharp-binder.so", EntryPoint="CSharp_Dali_BoolSignal_Disconnect")]
- public static extern void BoolSignal_Disconnect(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2);
-
- [global::System.Runtime.InteropServices.DllImport("libdali-csharp-binder.so", EntryPoint="CSharp_Dali_BoolSignal_Connect__SWIG_4")]
- public static extern void BoolSignal_Connect__SWIG_4(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3);
-
- [global::System.Runtime.InteropServices.DllImport("libdali-csharp-binder.so", EntryPoint="CSharp_Dali_BoolSignal_Emit")]
- public static extern bool BoolSignal_Emit(global::System.Runtime.InteropServices.HandleRef jarg1);
-
[global::System.Runtime.InteropServices.DllImport("libdali-csharp-binder.so", EntryPoint="CSharp_Dali_FloatSignal_Empty")]
public static extern bool FloatSignal_Empty(global::System.Runtime.InteropServices.HandleRef jarg1);
[global::System.Runtime.InteropServices.DllImport("libdali-csharp-binder.so", EntryPoint="CSharp_Dali_Application_GetWindow")]
public static extern global::System.IntPtr Application_GetWindow(global::System.Runtime.InteropServices.HandleRef jarg1);
+
+ //window handle test
+ [global::System.Runtime.InteropServices.DllImport("libdali-csharp-binder.so", EntryPoint="CSharp_Dali_Application_GetWindowHandleFromNUI")]
+ public static extern global::System.IntPtr Application_GetWindowHandleFromNUI(global::System.Runtime.InteropServices.HandleRef jarg1);
+
+
[global::System.Runtime.InteropServices.DllImport("libdali-csharp-binder.so", EntryPoint="CSharp_Dali_Application_ReplaceWindow")]
public static extern void Application_ReplaceWindow(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, string jarg3);
[global::System.Runtime.InteropServices.DllImport("libdali-csharp-binder.so", EntryPoint="CSharp_Dali_delete_ApplicationControlSignal")]
public static extern void delete_ApplicationControlSignal(global::System.Runtime.InteropServices.HandleRef jarg1);
- [global::System.Runtime.InteropServices.DllImport("libdali-csharp-binder.so", EntryPoint="CSharp_Dali_new_TimerSignalType")]
- public static extern global::System.IntPtr new_TimerSignalType();
-
- [global::System.Runtime.InteropServices.DllImport("libdali-csharp-binder.so", EntryPoint="CSharp_Dali_delete_TimerSignalType")]
- public static extern void delete_TimerSignalType(global::System.Runtime.InteropServices.HandleRef jarg1);
-
[global::System.Runtime.InteropServices.DllImport("libdali-csharp-binder.so", EntryPoint="CSharp_Dali_TimerSignalType_Empty")]
public static extern bool TimerSignalType_Empty(global::System.Runtime.InteropServices.HandleRef jarg1);
[global::System.Runtime.InteropServices.DllImport("libdali-csharp-binder.so", EntryPoint="CSharp_Dali_TimerSignalType_GetConnectionCount")]
public static extern uint TimerSignalType_GetConnectionCount(global::System.Runtime.InteropServices.HandleRef jarg1);
- [global::System.Runtime.InteropServices.DllImport("libdali-csharp-binder.so", EntryPoint="CSharp_Dali_TimerSignalType_Connect__SWIG_0")]
- public static extern void TimerSignalType_Connect__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2);
+ [global::System.Runtime.InteropServices.DllImport("libdali-csharp-binder.so", EntryPoint="CSharp_Dali_TimerSignalType_Connect")]
+ public static extern void TimerSignalType_Connect(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2);
[global::System.Runtime.InteropServices.DllImport("libdali-csharp-binder.so", EntryPoint="CSharp_Dali_TimerSignalType_Disconnect")]
public static extern void TimerSignalType_Disconnect(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2);
- [global::System.Runtime.InteropServices.DllImport("libdali-csharp-binder.so", EntryPoint="CSharp_Dali_TimerSignalType_Connect__SWIG_4")]
- public static extern void TimerSignalType_Connect__SWIG_4(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3);
-
[global::System.Runtime.InteropServices.DllImport("libdali-csharp-binder.so", EntryPoint="CSharp_Dali_TimerSignalType_Emit")]
public static extern bool TimerSignalType_Emit(global::System.Runtime.InteropServices.HandleRef jarg1);
+ [global::System.Runtime.InteropServices.DllImport("libdali-csharp-binder.so", EntryPoint="CSharp_Dali_new_TimerSignalType")]
+ public static extern global::System.IntPtr new_TimerSignalType();
+
+ [global::System.Runtime.InteropServices.DllImport("libdali-csharp-binder.so", EntryPoint="CSharp_Dali_delete_TimerSignalType")]
+ public static extern void delete_TimerSignalType(global::System.Runtime.InteropServices.HandleRef jarg1);
+
[global::System.Runtime.InteropServices.DllImport("libdali-csharp-binder.so", EntryPoint="CSharp_Dali_VISUAL_PROPERTY_TYPE_get")]
public static extern int VISUAL_PROPERTY_TYPE_get();
[global::System.Runtime.InteropServices.DllImport("libdali-csharp-binder.so", EntryPoint="CSharp_Dali_delete_PagePanSignal")]
public static extern void delete_PagePanSignal(global::System.Runtime.InteropServices.HandleRef jarg1);
+ [global::System.Runtime.InteropServices.DllImport("libdali-csharp-binder.so", EntryPoint="CSharp_Dali_ProgressBarValueChangedSignal_Empty")]
+ public static extern bool ProgressBarValueChangedSignal_Empty(global::System.Runtime.InteropServices.HandleRef jarg1);
+
+ [global::System.Runtime.InteropServices.DllImport("libdali-csharp-binder.so", EntryPoint="CSharp_Dali_ProgressBarValueChangedSignal_GetConnectionCount")]
+ public static extern uint ProgressBarValueChangedSignal_GetConnectionCount(global::System.Runtime.InteropServices.HandleRef jarg1);
+
+ [global::System.Runtime.InteropServices.DllImport("libdali-csharp-binder.so", EntryPoint="CSharp_Dali_ProgressBarValueChangedSignal_Connect")]
+ public static extern void ProgressBarValueChangedSignal_Connect(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2);
+
+ [global::System.Runtime.InteropServices.DllImport("libdali-csharp-binder.so", EntryPoint="CSharp_Dali_ProgressBarValueChangedSignal_Disconnect")]
+ public static extern void ProgressBarValueChangedSignal_Disconnect(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2);
+
+ [global::System.Runtime.InteropServices.DllImport("libdali-csharp-binder.so", EntryPoint="CSharp_Dali_ProgressBarValueChangedSignal_Emit")]
+ public static extern void ProgressBarValueChangedSignal_Emit(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, float jarg3, float jarg4);
+
+ [global::System.Runtime.InteropServices.DllImport("libdali-csharp-binder.so", EntryPoint="CSharp_Dali_new_ProgressBarValueChangedSignal")]
+ public static extern global::System.IntPtr new_ProgressBarValueChangedSignal();
+
+ [global::System.Runtime.InteropServices.DllImport("libdali-csharp-binder.so", EntryPoint="CSharp_Dali_delete_ProgressBarValueChangedSignal")]
+ public static extern void delete_ProgressBarValueChangedSignal(global::System.Runtime.InteropServices.HandleRef jarg1);
+
[global::System.Runtime.InteropServices.DllImport("libdali-csharp-binder.so", EntryPoint="CSharp_Dali_ScrollViewSnapStartedSignal_Empty")]
public static extern bool ScrollViewSnapStartedSignal_Empty(global::System.Runtime.InteropServices.HandleRef jarg1);
// the SWIG interface file instead.
//------------------------------------------------------------------------------
-namespace Tizen.NUI {\r
-\r
+namespace Tizen.NUI {
+
internal class NativeImage : Image {
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
// the SWIG interface file instead.
//------------------------------------------------------------------------------
-namespace Tizen.NUI {\r
-\r
+namespace Tizen.NUI {
+
internal class NativeImageInterface : RefObject {
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
// the SWIG interface file instead.
//------------------------------------------------------------------------------
-namespace Tizen.NUI {\r
-\r
+namespace Tizen.NUI {
+
internal class NinePatchImage : ResourceImage {
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
// the SWIG interface file instead.
//------------------------------------------------------------------------------
-namespace Tizen.NUI {\r
-\r
+namespace Tizen.NUI {
+
internal class ObjectCreatedSignal : global::System.IDisposable {
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
protected bool swigCMemOwn;
// the SWIG interface file instead.
//------------------------------------------------------------------------------
-namespace Tizen.NUI {\r
-\r
+namespace Tizen.NUI {
+
internal class ObjectDestroyedSignal : global::System.IDisposable {
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
protected bool swigCMemOwn;
namespace Tizen.NUI {
using System;
-using System.Runtime.InteropServices;\r
-\r
-\r
+using System.Runtime.InteropServices;
+
+
internal class ObjectRegistry : BaseHandle {
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
// the SWIG interface file instead.
//------------------------------------------------------------------------------
-namespace Tizen.NUI\r
-{\r
-\r
- public class PaddingType : global::System.IDisposable\r
- {\r
- private global::System.Runtime.InteropServices.HandleRef swigCPtr;\r
- protected bool swigCMemOwn;\r
-\r
- internal PaddingType(global::System.IntPtr cPtr, bool cMemoryOwn)\r
- {\r
- swigCMemOwn = cMemoryOwn;\r
- swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);\r
- }\r
-\r
- internal static global::System.Runtime.InteropServices.HandleRef getCPtr(PaddingType obj)\r
- {\r
- return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;\r
- }\r
-\r
- ~PaddingType()\r
- {\r
- DisposeQueue.Instance.Add(this);\r
- }\r
-\r
- public virtual void Dispose()\r
- {\r
- if (!Stage.IsInstalled())\r
- {\r
- DisposeQueue.Instance.Add(this);\r
- return;\r
- }\r
-\r
- lock (this)\r
- {\r
- if (swigCPtr.Handle != global::System.IntPtr.Zero)\r
- {\r
- if (swigCMemOwn)\r
- {\r
- swigCMemOwn = false;\r
- NDalicPINVOKE.delete_PaddingType(swigCPtr);\r
- }\r
- swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);\r
- }\r
- global::System.GC.SuppressFinalize(this);\r
- }\r
- }\r
-\r
-\r
- public static bool operator ==(PaddingType a, PaddingType b)\r
- {\r
- // If both are null, or both are same instance, return true.\r
- if (System.Object.ReferenceEquals(a, b))\r
- {\r
- return true;\r
- }\r
-\r
- // If one is null, but not both, return false.\r
- if (((object)a == null) || ((object)b == null))\r
- {\r
- return false;\r
- }\r
-\r
- // Return true if the fields match:\r
- return (System.Math.Abs(a.Left - b.Left) < NDalic.GetRangedEpsilon(a.Left, b.Left)) &&\r
- (System.Math.Abs(a.Right - b.Right) < NDalic.GetRangedEpsilon(a.Right, b.Right)) &&\r
- (System.Math.Abs(a.Bottom - b.Bottom) < NDalic.GetRangedEpsilon(a.Bottom, b.Bottom)) &&\r
- (System.Math.Abs(a.Top - b.Top) < NDalic.GetRangedEpsilon(a.Top, b.Top));\r
- }\r
-\r
- public static bool operator !=(PaddingType a, PaddingType b)\r
- {\r
- return !(a == b);\r
- }\r
-\r
- ///< The Left value
- public float Left\r
- {\r
- set\r
- {\r
- left = value;\r
- }\r
- get\r
- {\r
- return left;\r
- }\r
- }\r
-\r
- ///< The Right value
- public float Right\r
- {\r
- set\r
- {\r
- right = value;\r
- }\r
- get\r
- {\r
- return right;\r
- }\r
- }\r
-\r
- ///< The Bottom value
- public float Bottom\r
- {\r
- set\r
- {\r
- bottom = value;\r
- }\r
- get\r
- {\r
- return bottom;\r
- }\r
- }\r
-\r
- ///< The Top value
- public float Top\r
- {\r
- set\r
- {\r
- top = value;\r
- }\r
- get\r
- {\r
- return top;\r
- }\r
- }\r
-\r
-\r
- public PaddingType() : this(NDalicPINVOKE.new_PaddingType__SWIG_0(), true)\r
- {\r
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
- }\r
-\r
- public PaddingType(float x, float y, float width, float height) : this(NDalicPINVOKE.new_PaddingType__SWIG_1(x, y, width, height), true)\r
- {\r
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
- }\r
-\r
- public PaddingType(PaddingType rhs) : this(NDalicPINVOKE.new_PaddingType__SWIG_2(PaddingType.getCPtr(rhs)), true)\r
- {\r
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
- }\r
-\r
- public PaddingType Assign(PaddingType rhs)\r
- {\r
- PaddingType ret = new PaddingType(NDalicPINVOKE.PaddingType_Assign(swigCPtr, PaddingType.getCPtr(rhs)), false);\r
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
- return ret;\r
- }\r
-\r
- public void Set(float newX, float newY, float newWidth, float newHeight)\r
- {\r
- NDalicPINVOKE.PaddingType_Set(swigCPtr, newX, newY, newWidth, newHeight);\r
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
- }\r
-\r
- private float x\r
- {\r
- set\r
- {\r
- NDalicPINVOKE.PaddingType_x_set(swigCPtr, value);\r
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
- }\r
- get\r
- {\r
- float ret = NDalicPINVOKE.PaddingType_x_get(swigCPtr);\r
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
- return ret;\r
- }\r
- }\r
-\r
- private float left\r
- {\r
- set\r
- {\r
- NDalicPINVOKE.PaddingType_left_set(swigCPtr, value);\r
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
- }\r
- get\r
- {\r
- float ret = NDalicPINVOKE.PaddingType_left_get(swigCPtr);\r
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
- return ret;\r
- }\r
- }\r
-\r
- private float y\r
- {\r
- set\r
- {\r
- NDalicPINVOKE.PaddingType_y_set(swigCPtr, value);\r
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
- }\r
- get\r
- {\r
- float ret = NDalicPINVOKE.PaddingType_y_get(swigCPtr);\r
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
- return ret;\r
- }\r
- }\r
-\r
- private float right\r
- {\r
- set\r
- {\r
- NDalicPINVOKE.PaddingType_right_set(swigCPtr, value);\r
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
- }\r
- get\r
- {\r
- float ret = NDalicPINVOKE.PaddingType_right_get(swigCPtr);\r
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
- return ret;\r
- }\r
- }\r
-\r
- private float width\r
- {\r
- set\r
- {\r
- NDalicPINVOKE.PaddingType_width_set(swigCPtr, value);\r
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
- }\r
- get\r
- {\r
- float ret = NDalicPINVOKE.PaddingType_width_get(swigCPtr);\r
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
- return ret;\r
- }\r
- }\r
-\r
- private float bottom\r
- {\r
- set\r
- {\r
- NDalicPINVOKE.PaddingType_bottom_set(swigCPtr, value);\r
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
- }\r
- get\r
- {\r
- float ret = NDalicPINVOKE.PaddingType_bottom_get(swigCPtr);\r
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
- return ret;\r
- }\r
- }\r
-\r
- private float height\r
- {\r
- set\r
- {\r
- NDalicPINVOKE.PaddingType_height_set(swigCPtr, value);\r
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
- }\r
- get\r
- {\r
- float ret = NDalicPINVOKE.PaddingType_height_get(swigCPtr);\r
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
- return ret;\r
- }\r
- }\r
-\r
- private float top\r
- {\r
- set\r
- {\r
- NDalicPINVOKE.PaddingType_top_set(swigCPtr, value);\r
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
- }\r
- get\r
- {\r
- float ret = NDalicPINVOKE.PaddingType_top_get(swigCPtr);\r
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
- return ret;\r
- }\r
- }\r
-\r
+namespace Tizen.NUI {
+
+public class PaddingType : global::System.IDisposable {
+ private global::System.Runtime.InteropServices.HandleRef swigCPtr;
+ protected bool swigCMemOwn;
+
+ internal PaddingType(global::System.IntPtr cPtr, bool cMemoryOwn) {
+ swigCMemOwn = cMemoryOwn;
+ swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
+ }
+
+ internal static global::System.Runtime.InteropServices.HandleRef getCPtr(PaddingType obj) {
+ return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
+ }
+
+ ~PaddingType() {
+ DisposeQueue.Instance.Add(this);
+ }
+
+ public virtual void Dispose() {
+ if (!Stage.IsInstalled()) {
+ DisposeQueue.Instance.Add(this);
+ return;
+ }
+
+ lock(this) {
+ if (swigCPtr.Handle != global::System.IntPtr.Zero) {
+ if (swigCMemOwn) {
+ swigCMemOwn = false;
+ NDalicPINVOKE.delete_PaddingType(swigCPtr);
+ }
+ swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
+ }
+ global::System.GC.SuppressFinalize(this);
+ }
+ }
+
+
+ public static bool operator ==(PaddingType a, PaddingType b)
+ {
+ // If both are null, or both are same instance, return true.
+ if (System.Object.ReferenceEquals(a, b))
+ {
+ return true;
+ }
+
+ // If one is null, but not both, return false.
+ if (((object)a == null) || ((object)b == null))
+ {
+ return false;
+ }
+
+ // Return true if the fields match:
+ return ( System.Math.Abs( a.Left - b.Left ) < NDalic.GetRangedEpsilon(a.Left, b.Left) )&&
+ ( System.Math.Abs( a.Right - b.Right ) < NDalic.GetRangedEpsilon(a.Right, b.Right) )&&
+ ( System.Math.Abs( a.Bottom - b.Bottom ) < NDalic.GetRangedEpsilon(a.Bottom, b.Bottom) )&&
+ ( System.Math.Abs( a.Top - b.Top ) < NDalic.GetRangedEpsilon(a.Top, b.Top) );
+ }
+
+ public static bool operator !=(PaddingType a, PaddingType b)
+ {
+ return !(a == b);
+ }
+
+ ///< The Left value
+ public float Left
+ {
+ set
+ {
+ left = value;
+ }
+ get
+ {
+ return left;
+ }
+ }
+
+ ///< The Right value
+ public float Right
+ {
+ set
+ {
+ right = value;
+ }
+ get
+ {
+ return right;
+ }
+ }
+
+ ///< The Bottom value
+ public float Bottom
+ {
+ set
+ {
+ bottom = value;
+ }
+ get
+ {
+ return bottom;
+ }
+ }
+
+ ///< The Top value
+ public float Top
+ {
+ set
+ {
+ top = value;
+ }
+ get
+ {
+ return top;
+ }
}
+
+ public PaddingType() : this(NDalicPINVOKE.new_PaddingType__SWIG_0(), true) {
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ }
+
+ public PaddingType(float x, float y, float width, float height) : this(NDalicPINVOKE.new_PaddingType__SWIG_1(x, y, width, height), true) {
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ }
+
+ public PaddingType(PaddingType rhs) : this(NDalicPINVOKE.new_PaddingType__SWIG_2(PaddingType.getCPtr(rhs)), true) {
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ }
+
+ public PaddingType Assign(PaddingType rhs) {
+ PaddingType ret = new PaddingType(NDalicPINVOKE.PaddingType_Assign(swigCPtr, PaddingType.getCPtr(rhs)), false);
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ return ret;
+ }
+
+ public void Set(float newX, float newY, float newWidth, float newHeight) {
+ NDalicPINVOKE.PaddingType_Set(swigCPtr, newX, newY, newWidth, newHeight);
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ }
+
+ private float x {
+ set {
+ NDalicPINVOKE.PaddingType_x_set(swigCPtr, value);
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ }
+ get {
+ float ret = NDalicPINVOKE.PaddingType_x_get(swigCPtr);
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ return ret;
+ }
+ }
+
+ private float left {
+ set {
+ NDalicPINVOKE.PaddingType_left_set(swigCPtr, value);
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ }
+ get {
+ float ret = NDalicPINVOKE.PaddingType_left_get(swigCPtr);
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ return ret;
+ }
+ }
+
+ private float y {
+ set {
+ NDalicPINVOKE.PaddingType_y_set(swigCPtr, value);
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ }
+ get {
+ float ret = NDalicPINVOKE.PaddingType_y_get(swigCPtr);
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ return ret;
+ }
+ }
+
+ private float right {
+ set {
+ NDalicPINVOKE.PaddingType_right_set(swigCPtr, value);
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ }
+ get {
+ float ret = NDalicPINVOKE.PaddingType_right_get(swigCPtr);
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ return ret;
+ }
+ }
+
+ private float width {
+ set {
+ NDalicPINVOKE.PaddingType_width_set(swigCPtr, value);
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ }
+ get {
+ float ret = NDalicPINVOKE.PaddingType_width_get(swigCPtr);
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ return ret;
+ }
+ }
+
+ private float bottom {
+ set {
+ NDalicPINVOKE.PaddingType_bottom_set(swigCPtr, value);
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ }
+ get {
+ float ret = NDalicPINVOKE.PaddingType_bottom_get(swigCPtr);
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ return ret;
+ }
+ }
+
+ private float height {
+ set {
+ NDalicPINVOKE.PaddingType_height_set(swigCPtr, value);
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ }
+ get {
+ float ret = NDalicPINVOKE.PaddingType_height_get(swigCPtr);
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ return ret;
+ }
+ }
+
+ private float top {
+ set {
+ NDalicPINVOKE.PaddingType_top_set(swigCPtr, value);
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ }
+ get {
+ float ret = NDalicPINVOKE.PaddingType_top_get(swigCPtr);
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ return ret;
+ }
+ }
+
+}
+
}
// the SWIG interface file instead.
//------------------------------------------------------------------------------
-namespace Tizen.NUI {\r
-\r
+namespace Tizen.NUI {
+
internal class PageFactory : global::System.IDisposable {
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
protected bool swigCMemOwn;
// the SWIG interface file instead.
//------------------------------------------------------------------------------
-namespace Tizen.NUI {\r
-\r
+namespace Tizen.NUI {
+
internal class PagePanSignal : global::System.IDisposable {
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
protected bool swigCMemOwn;
// the SWIG interface file instead.
//------------------------------------------------------------------------------
-namespace Tizen.NUI {\r
-\r
+namespace Tizen.NUI {
+
internal class PageTurnLandscapeView : PageTurnView {
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
// the SWIG interface file instead.
//------------------------------------------------------------------------------
-namespace Tizen.NUI {\r
-\r
+namespace Tizen.NUI {
+
internal class PageTurnPortraitView : PageTurnView {
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
// the SWIG interface file instead.
//------------------------------------------------------------------------------
-namespace Tizen.NUI {\r
-\r
+namespace Tizen.NUI {
+
internal class PageTurnSignal : global::System.IDisposable {
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
protected bool swigCMemOwn;
namespace Tizen.NUI {
using System;
-using System.Runtime.InteropServices;\r
-\r
-\r
+using System.Runtime.InteropServices;
+
+
internal class PageTurnView : View {
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
// the SWIG interface file instead.
//------------------------------------------------------------------------------
-namespace Tizen.NUI {\r
-\r
+namespace Tizen.NUI {
+
internal class PanGestureDetectedSignal : global::System.IDisposable {
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
protected bool swigCMemOwn;
// the SWIG interface file instead.
//------------------------------------------------------------------------------
-namespace Tizen.NUI\r
-{\r
-\r
- using System;\r
- using System.Runtime.InteropServices;\r
-\r
-\r
- public class PanGestureDetector : GestureDetector\r
- {\r
- private global::System.Runtime.InteropServices.HandleRef swigCPtr;\r
-\r
- internal PanGestureDetector(global::System.IntPtr cPtr, bool cMemoryOwn) : base(NDalicPINVOKE.PanGestureDetector_SWIGUpcast(cPtr), cMemoryOwn)\r
- {\r
- swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);\r
- }\r
-\r
- internal static global::System.Runtime.InteropServices.HandleRef getCPtr(PanGestureDetector obj)\r
- {\r
- return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;\r
- }\r
-\r
- ~PanGestureDetector()\r
- {\r
- DisposeQueue.Instance.Add(this);\r
- }\r
-\r
- public override void Dispose()\r
- {\r
- if (!Stage.IsInstalled())\r
- {\r
- DisposeQueue.Instance.Add(this);\r
- return;\r
- }\r
-\r
- lock (this)\r
- {\r
- if (swigCPtr.Handle != global::System.IntPtr.Zero)\r
- {\r
- if (swigCMemOwn)\r
- {\r
- swigCMemOwn = false;\r
- NDalicPINVOKE.delete_PanGestureDetector(swigCPtr);\r
- }\r
- swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);\r
- }\r
- global::System.GC.SuppressFinalize(this);\r
- base.Dispose();\r
- }\r
- }\r
-\r
-\r
-\r
-\r
- public class DetectedEventArgs : EventArgs\r
- {\r
- private Actor _actor;\r
- private PanGesture _panGesture;\r
-\r
- public Actor Actor\r
- {\r
- get\r
- {\r
- return _actor;\r
- }\r
- set\r
- {\r
- _actor = value;\r
- }\r
- }\r
-\r
- public PanGesture PanGesture\r
- {\r
- get\r
- {\r
- return _panGesture;\r
- }\r
- set\r
- {\r
- _panGesture = value;\r
- }\r
- }\r
- }\r
-\r
- [UnmanagedFunctionPointer(CallingConvention.StdCall)]\r
- private delegate void DetectedCallbackDelegate(IntPtr actor, IntPtr panGesture);\r
- private DaliEventHandler<object, DetectedEventArgs> _panGestureEventHandler;\r
- private DetectedCallbackDelegate _panGestureCallbackDelegate;\r
-\r
-\r
- public event DaliEventHandler<object, DetectedEventArgs> Detected\r
- {\r
- add\r
- {\r
- lock (this)\r
- {\r
- // Restricted to only one listener\r
- if (_panGestureEventHandler == null)\r
- {\r
- _panGestureEventHandler += value;\r
-\r
- _panGestureCallbackDelegate = new DetectedCallbackDelegate(OnPanGestureDetected);\r
- this.DetectedSignal().Connect(_panGestureCallbackDelegate);\r
- }\r
- }\r
- }\r
-\r
- remove\r
- {\r
- lock (this)\r
- {\r
- if (_panGestureEventHandler != null)\r
- {\r
- this.DetectedSignal().Disconnect(_panGestureCallbackDelegate);\r
- }\r
-\r
- _panGestureEventHandler -= value;\r
- }\r
- }\r
- }\r
-\r
- private void OnPanGestureDetected(IntPtr actor, IntPtr panGesture)\r
- {\r
- DetectedEventArgs e = new DetectedEventArgs();\r
-\r
- // Populate all members of "e" (PanGestureEventArgs) with real data\r
- e.Actor = Actor.GetActorFromPtr(actor);\r
- e.PanGesture = Tizen.NUI.PanGesture.GetPanGestureFromPtr(panGesture);\r
-\r
- if (_panGestureEventHandler != null)\r
- {\r
- //here we send all data to user event handlers\r
- _panGestureEventHandler(this, e);\r
- }\r
-\r
- }\r
-\r
-\r
- public static PanGestureDetector GetPanGestureDetectorFromPtr(global::System.IntPtr cPtr)\r
- {\r
- PanGestureDetector ret = new PanGestureDetector(cPtr, false);\r
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
- return ret;\r
- }\r
-\r
-\r
- public class Property : global::System.IDisposable\r
- {\r
- private global::System.Runtime.InteropServices.HandleRef swigCPtr;\r
- protected bool swigCMemOwn;\r
-\r
- internal Property(global::System.IntPtr cPtr, bool cMemoryOwn)\r
- {\r
- swigCMemOwn = cMemoryOwn;\r
- swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);\r
- }\r
-\r
- internal static global::System.Runtime.InteropServices.HandleRef getCPtr(Property obj)\r
- {\r
- return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;\r
- }\r
-\r
- ~Property()\r
- {\r
- Dispose();\r
- }\r
-\r
- public virtual void Dispose()\r
- {\r
- lock (this)\r
- {\r
- if (swigCPtr.Handle != global::System.IntPtr.Zero)\r
- {\r
- if (swigCMemOwn)\r
- {\r
- swigCMemOwn = false;\r
- NDalicPINVOKE.delete_PanGestureDetector_Property(swigCPtr);\r
- }\r
- swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);\r
- }\r
- global::System.GC.SuppressFinalize(this);\r
- }\r
- }\r
-\r
- public Property() : this(NDalicPINVOKE.new_PanGestureDetector_Property(), true)\r
- {\r
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
- }\r
-\r
- public static readonly int SCREEN_POSITION = NDalicPINVOKE.PanGestureDetector_Property_SCREEN_POSITION_get();\r
- public static readonly int SCREEN_DISPLACEMENT = NDalicPINVOKE.PanGestureDetector_Property_SCREEN_DISPLACEMENT_get();\r
- public static readonly int SCREEN_VELOCITY = NDalicPINVOKE.PanGestureDetector_Property_SCREEN_VELOCITY_get();\r
- public static readonly int LOCAL_POSITION = NDalicPINVOKE.PanGestureDetector_Property_LOCAL_POSITION_get();\r
- public static readonly int LOCAL_DISPLACEMENT = NDalicPINVOKE.PanGestureDetector_Property_LOCAL_DISPLACEMENT_get();\r
- public static readonly int LOCAL_VELOCITY = NDalicPINVOKE.PanGestureDetector_Property_LOCAL_VELOCITY_get();\r
- public static readonly int PANNING = NDalicPINVOKE.PanGestureDetector_Property_PANNING_get();\r
-\r
- }\r
-\r
- public static Radian DIRECTION_LEFT\r
- {\r
- get\r
- {\r
- global::System.IntPtr cPtr = NDalicPINVOKE.PanGestureDetector_DIRECTION_LEFT_get();\r
- Radian ret = (cPtr == global::System.IntPtr.Zero) ? null : new Radian(cPtr, false);\r
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
- return ret;\r
- }\r
- }\r
-\r
- public static Radian DIRECTION_RIGHT\r
- {\r
- get\r
- {\r
- global::System.IntPtr cPtr = NDalicPINVOKE.PanGestureDetector_DIRECTION_RIGHT_get();\r
- Radian ret = (cPtr == global::System.IntPtr.Zero) ? null : new Radian(cPtr, false);\r
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
- return ret;\r
- }\r
- }\r
-\r
- public static Radian DIRECTION_UP\r
- {\r
- get\r
- {\r
- global::System.IntPtr cPtr = NDalicPINVOKE.PanGestureDetector_DIRECTION_UP_get();\r
- Radian ret = (cPtr == global::System.IntPtr.Zero) ? null : new Radian(cPtr, false);\r
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
- return ret;\r
- }\r
- }\r
-\r
- public static Radian DIRECTION_DOWN\r
- {\r
- get\r
- {\r
- global::System.IntPtr cPtr = NDalicPINVOKE.PanGestureDetector_DIRECTION_DOWN_get();\r
- Radian ret = (cPtr == global::System.IntPtr.Zero) ? null : new Radian(cPtr, false);\r
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
- return ret;\r
- }\r
- }\r
-\r
- public static Radian DIRECTION_HORIZONTAL\r
- {\r
- get\r
- {\r
- global::System.IntPtr cPtr = NDalicPINVOKE.PanGestureDetector_DIRECTION_HORIZONTAL_get();\r
- Radian ret = (cPtr == global::System.IntPtr.Zero) ? null : new Radian(cPtr, false);\r
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
- return ret;\r
- }\r
- }\r
-\r
- public static Radian DIRECTION_VERTICAL\r
- {\r
- get\r
- {\r
- global::System.IntPtr cPtr = NDalicPINVOKE.PanGestureDetector_DIRECTION_VERTICAL_get();\r
- Radian ret = (cPtr == global::System.IntPtr.Zero) ? null : new Radian(cPtr, false);\r
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
- return ret;\r
- }\r
- }\r
-\r
- public static Radian DEFAULT_THRESHOLD\r
- {\r
- get\r
- {\r
- global::System.IntPtr cPtr = NDalicPINVOKE.PanGestureDetector_DEFAULT_THRESHOLD_get();\r
- Radian ret = (cPtr == global::System.IntPtr.Zero) ? null : new Radian(cPtr, false);\r
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
- return ret;\r
- }\r
- }\r
-\r
- public PanGestureDetector() : this(NDalicPINVOKE.PanGestureDetector_New(), true)\r
- {\r
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-\r
- }\r
- public new static PanGestureDetector DownCast(BaseHandle handle)\r
- {\r
- PanGestureDetector ret = new PanGestureDetector(NDalicPINVOKE.PanGestureDetector_DownCast(BaseHandle.getCPtr(handle)), true);\r
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
- return ret;\r
- }\r
-\r
- public PanGestureDetector(PanGestureDetector handle) : this(NDalicPINVOKE.new_PanGestureDetector__SWIG_1(PanGestureDetector.getCPtr(handle)), true)\r
- {\r
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
- }\r
-\r
- public PanGestureDetector Assign(PanGestureDetector rhs)\r
- {\r
- PanGestureDetector ret = new PanGestureDetector(NDalicPINVOKE.PanGestureDetector_Assign(swigCPtr, PanGestureDetector.getCPtr(rhs)), false);\r
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
- return ret;\r
- }\r
-\r
- public void SetMinimumTouchesRequired(uint minimum)\r
- {\r
- NDalicPINVOKE.PanGestureDetector_SetMinimumTouchesRequired(swigCPtr, minimum);\r
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
- }\r
-\r
- public void SetMaximumTouchesRequired(uint maximum)\r
- {\r
- NDalicPINVOKE.PanGestureDetector_SetMaximumTouchesRequired(swigCPtr, maximum);\r
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
- }\r
-\r
- public uint GetMinimumTouchesRequired()\r
- {\r
- uint ret = NDalicPINVOKE.PanGestureDetector_GetMinimumTouchesRequired(swigCPtr);\r
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
- return ret;\r
- }\r
-\r
- public uint GetMaximumTouchesRequired()\r
- {\r
- uint ret = NDalicPINVOKE.PanGestureDetector_GetMaximumTouchesRequired(swigCPtr);\r
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
- return ret;\r
- }\r
-\r
- public void AddAngle(Radian angle, Radian threshold)\r
- {\r
- NDalicPINVOKE.PanGestureDetector_AddAngle__SWIG_0(swigCPtr, Radian.getCPtr(angle), Radian.getCPtr(threshold));\r
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
- }\r
-\r
- public void AddAngle(Radian angle)\r
- {\r
- NDalicPINVOKE.PanGestureDetector_AddAngle__SWIG_1(swigCPtr, Radian.getCPtr(angle));\r
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
- }\r
-\r
- public void AddDirection(Radian direction, Radian threshold)\r
- {\r
- NDalicPINVOKE.PanGestureDetector_AddDirection__SWIG_0(swigCPtr, Radian.getCPtr(direction), Radian.getCPtr(threshold));\r
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
- }\r
-\r
- public void AddDirection(Radian direction)\r
- {\r
- NDalicPINVOKE.PanGestureDetector_AddDirection__SWIG_1(swigCPtr, Radian.getCPtr(direction));\r
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
- }\r
-\r
- public uint GetAngleCount()\r
- {\r
- uint ret = NDalicPINVOKE.PanGestureDetector_GetAngleCount(swigCPtr);\r
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
- return ret;\r
- }\r
-\r
- internal AngleThresholdPair GetAngle(uint index)\r
- {\r
- AngleThresholdPair ret = new AngleThresholdPair(NDalicPINVOKE.PanGestureDetector_GetAngle(swigCPtr, index), true);\r
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
- return ret;\r
- }\r
-\r
- public void ClearAngles()\r
- {\r
- NDalicPINVOKE.PanGestureDetector_ClearAngles(swigCPtr);\r
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
- }\r
-\r
- public void RemoveAngle(Radian angle)\r
- {\r
- NDalicPINVOKE.PanGestureDetector_RemoveAngle(swigCPtr, Radian.getCPtr(angle));\r
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
- }\r
-\r
- public void RemoveDirection(Radian direction)\r
- {\r
- NDalicPINVOKE.PanGestureDetector_RemoveDirection(swigCPtr, Radian.getCPtr(direction));\r
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
- }\r
-\r
- internal PanGestureDetectedSignal DetectedSignal()\r
- {\r
- PanGestureDetectedSignal ret = new PanGestureDetectedSignal(NDalicPINVOKE.PanGestureDetector_DetectedSignal(swigCPtr), false);\r
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
- return ret;\r
- }\r
-\r
- public static void SetPanGestureProperties(PanGesture pan)\r
- {\r
- NDalicPINVOKE.PanGestureDetector_SetPanGestureProperties(PanGesture.getCPtr(pan));\r
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
- }\r
-\r
- public Vector2 ScreenPosition\r
- {\r
- get\r
- {\r
- Vector2 temp = new Vector2(0.0f, 0.0f);\r
- GetProperty(PanGestureDetector.Property.SCREEN_POSITION).Get(temp);\r
- return temp;\r
- }\r
- }\r
- public Vector2 ScreenDisplacement\r
- {\r
- get\r
- {\r
- Vector2 temp = new Vector2(0.0f, 0.0f);\r
- GetProperty(PanGestureDetector.Property.SCREEN_DISPLACEMENT).Get(temp);\r
- return temp;\r
- }\r
- }\r
- public Vector2 ScreenVelocity\r
- {\r
- get\r
- {\r
- Vector2 temp = new Vector2(0.0f, 0.0f);\r
- GetProperty(PanGestureDetector.Property.SCREEN_VELOCITY).Get(temp);\r
- return temp;\r
- }\r
- }\r
- public Vector2 LocalPosition\r
- {\r
- get\r
- {\r
- Vector2 temp = new Vector2(0.0f, 0.0f);\r
- GetProperty(PanGestureDetector.Property.LOCAL_POSITION).Get(temp);\r
- return temp;\r
- }\r
- }\r
- public Vector2 LocalDisplacement\r
- {\r
- get\r
- {\r
- Vector2 temp = new Vector2(0.0f, 0.0f);\r
- GetProperty(PanGestureDetector.Property.LOCAL_DISPLACEMENT).Get(temp);\r
- return temp;\r
- }\r
- }\r
- public Vector2 LocalVelocity\r
- {\r
- get\r
- {\r
- Vector2 temp = new Vector2(0.0f, 0.0f);\r
- GetProperty(PanGestureDetector.Property.LOCAL_VELOCITY).Get(temp);\r
- return temp;\r
- }\r
- }\r
- public bool Panning\r
- {\r
- get\r
- {\r
- bool temp = false;\r
- GetProperty(PanGestureDetector.Property.PANNING).Get(ref temp);\r
- return temp;\r
- }\r
- }\r
+namespace Tizen.NUI {
+
+using System;
+using System.Runtime.InteropServices;
+
+
+public class PanGestureDetector : GestureDetector {
+ private global::System.Runtime.InteropServices.HandleRef swigCPtr;
+
+ internal PanGestureDetector(global::System.IntPtr cPtr, bool cMemoryOwn) : base(NDalicPINVOKE.PanGestureDetector_SWIGUpcast(cPtr), cMemoryOwn) {
+ swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
+ }
+
+ internal static global::System.Runtime.InteropServices.HandleRef getCPtr(PanGestureDetector obj) {
+ return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
+ }
+
+ ~PanGestureDetector() {
+ DisposeQueue.Instance.Add(this);
+ }
+
+ public override void Dispose() {
+ if (!Stage.IsInstalled()) {
+ DisposeQueue.Instance.Add(this);
+ return;
+ }
+
+ lock(this) {
+ if (swigCPtr.Handle != global::System.IntPtr.Zero) {
+ if (swigCMemOwn) {
+ swigCMemOwn = false;
+ NDalicPINVOKE.delete_PanGestureDetector(swigCPtr);
+ }
+ swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
+ }
+ global::System.GC.SuppressFinalize(this);
+ base.Dispose();
+ }
+ }
+
+
+
+
+public class DetectedEventArgs : EventArgs
+{
+ private Actor _actor;
+ private PanGesture _panGesture;
+
+ public Actor Actor
+ {
+ get
+ {
+ return _actor;
+ }
+ set
+ {
+ _actor = value;
+ }
+ }
+
+ public PanGesture PanGesture
+ {
+ get
+ {
+ return _panGesture;
+ }
+ set
+ {
+ _panGesture = value;
+ }
+ }
+}
+
+ [UnmanagedFunctionPointer(CallingConvention.StdCall)]
+ private delegate void DetectedCallbackDelegate(IntPtr actor, IntPtr panGesture);
+ private DaliEventHandler<object,DetectedEventArgs> _panGestureEventHandler;
+ private DetectedCallbackDelegate _panGestureCallbackDelegate;
+
+
+ public event DaliEventHandler<object,DetectedEventArgs> Detected
+ {
+ add
+ {
+ lock(this)
+ {
+ // Restricted to only one listener
+ if (_panGestureEventHandler == null)
+ {
+ _panGestureEventHandler += value;
+
+ _panGestureCallbackDelegate = new DetectedCallbackDelegate(OnPanGestureDetected);
+ this.DetectedSignal().Connect(_panGestureCallbackDelegate);
+ }
+ }
+ }
+
+ remove
+ {
+ lock(this)
+ {
+ if (_panGestureEventHandler != null)
+ {
+ this.DetectedSignal().Disconnect(_panGestureCallbackDelegate);
+ }
+
+ _panGestureEventHandler -= value;
+ }
+ }
+ }
+
+ private void OnPanGestureDetected(IntPtr actor, IntPtr panGesture)
+ {
+ DetectedEventArgs e = new DetectedEventArgs();
+
+ // Populate all members of "e" (PanGestureEventArgs) with real data
+ e.Actor = Actor.GetActorFromPtr(actor);
+ e.PanGesture = Tizen.NUI.PanGesture.GetPanGestureFromPtr(panGesture);
+
+ if (_panGestureEventHandler != null)
+ {
+ //here we send all data to user event handlers
+ _panGestureEventHandler(this, e);
+ }
+
+ }
+
+
+public static PanGestureDetector GetPanGestureDetectorFromPtr(global::System.IntPtr cPtr) {
+ PanGestureDetector ret = new PanGestureDetector(cPtr, false);
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ return ret;
+ }
+
+
+ public class Property : global::System.IDisposable {
+ private global::System.Runtime.InteropServices.HandleRef swigCPtr;
+ protected bool swigCMemOwn;
+
+ internal Property(global::System.IntPtr cPtr, bool cMemoryOwn) {
+ swigCMemOwn = cMemoryOwn;
+ swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
+ }
+
+ internal static global::System.Runtime.InteropServices.HandleRef getCPtr(Property obj) {
+ return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
}
+
+ ~Property() {
+ Dispose();
+ }
+
+ public virtual void Dispose() {
+ lock(this) {
+ if (swigCPtr.Handle != global::System.IntPtr.Zero) {
+ if (swigCMemOwn) {
+ swigCMemOwn = false;
+ NDalicPINVOKE.delete_PanGestureDetector_Property(swigCPtr);
+ }
+ swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
+ }
+ global::System.GC.SuppressFinalize(this);
+ }
+ }
+
+ public Property() : this(NDalicPINVOKE.new_PanGestureDetector_Property(), true) {
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ }
+
+ public static readonly int SCREEN_POSITION = NDalicPINVOKE.PanGestureDetector_Property_SCREEN_POSITION_get();
+ public static readonly int SCREEN_DISPLACEMENT = NDalicPINVOKE.PanGestureDetector_Property_SCREEN_DISPLACEMENT_get();
+ public static readonly int SCREEN_VELOCITY = NDalicPINVOKE.PanGestureDetector_Property_SCREEN_VELOCITY_get();
+ public static readonly int LOCAL_POSITION = NDalicPINVOKE.PanGestureDetector_Property_LOCAL_POSITION_get();
+ public static readonly int LOCAL_DISPLACEMENT = NDalicPINVOKE.PanGestureDetector_Property_LOCAL_DISPLACEMENT_get();
+ public static readonly int LOCAL_VELOCITY = NDalicPINVOKE.PanGestureDetector_Property_LOCAL_VELOCITY_get();
+ public static readonly int PANNING = NDalicPINVOKE.PanGestureDetector_Property_PANNING_get();
+
+ }
+
+ public static Radian DIRECTION_LEFT {
+ get {
+ global::System.IntPtr cPtr = NDalicPINVOKE.PanGestureDetector_DIRECTION_LEFT_get();
+ Radian ret = (cPtr == global::System.IntPtr.Zero) ? null : new Radian(cPtr, false);
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ return ret;
+ }
+ }
+
+ public static Radian DIRECTION_RIGHT {
+ get {
+ global::System.IntPtr cPtr = NDalicPINVOKE.PanGestureDetector_DIRECTION_RIGHT_get();
+ Radian ret = (cPtr == global::System.IntPtr.Zero) ? null : new Radian(cPtr, false);
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ return ret;
+ }
+ }
+
+ public static Radian DIRECTION_UP {
+ get {
+ global::System.IntPtr cPtr = NDalicPINVOKE.PanGestureDetector_DIRECTION_UP_get();
+ Radian ret = (cPtr == global::System.IntPtr.Zero) ? null : new Radian(cPtr, false);
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ return ret;
+ }
+ }
+
+ public static Radian DIRECTION_DOWN {
+ get {
+ global::System.IntPtr cPtr = NDalicPINVOKE.PanGestureDetector_DIRECTION_DOWN_get();
+ Radian ret = (cPtr == global::System.IntPtr.Zero) ? null : new Radian(cPtr, false);
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ return ret;
+ }
+ }
+
+ public static Radian DIRECTION_HORIZONTAL {
+ get {
+ global::System.IntPtr cPtr = NDalicPINVOKE.PanGestureDetector_DIRECTION_HORIZONTAL_get();
+ Radian ret = (cPtr == global::System.IntPtr.Zero) ? null : new Radian(cPtr, false);
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ return ret;
+ }
+ }
+
+ public static Radian DIRECTION_VERTICAL {
+ get {
+ global::System.IntPtr cPtr = NDalicPINVOKE.PanGestureDetector_DIRECTION_VERTICAL_get();
+ Radian ret = (cPtr == global::System.IntPtr.Zero) ? null : new Radian(cPtr, false);
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ return ret;
+ }
+ }
+
+ public static Radian DEFAULT_THRESHOLD {
+ get {
+ global::System.IntPtr cPtr = NDalicPINVOKE.PanGestureDetector_DEFAULT_THRESHOLD_get();
+ Radian ret = (cPtr == global::System.IntPtr.Zero) ? null : new Radian(cPtr, false);
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ return ret;
+ }
+ }
+
+ public PanGestureDetector () : this (NDalicPINVOKE.PanGestureDetector_New(), true) {
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+
+ }
+ public new static PanGestureDetector DownCast(BaseHandle handle) {
+ PanGestureDetector ret = new PanGestureDetector(NDalicPINVOKE.PanGestureDetector_DownCast(BaseHandle.getCPtr(handle)), true);
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ return ret;
+ }
+
+ public PanGestureDetector(PanGestureDetector handle) : this(NDalicPINVOKE.new_PanGestureDetector__SWIG_1(PanGestureDetector.getCPtr(handle)), true) {
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ }
+
+ public PanGestureDetector Assign(PanGestureDetector rhs) {
+ PanGestureDetector ret = new PanGestureDetector(NDalicPINVOKE.PanGestureDetector_Assign(swigCPtr, PanGestureDetector.getCPtr(rhs)), false);
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ return ret;
+ }
+
+ public void SetMinimumTouchesRequired(uint minimum) {
+ NDalicPINVOKE.PanGestureDetector_SetMinimumTouchesRequired(swigCPtr, minimum);
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ }
+
+ public void SetMaximumTouchesRequired(uint maximum) {
+ NDalicPINVOKE.PanGestureDetector_SetMaximumTouchesRequired(swigCPtr, maximum);
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ }
+
+ public uint GetMinimumTouchesRequired() {
+ uint ret = NDalicPINVOKE.PanGestureDetector_GetMinimumTouchesRequired(swigCPtr);
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ return ret;
+ }
+
+ public uint GetMaximumTouchesRequired() {
+ uint ret = NDalicPINVOKE.PanGestureDetector_GetMaximumTouchesRequired(swigCPtr);
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ return ret;
+ }
+
+ public void AddAngle(Radian angle, Radian threshold) {
+ NDalicPINVOKE.PanGestureDetector_AddAngle__SWIG_0(swigCPtr, Radian.getCPtr(angle), Radian.getCPtr(threshold));
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ }
+
+ public void AddAngle(Radian angle) {
+ NDalicPINVOKE.PanGestureDetector_AddAngle__SWIG_1(swigCPtr, Radian.getCPtr(angle));
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ }
+
+ public void AddDirection(Radian direction, Radian threshold) {
+ NDalicPINVOKE.PanGestureDetector_AddDirection__SWIG_0(swigCPtr, Radian.getCPtr(direction), Radian.getCPtr(threshold));
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ }
+
+ public void AddDirection(Radian direction) {
+ NDalicPINVOKE.PanGestureDetector_AddDirection__SWIG_1(swigCPtr, Radian.getCPtr(direction));
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ }
+
+ public uint GetAngleCount() {
+ uint ret = NDalicPINVOKE.PanGestureDetector_GetAngleCount(swigCPtr);
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ return ret;
+ }
+
+ internal AngleThresholdPair GetAngle(uint index)
+ {
+ AngleThresholdPair ret = new AngleThresholdPair(NDalicPINVOKE.PanGestureDetector_GetAngle(swigCPtr, index), true);
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ return ret;
+ }
+
+ public void ClearAngles() {
+ NDalicPINVOKE.PanGestureDetector_ClearAngles(swigCPtr);
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ }
+
+ public void RemoveAngle(Radian angle) {
+ NDalicPINVOKE.PanGestureDetector_RemoveAngle(swigCPtr, Radian.getCPtr(angle));
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ }
+
+ public void RemoveDirection(Radian direction) {
+ NDalicPINVOKE.PanGestureDetector_RemoveDirection(swigCPtr, Radian.getCPtr(direction));
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ }
+
+ internal PanGestureDetectedSignal DetectedSignal()
+ {
+ PanGestureDetectedSignal ret = new PanGestureDetectedSignal(NDalicPINVOKE.PanGestureDetector_DetectedSignal(swigCPtr), false);
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ return ret;
+ }
+
+ public static void SetPanGestureProperties(PanGesture pan) {
+ NDalicPINVOKE.PanGestureDetector_SetPanGestureProperties(PanGesture.getCPtr(pan));
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ }
+
+ public Vector2 ScreenPosition
+ {
+ get
+ {
+ Vector2 temp = new Vector2(0.0f,0.0f);
+ GetProperty( PanGestureDetector.Property.SCREEN_POSITION).Get( temp );
+ return temp;
+ }
+} public Vector2 ScreenDisplacement
+ {
+ get
+ {
+ Vector2 temp = new Vector2(0.0f,0.0f);
+ GetProperty( PanGestureDetector.Property.SCREEN_DISPLACEMENT).Get( temp );
+ return temp;
+ }
+} public Vector2 ScreenVelocity
+ {
+ get
+ {
+ Vector2 temp = new Vector2(0.0f,0.0f);
+ GetProperty( PanGestureDetector.Property.SCREEN_VELOCITY).Get( temp );
+ return temp;
+ }
+} public Vector2 LocalPosition
+ {
+ get
+ {
+ Vector2 temp = new Vector2(0.0f,0.0f);
+ GetProperty( PanGestureDetector.Property.LOCAL_POSITION).Get( temp );
+ return temp;
+ }
+} public Vector2 LocalDisplacement
+ {
+ get
+ {
+ Vector2 temp = new Vector2(0.0f,0.0f);
+ GetProperty( PanGestureDetector.Property.LOCAL_DISPLACEMENT).Get( temp );
+ return temp;
+ }
+} public Vector2 LocalVelocity
+ {
+ get
+ {
+ Vector2 temp = new Vector2(0.0f,0.0f);
+ GetProperty( PanGestureDetector.Property.LOCAL_VELOCITY).Get( temp );
+ return temp;
+ }
+} public bool Panning
+ {
+ get
+ {
+ bool temp = false;
+ GetProperty( PanGestureDetector.Property.PANNING).Get( ref temp );
+ return temp;
+ }
+}
+}
}
-// Copyright (c) 2016 Samsung Electronics Co., Ltd All Rights Reserved\r
-// PROPRIETARY/CONFIDENTIAL \r
-// This software is the confidential and proprietary\r
-// information of SAMSUNG ELECTRONICS ("Confidential Information"). You shall\r
-// not disclose such Confidential Information and shall use it only in\r
-// accordance with the terms of the license agreement you entered into with\r
-// SAMSUNG ELECTRONICS. SAMSUNG make no representations or warranties about the\r
-// suitability of the software, either express or implied, including but not\r
-// limited to the implied warranties of merchantability, fitness for a\r
-// particular purpose, or non-infringement. SAMSUNG shall not be liable for any\r
-// damages suffered by licensee as a result of using, modifying or distributing\r
-// this software or its derivatives.\r
-\r
-// Copyright (c) 2017 Samsung Electronics Co., Ltd.\r
-//\r
-// Licensed under the Apache License, Version 2.0 (the "License");\r
-// you may not use this file except in compliance with the License.\r
-// You may obtain a copy of the License at\r
-//\r
-// http://www.apache.org/licenses/LICENSE-2.0\r
-//\r
-// Unless required by applicable law or agreed to in writing, software\r
-// distributed under the License is distributed on an "AS IS" BASIS,\r
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
-// See the License for the specific language governing permissions and\r
-// limitations under the License.\r
-//\r
-\r
-// This File has been auto-generated by SWIG and then modified using DALi Ruby Scripts\r
-// Some have been manually changed\r
-\r
-\r
-namespace Tizen.NUI\r
-{\r
-\r
- internal class PathConstrainer : Handle\r
- {\r
- private global::System.Runtime.InteropServices.HandleRef swigCPtr;\r
-\r
- internal PathConstrainer(global::System.IntPtr cPtr, bool cMemoryOwn) : base(NDalicPINVOKE.PathConstrainer_SWIGUpcast(cPtr), cMemoryOwn)\r
- {\r
- swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);\r
- }\r
-\r
- internal static global::System.Runtime.InteropServices.HandleRef getCPtr(PathConstrainer obj)\r
- {\r
- return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;\r
- }\r
-\r
- ~PathConstrainer()\r
- {\r
- DisposeQueue.Instance.Add(this);\r
- }\r
-\r
- public override void Dispose()\r
- {\r
- if (!Stage.IsInstalled())\r
- {\r
- DisposeQueue.Instance.Add(this);\r
- return;\r
- }\r
-\r
- lock (this)\r
- {\r
- if (swigCPtr.Handle != global::System.IntPtr.Zero)\r
- {\r
- if (swigCMemOwn)\r
- {\r
- swigCMemOwn = false;\r
- NDalicPINVOKE.delete_PathConstrainer(swigCPtr);\r
- }\r
- swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);\r
- }\r
- global::System.GC.SuppressFinalize(this);\r
- base.Dispose();\r
- }\r
- }\r
-\r
-\r
- public class Property : global::System.IDisposable\r
- {\r
- private global::System.Runtime.InteropServices.HandleRef swigCPtr;\r
- protected bool swigCMemOwn;\r
-\r
- internal Property(global::System.IntPtr cPtr, bool cMemoryOwn)\r
- {\r
- swigCMemOwn = cMemoryOwn;\r
- swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);\r
- }\r
-\r
- internal static global::System.Runtime.InteropServices.HandleRef getCPtr(Property obj)\r
- {\r
- return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;\r
- }\r
-\r
- ~Property()\r
- {\r
- Dispose();\r
- }\r
-\r
- public virtual void Dispose()\r
- {\r
- lock (this)\r
- {\r
- if (swigCPtr.Handle != global::System.IntPtr.Zero)\r
- {\r
- if (swigCMemOwn)\r
- {\r
- swigCMemOwn = false;\r
- NDalicPINVOKE.delete_PathConstrainer_Property(swigCPtr);\r
- }\r
- swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);\r
- }\r
- global::System.GC.SuppressFinalize(this);\r
- }\r
- }\r
-\r
- public Property() : this(NDalicPINVOKE.new_PathConstrainer_Property(), true)\r
- {\r
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
- }\r
-\r
- internal static readonly int FORWARD = NDalicPINVOKE.PathConstrainer_Property_FORWARD_get();\r
- internal static readonly int POINTS = NDalicPINVOKE.PathConstrainer_Property_POINTS_get();\r
- internal static readonly int CONTROL_POINTS = NDalicPINVOKE.PathConstrainer_Property_CONTROL_POINTS_get();\r
-\r
- }\r
-\r
- public PathConstrainer() : this(NDalicPINVOKE.PathConstrainer_New(), true)\r
- {\r
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-\r
- }\r
- public new static PathConstrainer DownCast(BaseHandle handle)\r
- {\r
- PathConstrainer ret = new PathConstrainer(NDalicPINVOKE.PathConstrainer_DownCast(BaseHandle.getCPtr(handle)), true);\r
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
- return ret;\r
- }\r
-\r
- internal PathConstrainer(PathConstrainer handle) : this(NDalicPINVOKE.new_PathConstrainer__SWIG_1(PathConstrainer.getCPtr(handle)), true)\r
- {\r
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
- }\r
-\r
- internal PathConstrainer Assign(PathConstrainer rhs)\r
- {\r
- PathConstrainer ret = new PathConstrainer(NDalicPINVOKE.PathConstrainer_Assign(swigCPtr, PathConstrainer.getCPtr(rhs)), false);\r
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
- return ret;\r
- }\r
-\r
- public void Apply(Property target, Property source, Vector2 range, Vector2 wrap)\r
- {\r
- NDalicPINVOKE.PathConstrainer_Apply__SWIG_0(swigCPtr, Property.getCPtr(target), Property.getCPtr(source), Vector2.getCPtr(range), Vector2.getCPtr(wrap));\r
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
- }\r
-\r
- public void Apply(Property target, Property source, Vector2 range)\r
- {\r
- NDalicPINVOKE.PathConstrainer_Apply__SWIG_1(swigCPtr, Property.getCPtr(target), Property.getCPtr(source), Vector2.getCPtr(range));\r
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
- }\r
-\r
- internal void Remove(Handle target)\r
- {\r
- NDalicPINVOKE.PathConstrainer_Remove(swigCPtr, Handle.getCPtr(target));\r
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
- }\r
-\r
- public Vector3 Forward\r
- {\r
- get\r
- {\r
- Vector3 temp = new Vector3(0.0f, 0.0f, 0.0f);\r
- GetProperty(PathConstrainer.Property.FORWARD).Get(temp);\r
- return temp;\r
- }\r
- set\r
- {\r
- SetProperty(PathConstrainer.Property.FORWARD, new Tizen.NUI.PropertyValue(value));\r
- }\r
- }\r
-\r
- public PropertyArray Points\r
- {\r
- get\r
- {\r
- Tizen.NUI.PropertyArray temp = new Tizen.NUI.PropertyArray();\r
- GetProperty(PathConstrainer.Property.POINTS).Get(temp);\r
- return temp;\r
- }\r
- set\r
- {\r
- SetProperty(PathConstrainer.Property.POINTS, new Tizen.NUI.PropertyValue(value));\r
- }\r
- }\r
-\r
- public PropertyArray ControlPoints\r
- {\r
- get\r
- {\r
- Tizen.NUI.PropertyArray temp = new Tizen.NUI.PropertyArray();\r
- GetProperty(PathConstrainer.Property.CONTROL_POINTS).Get(temp);\r
- return temp;\r
- }\r
- set\r
- {\r
- SetProperty(PathConstrainer.Property.CONTROL_POINTS, new Tizen.NUI.PropertyValue(value));\r
- }\r
- }\r
-\r
- }\r
-\r
-}\r
+/** 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.
+*
+*/
+// This File has been auto-generated by SWIG and then modified using DALi Ruby Scripts
+//------------------------------------------------------------------------------
+// <auto-generated />
+//
+// This file was automatically generated by SWIG (http://www.swig.org).
+// Version 3.0.9
+//
+// Do not make changes to this file unless you know what you are doing--modify
+// the SWIG interface file instead.
+//------------------------------------------------------------------------------
+
+namespace Tizen.NUI {
+
+ internal class PathConstrainer : Handle
+ {
+ private global::System.Runtime.InteropServices.HandleRef swigCPtr;
+
+ internal PathConstrainer(global::System.IntPtr cPtr, bool cMemoryOwn) : base(NDalicPINVOKE.PathConstrainer_SWIGUpcast(cPtr), cMemoryOwn) {
+ swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
+ }
+
+ internal static global::System.Runtime.InteropServices.HandleRef getCPtr(PathConstrainer obj) {
+ return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
+ }
+
+ ~PathConstrainer() {
+ DisposeQueue.Instance.Add(this);
+ }
+
+ public override void Dispose() {
+ if (!Stage.IsInstalled()) {
+ DisposeQueue.Instance.Add(this);
+ return;
+ }
+
+ lock(this) {
+ if (swigCPtr.Handle != global::System.IntPtr.Zero) {
+ if (swigCMemOwn) {
+ swigCMemOwn = false;
+ NDalicPINVOKE.delete_PathConstrainer(swigCPtr);
+ }
+ swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
+ }
+ global::System.GC.SuppressFinalize(this);
+ base.Dispose();
+ }
+ }
+
+
+ public class Property : global::System.IDisposable {
+ private global::System.Runtime.InteropServices.HandleRef swigCPtr;
+ protected bool swigCMemOwn;
+
+ internal Property(global::System.IntPtr cPtr, bool cMemoryOwn) {
+ swigCMemOwn = cMemoryOwn;
+ swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
+ }
+
+ internal static global::System.Runtime.InteropServices.HandleRef getCPtr(Property obj) {
+ return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
+ }
+
+ ~Property() {
+ Dispose();
+ }
+
+ public virtual void Dispose() {
+ lock(this) {
+ if (swigCPtr.Handle != global::System.IntPtr.Zero) {
+ if (swigCMemOwn) {
+ swigCMemOwn = false;
+ NDalicPINVOKE.delete_PathConstrainer_Property(swigCPtr);
+ }
+ swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
+ }
+ global::System.GC.SuppressFinalize(this);
+ }
+ }
+
+ public Property() : this(NDalicPINVOKE.new_PathConstrainer_Property(), true) {
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ }
+
+ internal static readonly int FORWARD = NDalicPINVOKE.PathConstrainer_Property_FORWARD_get();
+ internal static readonly int POINTS = NDalicPINVOKE.PathConstrainer_Property_POINTS_get();
+ internal static readonly int CONTROL_POINTS = NDalicPINVOKE.PathConstrainer_Property_CONTROL_POINTS_get();
+
+ }
+
+ public PathConstrainer () : this (NDalicPINVOKE.PathConstrainer_New(), true) {
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+
+ }
+ public new static PathConstrainer DownCast(BaseHandle handle) {
+ PathConstrainer ret = new PathConstrainer(NDalicPINVOKE.PathConstrainer_DownCast(BaseHandle.getCPtr(handle)), true);
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ return ret;
+ }
+
+ internal PathConstrainer(PathConstrainer handle) : this(NDalicPINVOKE.new_PathConstrainer__SWIG_1(PathConstrainer.getCPtr(handle)), true)
+ {
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ }
+
+ internal PathConstrainer Assign(PathConstrainer rhs)
+ {
+ PathConstrainer ret = new PathConstrainer(NDalicPINVOKE.PathConstrainer_Assign(swigCPtr, PathConstrainer.getCPtr(rhs)), false);
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ return ret;
+ }
+
+ public void Apply(Property target, Property source, Vector2 range, Vector2 wrap) {
+ NDalicPINVOKE.PathConstrainer_Apply__SWIG_0(swigCPtr, Property.getCPtr(target), Property.getCPtr(source), Vector2.getCPtr(range), Vector2.getCPtr(wrap));
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ }
+
+ public void Apply(Property target, Property source, Vector2 range) {
+ NDalicPINVOKE.PathConstrainer_Apply__SWIG_1(swigCPtr, Property.getCPtr(target), Property.getCPtr(source), Vector2.getCPtr(range));
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ }
+
+ internal void Remove(Handle target)
+ {
+ NDalicPINVOKE.PathConstrainer_Remove(swigCPtr, Handle.getCPtr(target));
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ }
+
+ public Vector3 Forward
+ {
+ get
+ {
+ Vector3 temp = new Vector3(0.0f, 0.0f, 0.0f);
+ GetProperty(PathConstrainer.Property.FORWARD).Get(temp);
+ return temp;
+ }
+ set
+ {
+ SetProperty(PathConstrainer.Property.FORWARD, new Tizen.NUI.PropertyValue(value));
+ }
+ }
+
+ public PropertyArray Points
+ {
+ get
+ {
+ Tizen.NUI.PropertyArray temp = new Tizen.NUI.PropertyArray();
+ GetProperty(PathConstrainer.Property.POINTS).Get(temp);
+ return temp;
+ }
+ set
+ {
+ SetProperty(PathConstrainer.Property.POINTS, new Tizen.NUI.PropertyValue(value));
+ }
+ }
+
+ public PropertyArray ControlPoints
+ {
+ get
+ {
+ Tizen.NUI.PropertyArray temp = new Tizen.NUI.PropertyArray();
+ GetProperty(PathConstrainer.Property.CONTROL_POINTS).Get(temp);
+ return temp;
+ }
+ set
+ {
+ SetProperty(PathConstrainer.Property.CONTROL_POINTS, new Tizen.NUI.PropertyValue(value));
+ }
+ }
+
+}
+
+}
// the SWIG interface file instead.
//------------------------------------------------------------------------------
-namespace Tizen.NUI {\r
-\r
+namespace Tizen.NUI {
+
internal class PinchGestureDetectedSignal : global::System.IDisposable {
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
protected bool swigCMemOwn;
namespace Tizen.NUI {
using System;
-using System.Runtime.InteropServices;\r
-\r
-\r
- public class PinchGestureDetector : GestureDetector {
+using System.Runtime.InteropServices;
+
+
+public class PinchGestureDetector : GestureDetector {
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
internal PinchGestureDetector(global::System.IntPtr cPtr, bool cMemoryOwn) : base(NDalicPINVOKE.PinchGestureDetector_SWIGUpcast(cPtr), cMemoryOwn) {
// the SWIG interface file instead.
//------------------------------------------------------------------------------
-namespace Tizen.NUI {\r
-\r
+namespace Tizen.NUI {
+
internal class PixelData : BaseHandle {
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
// the SWIG interface file instead.
//------------------------------------------------------------------------------
-namespace Tizen.NUI {\r
-\r
+namespace Tizen.NUI {
+
internal enum PixelFormat {
INVALID = 0,
A8 = 1,
--- /dev/null
+/*
+ * 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.
+ *
+ */
+
+namespace Tizen.NUI {
+
+public class Position2D : global::System.IDisposable {
+ private global::System.Runtime.InteropServices.HandleRef swigCPtr;
+ protected bool swigCMemOwn;
+
+ internal Position2D(global::System.IntPtr cPtr, bool cMemoryOwn) {
+ swigCMemOwn = cMemoryOwn;
+ swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
+ }
+
+ internal static global::System.Runtime.InteropServices.HandleRef getCPtr(Position2D obj) {
+ return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
+ }
+
+ ~Position2D() {
+ DisposeQueue.Instance.Add(this);
+ }
+
+ public virtual void Dispose() {
+ if (!Stage.IsInstalled()) {
+ DisposeQueue.Instance.Add(this);
+ return;
+ }
+
+ lock(this) {
+ if (swigCPtr.Handle != global::System.IntPtr.Zero) {
+ if (swigCMemOwn) {
+ swigCMemOwn = false;
+ NDalicPINVOKE.delete_Vector2(swigCPtr);
+ }
+ swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
+ }
+ global::System.GC.SuppressFinalize(this);
+ }
+ }
+
+
+ public static Position2D operator+(Position2D arg1, Position2D arg2) {
+ return arg1.Add(arg2);
+ }
+
+ public static Position2D operator-(Position2D arg1, Position2D arg2) {
+ return arg1.Subtract(arg2);
+ }
+
+ public static Position2D operator-(Position2D arg1) {
+ return arg1.Subtract();
+ }
+
+ public static Position2D operator*(Position2D arg1, Position2D arg2) {
+ return arg1.Multiply(arg2);
+ }
+
+ public static Position2D operator*(Position2D arg1, int arg2) {
+ return arg1.Multiply(arg2);
+ }
+
+ public static Position2D operator/(Position2D arg1, Position2D arg2) {
+ return arg1.Divide(arg2);
+ }
+
+ public static Position2D operator/(Position2D arg1, int arg2) {
+ return arg1.Divide(arg2);
+ }
+
+ public float this[uint index]
+ {
+ get
+ {
+ return ValueOfIndex(index);
+ }
+ }
+
+ public static Position2D GetPosition2DFromPtr(global::System.IntPtr cPtr) {
+ Position2D ret = new Position2D(cPtr, false);
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ return ret;
+ }
+
+
+ public Position2D() : this(NDalicPINVOKE.new_Vector2__SWIG_0(), true) {
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ }
+
+ public Position2D(int x, int y) : this(NDalicPINVOKE.new_Vector2__SWIG_1((float)x, (float)y), true) {
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ }
+
+ public Position2D(Position position) : this(NDalicPINVOKE.new_Vector2__SWIG_3(Position.getCPtr(position)), true) {
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ }
+
+ private Position2D Add(Position2D rhs) {
+ Position2D ret = new Position2D(NDalicPINVOKE.Vector2_Add(swigCPtr, Position2D.getCPtr(rhs)), true);
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ return ret;
+ }
+
+ private Position2D Subtract(Position2D rhs) {
+ Position2D ret = new Position2D(NDalicPINVOKE.Vector2_Subtract__SWIG_0(swigCPtr, Position2D.getCPtr(rhs)), true);
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ return ret;
+ }
+
+
+ private Position2D Multiply(Position2D rhs) {
+ Position2D ret = new Position2D(NDalicPINVOKE.Vector2_Multiply__SWIG_0(swigCPtr, Position2D.getCPtr(rhs)), true);
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ return ret;
+ }
+
+ private Position2D Multiply(int rhs) {
+ Position2D ret = new Position2D(NDalicPINVOKE.Vector2_Multiply__SWIG_1(swigCPtr, (float)rhs), true);
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ return ret;
+ }
+
+
+ private Position2D Divide(Position2D rhs) {
+ Position2D ret = new Position2D(NDalicPINVOKE.Vector2_Divide__SWIG_0(swigCPtr, Position2D.getCPtr(rhs)), true);
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ return ret;
+ }
+
+ private Position2D Divide(int rhs) {
+ Position2D ret = new Position2D(NDalicPINVOKE.Vector2_Divide__SWIG_1(swigCPtr, (float)rhs), true);
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ return ret;
+ }
+
+ private Position2D Subtract() {
+ Position2D ret = new Position2D(NDalicPINVOKE.Vector2_Subtract__SWIG_1(swigCPtr), true);
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ return ret;
+ }
+
+ public bool EqualTo(Position2D rhs) {
+ bool ret = NDalicPINVOKE.Vector2_EqualTo(swigCPtr, Position2D.getCPtr(rhs));
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ return ret;
+ }
+
+ public bool NotEqualTo(Position2D rhs) {
+ bool ret = NDalicPINVOKE.Vector2_NotEqualTo(swigCPtr, Position2D.getCPtr(rhs));
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ return ret;
+ }
+
+ private int ValueOfIndex(uint index) {
+ int ret = (int)NDalicPINVOKE.Vector2_ValueOfIndex__SWIG_0(swigCPtr, index);
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ return ret;
+ }
+
+
+ public int X {
+ set {
+ NDalicPINVOKE.Vector2_X_set(swigCPtr, (float)value);
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ }
+ get {
+ float ret = NDalicPINVOKE.Vector2_X_get(swigCPtr);
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ return (int)ret;
+ }
+ }
+
+ public int Y {
+ set {
+ NDalicPINVOKE.Vector2_Y_set(swigCPtr, (float)value);
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ }
+ get {
+ float ret = NDalicPINVOKE.Vector2_Y_get(swigCPtr);
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ return (int)ret;
+ }
+ }
+
+ public static implicit operator Vector2(Position2D position2d)
+ {
+ return new Vector2((float)position2d.X, (float)position2d.Y);
+ }
+
+ public static implicit operator Position2D(Vector2 vec)
+ {
+ return new Position2D((int)vec.X, (int)vec.Y);
+ }
+
+}
+
+}
+
+
// the SWIG interface file instead.
//------------------------------------------------------------------------------
-namespace Tizen.NUI {\r
-\r
+namespace Tizen.NUI {
+
internal enum PositionInheritanceMode {
INHERIT_PARENT_POSITION,
USE_PARENT_POSITION,
// the SWIG interface file instead.
//------------------------------------------------------------------------------
-namespace Tizen.NUI {\r
-\r
+namespace Tizen.NUI {
+
internal enum PrimitiveVisualShapeType {
SPHERE,
CONICAL_FRUSTRUM,
--- /dev/null
+//------------------------------------------------------------------------------
+// <auto-generated />
+//
+// This file was automatically generated by SWIG (http://www.swig.org).
+// Version 3.0.9
+//
+// Do not make changes to this file unless you know what you are doing--modify
+// the SWIG interface file instead.
+//------------------------------------------------------------------------------
+
+namespace Tizen.NUI {
+
+public class ProgressBarValueChangedSignal : global::System.IDisposable {
+ private global::System.Runtime.InteropServices.HandleRef swigCPtr;
+ protected bool swigCMemOwn;
+
+ internal ProgressBarValueChangedSignal(global::System.IntPtr cPtr, bool cMemoryOwn) {
+ swigCMemOwn = cMemoryOwn;
+ swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
+ }
+
+ internal static global::System.Runtime.InteropServices.HandleRef getCPtr(ProgressBarValueChangedSignal obj) {
+ return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
+ }
+
+ ~ProgressBarValueChangedSignal() {
+ DisposeQueue.Instance.Add(this);
+ }
+
+ public virtual void Dispose() {
+ if (!Stage.IsInstalled()) {
+ DisposeQueue.Instance.Add(this);
+ return;
+ }
+
+ lock(this) {
+ if (swigCPtr.Handle != global::System.IntPtr.Zero) {
+ if (swigCMemOwn) {
+ swigCMemOwn = false;
+ NDalicPINVOKE.delete_ProgressBarValueChangedSignal(swigCPtr);
+ }
+ swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
+ }
+ global::System.GC.SuppressFinalize(this);
+ }
+ }
+
+
+ public bool Empty() {
+ bool ret = NDalicPINVOKE.ProgressBarValueChangedSignal_Empty(swigCPtr);
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ return ret;
+ }
+
+ public uint GetConnectionCount() {
+ uint ret = NDalicPINVOKE.ProgressBarValueChangedSignal_GetConnectionCount(swigCPtr);
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ return ret;
+ }
+
+ public void Connect(System.Delegate func) {
+System.IntPtr ip = System.Runtime.InteropServices.Marshal.GetFunctionPointerForDelegate(func);
+ {
+ NDalicPINVOKE.ProgressBarValueChangedSignal_Connect(swigCPtr, new System.Runtime.InteropServices.HandleRef(this, ip));
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ }
+ }
+
+ public void Disconnect(System.Delegate func) {
+System.IntPtr ip = System.Runtime.InteropServices.Marshal.GetFunctionPointerForDelegate(func);
+ {
+ NDalicPINVOKE.ProgressBarValueChangedSignal_Disconnect(swigCPtr, new System.Runtime.InteropServices.HandleRef(this, ip));
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ }
+ }
+
+ public void Emit(ProgressBar arg1, float arg2, float arg3) {
+ NDalicPINVOKE.ProgressBarValueChangedSignal_Emit(swigCPtr, ProgressBar.getCPtr(arg1), arg2, arg3);
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ }
+
+ public ProgressBarValueChangedSignal() : this(NDalicPINVOKE.new_ProgressBarValueChangedSignal(), true) {
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ }
+
+}
+
+}
// the SWIG interface file instead.
//------------------------------------------------------------------------------
-namespace Tizen.NUI {\r
-\r
+namespace Tizen.NUI {
+
internal class PropertyBuffer : BaseHandle {
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
// the SWIG interface file instead.
//------------------------------------------------------------------------------
-namespace Tizen.NUI {\r
-\r
+namespace Tizen.NUI {
+
internal class PropertyCondition : BaseHandle {
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
namespace Tizen.NUI {
using System;
-using System.Runtime.InteropServices;\r
-\r
-\r
+using System.Runtime.InteropServices;
+
+
internal class PropertyNotification : BaseHandle {
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
// the SWIG interface file instead.
//------------------------------------------------------------------------------
-namespace Tizen.NUI {\r
-\r
+namespace Tizen.NUI {
+
internal class PropertyNotifySignal : global::System.IDisposable {
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
protected bool swigCMemOwn;
-using System;
+#define DOT_NET_CORE\r
+
+using System;
using System.Runtime.InteropServices;
using System.Collections.Generic;
+#if (DOT_NET_CORE)
using System.Reflection;
+#endif
namespace Tizen.NUI
{\r
/// <summary>
/// Helper class for calculating what property indexes should be assigned to C# View (view) classes.
/// </summary>
- internal class PropertyRangeManager
- {
- private Dictionary<String, PropertyRange > _propertyRange;
-
- /// <summary>
- /// Initializes a new instance of the <see cref="Tizen.NUI.PropertyRangeManager"/> class.
- /// </summary>
- public PropertyRangeManager ()
- {
- _propertyRange = new Dictionary<String, PropertyRange > ();
+ internal class PropertyRangeManager\r
+ {\r
+ private Dictionary<String, PropertyRange > _propertyRange;\r
+\r
+ /// <summary>
+ /// Initializes a new instance of the <see cref="Tizen.NUI.PropertyRangeManager"/> class.
+ /// </summary>
+ public PropertyRangeManager()\r
+ {\r
+ _propertyRange = new Dictionary<String, PropertyRange>();\r
+ }\r
+\r
+ /// <summary>
+ /// Only called if a View has scriptable properties
+ /// </summary>
+ private PropertyRange RegisterView(string viewName, System.Type viewType)\r
+ {\r
+ PropertyRange range;\r
+\r
+ if (_propertyRange.TryGetValue(viewName, out range))\r
+ {\r
+ // already registered\r
+ return range;\r
+ }\r
+\r
+ // Find out the event and animatable start indexes for the type\r
+ range = new PropertyRange();\r
+\r
+ GetPropertyStartRange(viewType, ref range);\r
+\r
+ // add it to our dictionary\r
+ _propertyRange.Add(viewName, range);\r
+\r
+ return range;\r
+\r
+ }\r
+\r
+ /// <summary>
+ /// Gets the index of the property.
+ /// Each property has to have unique index for this view type
+ /// </summary>
+ /// <returns>The property index.</returns>
+ /// <param name="viewName">View name</param>
+ /// <param name="viewType">View type</param>
+ /// <param name="type">Type.</param>
+ public int GetPropertyIndex(string viewName, System.Type viewType, ScriptableProperty.ScriptableType type)\r
+ {\r
+\r
+ PropertyRange range;\r
+\r
+ if (!_propertyRange.TryGetValue(viewName, out range))\r
+ {\r
+ // view not found, register it now\r
+ range = RegisterView(viewName, viewType);\r
+ }\r
+\r
+ int index = range.GetNextFreePropertyIndex(type);\r
+\r
+ // update the dictionary\r
+ _propertyRange[viewName] = range;\r
+\r
+ return index;\r
+\r
+ }\r
+\r
+ ///<summary>
+ /// We calculate the start property indices, based on the type and it's class heirachy, e.g. DateView (70,000)- > Spin (60,000) -> View (50,000)
+ /// </summary>
+ private void GetPropertyStartRange(System.Type viewType, ref PropertyRange range)\r
+ {\r
+ const int maxCountPerDerivation = 1000; // For child and animtable properties we use a gap of 1000 between each\r
+ // views property range in the heirachy\r
+\r
+ // custom views start there property index, at view_PROPERTY_END_INDEX\r
+ // we add 1000, just incase View class (our C# custom view base) starts using scriptable properties\r
+ int startEventPropertyIndex = (int)View.PropertyRange.CONTROL_PROPERTY_END_INDEX + maxCountPerDerivation;\r
+\r
+ // for animatable properties current range starts at ANIMATABLE_PROPERTY_REGISTRATION_START_INDEX,\r
+ // we add 1000, just incase View class starts using animatable properties\r
+ int startAnimatablePropertyIndex = (int)Tizen.NUI.PropertyRanges.ANIMATABLE_PROPERTY_REGISTRATION_START_INDEX + maxCountPerDerivation;\r
+\r
+#if (DOT_NET_CORE)
+ while ( viewType.GetTypeInfo().BaseType.Name != "CustomView" ) // custom view is our C# view base class. we don't go any deeper.
+#else
+ while (viewType.BaseType.Name != "CustomView") // custom view is our C# view base class. we don't go any deeper.\r
+#endif
+ {\r
+ // for every base class increase property start index\r
+ startEventPropertyIndex += (int)Tizen.NUI.PropertyRanges.DEFAULT_PROPERTY_MAX_COUNT_PER_DERIVATION; // DALi uses 10,000\r
+ startAnimatablePropertyIndex += maxCountPerDerivation;\r
+\r
+ //Console.WriteLine ("getStartPropertyIndex = " + viewType.Name +"current index " + startEventPropertyIndex);\r
+#if (DOT_NET_CORE)
+ viewType = viewType.GetTypeInfo().BaseType;\r
+#else\r
+ viewType = viewType.BaseType;\r
+#endif\r
+ }\r
+\r
+ range.startEventIndex = startEventPropertyIndex;\r
+ range.lastUsedEventIndex = startEventPropertyIndex;\r
+\r
+ range.startAnimationIndex = startAnimatablePropertyIndex;\r
+ range.lastUsedAnimationIndex = startAnimatablePropertyIndex;\r
+\r
+ }\r
+\r
+\r
+ public struct PropertyRange\r
+ {\r
+\r
+ public int GetNextFreePropertyIndex(ScriptableProperty.ScriptableType type)\r
+ {\r
+ if (type == ScriptableProperty.ScriptableType.Default)\r
+ {\r
+ lastUsedEventIndex++;\r
+ return lastUsedEventIndex;\r
+ }\r
+ else\r
+ {\r
+ lastUsedAnimationIndex++;\r
+ return lastUsedAnimationIndex;\r
+ }\r
+ }\r
+\r
+\r
+ public int startEventIndex; /// start of the property range
+ public int lastUsedEventIndex; /// last used of the property index
+\r
+ public int startAnimationIndex; /// start of the property range
+ public int lastUsedAnimationIndex; /// last used of the property index
+ };\r
+\r
+\r
+\r
}
-
- /// <summary>
- /// Only called if a View has scriptable properties
- /// </summary>
- private PropertyRange RegisterView( string viewName, System.Type viewType )
- {
- PropertyRange range;
-
- if ( _propertyRange.TryGetValue (viewName, out range) )
- {
- // already registered
- return range;
- }
-
- // Find out the event and animatable start indexes for the type
- range = new PropertyRange();
-
- GetPropertyStartRange( viewType, ref range);
-
- // add it to our dictionary
- _propertyRange.Add( viewName, range );
-
- return range;
-
- }
-
- /// <summary>
- /// Gets the index of the property.
- /// Each property has to have unique index for this view type
- /// </summary>
- /// <returns>The property index.</returns>
- /// <param name="viewName">View name</param>
- /// <param name="viewType">View type</param>
- /// <param name="type">Type.</param>
- public int GetPropertyIndex( string viewName, System.Type viewType, ScriptableProperty.ScriptableType type )
- {
-
- PropertyRange range;
-
- if (! _propertyRange.TryGetValue (viewName, out range) )
- {
- // view not found, register it now
- range = RegisterView( viewName, viewType);
- }
-
- int index = range.GetNextFreePropertyIndex ( type );
-
- // update the dictionary
- _propertyRange[viewName]=range;
-
- return index;
-
- }
-
- ///<summary>
- /// We calculate the start property indices, based on the type and it's class heirachy, e.g. DateView (70,000)- > Spin (60,000) -> View (50,000)
- /// </summary>
- private void GetPropertyStartRange( System.Type viewType, ref PropertyRange range )
- {
- const int maxCountPerDerivation = 1000; // For child and animtable properties we use a gap of 1000 between each
- // views property range in the heirachy
-
- // custom views start there property index, at view_PROPERTY_END_INDEX
- // we add 1000, just incase View class (our C# custom view base) starts using scriptable properties
- int startEventPropertyIndex = (int)View.PropertyRange.CONTROL_PROPERTY_END_INDEX+maxCountPerDerivation;
-
- // for animatable properties current range starts at ANIMATABLE_PROPERTY_REGISTRATION_START_INDEX,
- // we add 1000, just incase View class starts using animatable properties
- int startAnimatablePropertyIndex = (int)Tizen.NUI.PropertyRanges.ANIMATABLE_PROPERTY_REGISTRATION_START_INDEX +maxCountPerDerivation;
-
- while ( viewType.GetTypeInfo().BaseType.Name != "CustomView" ) // custom view is our C# view base class. we don't go any deeper.
- {
- // for every base class increase property start index
- startEventPropertyIndex += (int)Tizen.NUI.PropertyRanges.DEFAULT_PROPERTY_MAX_COUNT_PER_DERIVATION; // DALi uses 10,000
- startAnimatablePropertyIndex += maxCountPerDerivation;
-
- //Console.WriteLine ("getStartPropertyIndex = " + viewType.Name +"current index " + startEventPropertyIndex);
- viewType = viewType.GetTypeInfo().BaseType;
- }
-
- range.startEventIndex = startEventPropertyIndex;
- range.lastUsedEventIndex = startEventPropertyIndex;
-
- range.startAnimationIndex = startAnimatablePropertyIndex;
- range.lastUsedAnimationIndex = startAnimatablePropertyIndex;
-
- }
-
-
- public struct PropertyRange
- {
-
- public int GetNextFreePropertyIndex( ScriptableProperty.ScriptableType type)
- {
- if ( type == ScriptableProperty.ScriptableType.Default )
- {
- lastUsedEventIndex++;
- return lastUsedEventIndex;
- }
- else
- {
- lastUsedAnimationIndex++;
- return lastUsedAnimationIndex ;
- }
- }
-
-
- public int startEventIndex; /// start of the property range
- public int lastUsedEventIndex; /// last used of the property index
-
- public int startAnimationIndex; /// start of the property range
- public int lastUsedAnimationIndex; /// last used of the property index
- };
-
-
-
-}
}
// the SWIG interface file instead.
//------------------------------------------------------------------------------
-namespace Tizen.NUI {\r
-\r
+namespace Tizen.NUI {
+
internal enum PropertyRanges {
DEFAULT_OBJECT_PROPERTY_START_INDEX = 0,
DEFAULT_ACTOR_PROPERTY_START_INDEX = DEFAULT_OBJECT_PROPERTY_START_INDEX,
// the SWIG interface file instead.
//------------------------------------------------------------------------------
-namespace Tizen.NUI {\r
-\r
+namespace Tizen.NUI {
+
internal class PropertyRegistration : global::System.IDisposable {
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
protected bool swigCMemOwn;
// the SWIG interface file instead.
//------------------------------------------------------------------------------
-namespace Tizen.NUI {\r
-\r
- public class RefObject : global::System.IDisposable {
+namespace Tizen.NUI {
+
+public class RefObject : global::System.IDisposable {
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
protected bool swigCMemOwn;
// the SWIG interface file instead.
//------------------------------------------------------------------------------
-namespace Tizen.NUI {\r
-\r
+namespace Tizen.NUI {
+
internal enum RenderBufferFormat {
COLOR,
COLOR_DEPTH,
// the SWIG interface file instead.
//------------------------------------------------------------------------------
-namespace Tizen.NUI {\r
-\r
+namespace Tizen.NUI {
+
internal enum RenderModeType {
NONE,
AUTO,
// the SWIG interface file instead.
//------------------------------------------------------------------------------
-namespace Tizen.NUI {\r
-\r
+namespace Tizen.NUI {
+
internal class RenderTask : Handle {
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
// the SWIG interface file instead.
//------------------------------------------------------------------------------
-namespace Tizen.NUI {\r
-\r
+namespace Tizen.NUI {
+
internal class RenderTaskList : BaseHandle {
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
// the SWIG interface file instead.
//------------------------------------------------------------------------------
-namespace Tizen.NUI {\r
-\r
+namespace Tizen.NUI {
+
internal class RenderTaskSignal : global::System.IDisposable {
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
protected bool swigCMemOwn;
// the SWIG interface file instead.
//------------------------------------------------------------------------------
-namespace Tizen.NUI {\r
-\r
+namespace Tizen.NUI {
+
internal class Renderer : Handle {
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
// the SWIG interface file instead.
//------------------------------------------------------------------------------
-namespace Tizen.NUI {\r
-\r
+namespace Tizen.NUI {
+
internal enum RenderingType {
RENDERING_SHARED_ATLAS,
RENDERING_VECTOR_BASED
// the SWIG interface file instead.
//------------------------------------------------------------------------------
-namespace Tizen.NUI {\r
-\r
+namespace Tizen.NUI {
+
internal class ResourceImageSignal : global::System.IDisposable {
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
protected bool swigCMemOwn;
// the SWIG interface file instead.
//------------------------------------------------------------------------------
-namespace Tizen.NUI {\r
-\r
+namespace Tizen.NUI {
+
internal class Ruler : RefObject {
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
// the SWIG interface file instead.
//------------------------------------------------------------------------------
-namespace Tizen.NUI {\r
-\r
+namespace Tizen.NUI {
+
internal class RulerDomain : global::System.IDisposable {
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
protected bool swigCMemOwn;
// the SWIG interface file instead.
//------------------------------------------------------------------------------
-namespace Tizen.NUI {\r
-\r
+namespace Tizen.NUI {
+
internal class RulerPtr : global::System.IDisposable {
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
protected bool swigCMemOwn;
// the SWIG interface file instead.
//------------------------------------------------------------------------------
-namespace Tizen.NUI {\r
-\r
+namespace Tizen.NUI {
+
internal class SWIGTYPE_p_CallbackBase {
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
// the SWIG interface file instead.
//------------------------------------------------------------------------------
-namespace Tizen.NUI {\r
-\r
+namespace Tizen.NUI {
+
internal class SWIGTYPE_p_Configuration__ContextLoss {
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
// the SWIG interface file instead.
//------------------------------------------------------------------------------
-namespace Tizen.NUI {\r
-\r
+namespace Tizen.NUI {
+
internal class SWIGTYPE_p_Dali__CallbackBase {
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
// the SWIG interface file instead.
//------------------------------------------------------------------------------
-namespace Tizen.NUI {\r
-\r
+namespace Tizen.NUI {
+
internal class SWIGTYPE_p_Dali__Constraint {
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
// the SWIG interface file instead.
//------------------------------------------------------------------------------
-namespace Tizen.NUI {\r
-\r
+namespace Tizen.NUI {
+
internal class SWIGTYPE_p_Dali__CustomActorImpl__Extension {
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
// the SWIG interface file instead.
//------------------------------------------------------------------------------
-namespace Tizen.NUI {\r
-\r
+namespace Tizen.NUI {
+
internal class SWIGTYPE_p_Dali__FunctorDelegate {
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
--- /dev/null
+//------------------------------------------------------------------------------
+// <auto-generated />
+//
+// This file was automatically generated by SWIG (http://www.swig.org).
+// Version 3.0.9
+//
+// Do not make changes to this file unless you know what you are doing--modify
+// the SWIG interface file instead.
+//------------------------------------------------------------------------------
+
+namespace Tizen.NUI {
+
+public class SWIGTYPE_p_Dali__Internal__Texture {
+ private global::System.Runtime.InteropServices.HandleRef swigCPtr;
+
+ internal SWIGTYPE_p_Dali__Internal__Texture(global::System.IntPtr cPtr, bool futureUse) {
+ swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
+ }
+
+ protected SWIGTYPE_p_Dali__Internal__Texture() {
+ swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
+ }
+
+ internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_Dali__Internal__Texture obj) {
+ return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
+ }
+}
+
+}
// the SWIG interface file instead.
//------------------------------------------------------------------------------
-namespace Tizen.NUI {\r
-\r
+namespace Tizen.NUI {
+
internal class SWIGTYPE_p_Dali__Internal__TypeRegistry {
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
// the SWIG interface file instead.
//------------------------------------------------------------------------------
-namespace Tizen.NUI {\r
-\r
+namespace Tizen.NUI {
+
internal class SWIGTYPE_p_Dali__IntrusivePtrT_Dali__Toolkit__ItemLayout_t {
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
// the SWIG interface file instead.
//------------------------------------------------------------------------------
-namespace Tizen.NUI {\r
-\r
+namespace Tizen.NUI {
+
internal class SWIGTYPE_p_Dali__RectT_unsigned_int_t {
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
// the SWIG interface file instead.
//------------------------------------------------------------------------------
-namespace Tizen.NUI {\r
-\r
+namespace Tizen.NUI {
+
internal class SWIGTYPE_p_Dali__SignalT_bool_fDali__Actor_Dali__TouchEvent_const_RF_t {
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
// the SWIG interface file instead.
//------------------------------------------------------------------------------
-namespace Tizen.NUI {\r
-\r
+namespace Tizen.NUI {
+
internal class SWIGTYPE_p_Dali__SignalT_bool_fDali__Toolkit__AccessibilityManager_R_Dali__TouchEvent_const_RF_t {
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
// the SWIG interface file instead.
//------------------------------------------------------------------------------
-namespace Tizen.NUI {\r
-\r
+namespace Tizen.NUI {
+
internal class SWIGTYPE_p_Dali__SignalT_void_fDali__DragAndDropDetectorF_t {
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
// the SWIG interface file instead.
//------------------------------------------------------------------------------
-namespace Tizen.NUI {\r
-\r
+namespace Tizen.NUI {
+
internal class SWIGTYPE_p_Dali__SignalT_void_fDali__Toolkit__Control_Dali__Toolkit__ControlF_t {
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
+++ /dev/null
-//------------------------------------------------------------------------------
-// <auto-generated />
-//
-// This file was automatically generated by SWIG (http://www.swig.org).
-// Version 3.0.9
-//
-// Do not make changes to this file unless you know what you are doing--modify
-// the SWIG interface file instead.
-//------------------------------------------------------------------------------
-
-namespace Tizen.NUI {\r
-\r
- internal class SWIGTYPE_p_Dali__SignalT_void_fDali__Toolkit__ProgressBar_float_floatF_t {
- private global::System.Runtime.InteropServices.HandleRef swigCPtr;
-
- internal SWIGTYPE_p_Dali__SignalT_void_fDali__Toolkit__ProgressBar_float_floatF_t(global::System.IntPtr cPtr, bool futureUse) {
- swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
- }
-
- protected SWIGTYPE_p_Dali__SignalT_void_fDali__Toolkit__ProgressBar_float_floatF_t() {
- swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
- }
-
- internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_Dali__SignalT_void_fDali__Toolkit__ProgressBar_float_floatF_t obj) {
- return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
- }
-}
-
-}
// the SWIG interface file instead.
//------------------------------------------------------------------------------
-namespace Tizen.NUI {\r
-\r
+namespace Tizen.NUI {
+
internal class SWIGTYPE_p_Dali__SignalT_void_fDali__Toolkit__TextEditor_Dali__Toolkit__TextEditor__InputStyle__MaskF_t {
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
// the SWIG interface file instead.
//------------------------------------------------------------------------------
-namespace Tizen.NUI {\r
-\r
+namespace Tizen.NUI {
+
internal class SWIGTYPE_p_Dali__SignalT_void_fDali__Toolkit__TextField_Dali__Toolkit__TextField__InputStyle__MaskF_t {
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
// the SWIG interface file instead.
//------------------------------------------------------------------------------
-namespace Tizen.NUI {\r
-\r
+namespace Tizen.NUI {
+
internal class SWIGTYPE_p_Dali__SignalT_void_fboolF_t {
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
// the SWIG interface file instead.
//------------------------------------------------------------------------------
-namespace Tizen.NUI {\r
-\r
+namespace Tizen.NUI {
+
internal class SWIGTYPE_p_Dali__SignalT_void_fuint32_t_Dali__PixelDataF_t {
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
// the SWIG interface file instead.
//------------------------------------------------------------------------------
-namespace Tizen.NUI {\r
-\r
+namespace Tizen.NUI {
+
internal class SWIGTYPE_p_Dali__Toolkit__ClampState {
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
// the SWIG interface file instead.
//------------------------------------------------------------------------------
-namespace Tizen.NUI {\r
-\r
+namespace Tizen.NUI {
+
internal class SWIGTYPE_p_Dali__Toolkit__Internal__AsyncImageLoader {
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
// the SWIG interface file instead.
//------------------------------------------------------------------------------
-namespace Tizen.NUI {\r
-\r
+namespace Tizen.NUI {
+
internal class SWIGTYPE_p_Dali__Toolkit__Internal__Control__Extension {
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
// the SWIG interface file instead.
//------------------------------------------------------------------------------
-namespace Tizen.NUI {\r
-\r
+namespace Tizen.NUI {
+
internal class SWIGTYPE_p_Dali__Toolkit__Internal__TransitionData {
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
// the SWIG interface file instead.
//------------------------------------------------------------------------------
-namespace Tizen.NUI {\r
-\r
+namespace Tizen.NUI {
+
internal class SWIGTYPE_p_Dali__Toolkit__Internal__Visual__Base {
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
// the SWIG interface file instead.
//------------------------------------------------------------------------------
-namespace Tizen.NUI {\r
-\r
+namespace Tizen.NUI {
+
internal class SWIGTYPE_p_Dali__Toolkit__ItemFactory__Extension {
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
// the SWIG interface file instead.
//------------------------------------------------------------------------------
-namespace Tizen.NUI {\r
-\r
+namespace Tizen.NUI {
+
internal class SWIGTYPE_p_Dali__TouchEvent {
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
// the SWIG interface file instead.
//------------------------------------------------------------------------------
-namespace Tizen.NUI {\r
-\r
+namespace Tizen.NUI {
+
internal class SWIGTYPE_p_FunctorDelegate {
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
// the SWIG interface file instead.
//------------------------------------------------------------------------------
-namespace Tizen.NUI {\r
-\r
+namespace Tizen.NUI {
+
internal class SWIGTYPE_p_PropertyInputContainer {
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
// the SWIG interface file instead.
//------------------------------------------------------------------------------
-namespace Tizen.NUI {\r
-\r
+namespace Tizen.NUI {
+
internal class SWIGTYPE_p_double {
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
+++ /dev/null
-//------------------------------------------------------------------------------
-// <auto-generated />
-//
-// This file was automatically generated by SWIG (http://www.swig.org).
-// Version 3.0.9
-//
-// Do not make changes to this file unless you know what you are doing--modify
-// the SWIG interface file instead.
-//------------------------------------------------------------------------------
-
-namespace Tizen.NUI {\r
-\r
- internal class SWIGTYPE_p_f___bool {
- private global::System.Runtime.InteropServices.HandleRef swigCPtr;
-
- internal SWIGTYPE_p_f___bool(global::System.IntPtr cPtr, bool futureUse) {
- swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
- }
-
- protected SWIGTYPE_p_f___bool() {
- swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
- }
-
- internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_f___bool obj) {
- return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
- }
-}
-
-}
// the SWIG interface file instead.
//------------------------------------------------------------------------------
-namespace Tizen.NUI {\r
-\r
+namespace Tizen.NUI {
+
internal class SWIGTYPE_p_f_float__float {
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
// the SWIG interface file instead.
//------------------------------------------------------------------------------
-namespace Tizen.NUI {\r
-\r
+namespace Tizen.NUI {
+
internal class SWIGTYPE_p_f_p_Dali__BaseObject_Dali__Property__Index__Dali__Property__Value {
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
// the SWIG interface file instead.
//------------------------------------------------------------------------------
-namespace Tizen.NUI {\r
-\r
+namespace Tizen.NUI {
+
internal class SWIGTYPE_p_f_p_Dali__BaseObject_int_r_q_const__Dali__Property__Value__void {
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
// the SWIG interface file instead.
//------------------------------------------------------------------------------
-namespace Tizen.NUI {\r
-\r
+namespace Tizen.NUI {
+
internal class SWIGTYPE_p_f_p_Dali__BaseObject_p_Dali__ConnectionTrackerInterface_r_q_const__std__string_p_Dali__FunctorDelegate__bool {
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
// the SWIG interface file instead.
//------------------------------------------------------------------------------
-namespace Tizen.NUI {\r
-\r
+namespace Tizen.NUI {
+
internal class SWIGTYPE_p_f_p_Dali__BaseObject_r_q_const__std__string_r_q_const__Dali__Property__Map__bool {
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
// the SWIG interface file instead.
//------------------------------------------------------------------------------
-namespace Tizen.NUI {\r
-\r
+namespace Tizen.NUI {
+
internal class SWIGTYPE_p_f_p_q_const__Dali__Any__AnyContainerBase__void {
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
// the SWIG interface file instead.
//------------------------------------------------------------------------------
-namespace Tizen.NUI {\r
-\r
+namespace Tizen.NUI {
+
internal class SWIGTYPE_p_f_r_Dali__Vector2__bool {
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
// the SWIG interface file instead.
//------------------------------------------------------------------------------
-namespace Tizen.NUI {\r
-\r
+namespace Tizen.NUI {
+
internal class SWIGTYPE_p_f_r_q_const__Dali__Any__AnyContainerBase__p_Dali__Any__AnyContainerBase {
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
// the SWIG interface file instead.
//------------------------------------------------------------------------------
-namespace Tizen.NUI {\r
-\r
+namespace Tizen.NUI {
+
internal class SWIGTYPE_p_f_r_q_const__Dali__Vector3__float {
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
// the SWIG interface file instead.
//------------------------------------------------------------------------------
-namespace Tizen.NUI {\r
-\r
+namespace Tizen.NUI {
+
internal class SWIGTYPE_p_float {
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
// the SWIG interface file instead.
//------------------------------------------------------------------------------
-namespace Tizen.NUI {\r
-\r
+namespace Tizen.NUI {
+
internal class SWIGTYPE_p_int {
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
// the SWIG interface file instead.
//------------------------------------------------------------------------------
-namespace Tizen.NUI {\r
-\r
+namespace Tizen.NUI {
+
internal class SWIGTYPE_p_std__type_info {
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
// the SWIG interface file instead.
//------------------------------------------------------------------------------
-namespace Tizen.NUI {\r
-\r
+namespace Tizen.NUI {
+
internal class SWIGTYPE_p_uint8_t {
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
// the SWIG interface file instead.
//------------------------------------------------------------------------------
-namespace Tizen.NUI {\r
-\r
+namespace Tizen.NUI {
+
internal class SWIGTYPE_p_unsigned_char {
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
// the SWIG interface file instead.
//------------------------------------------------------------------------------
-namespace Tizen.NUI {\r
-\r
+namespace Tizen.NUI {
+
internal class SWIGTYPE_p_unsigned_int {
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
// the SWIG interface file instead.
//------------------------------------------------------------------------------
-namespace Tizen.NUI {\r
-\r
+namespace Tizen.NUI {
+
internal class SWIGTYPE_p_unsigned_short {
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
// the SWIG interface file instead.
//------------------------------------------------------------------------------
-namespace Tizen.NUI {\r
-\r
+namespace Tizen.NUI {
+
internal class Sampler : BaseHandle {
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
// the SWIG interface file instead.
//------------------------------------------------------------------------------
-namespace Tizen.NUI
-{
- public enum SamplingModeType
- {
- BOX,
- NEAREST,
- LINEAR,
- BOX_THEN_NEAREST,
- BOX_THEN_LINEAR,
- NO_FILTER,
- DONT_CARE
- }
+namespace Tizen.NUI {
+
+public enum SamplingModeType {
+ BOX,
+ NEAREST,
+ LINEAR,
+ BOX_THEN_NEAREST,
+ BOX_THEN_LINEAR,
+ NO_FILTER,
+ DONT_CARE
+}
}
namespace Tizen.NUI {
using System;
-using System.Runtime.InteropServices;\r
-\r
-\r
+using System.Runtime.InteropServices;
+
+
internal class ScrollView : Scrollable {
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
// the SWIG interface file instead.
//------------------------------------------------------------------------------
-namespace Tizen.NUI {\r
-\r
+namespace Tizen.NUI {
+
internal class ScrollViewEffect : BaseHandle {
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
// the SWIG interface file instead.
//------------------------------------------------------------------------------
-namespace Tizen.NUI {\r
-\r
+namespace Tizen.NUI {
+
internal class ScrollViewPagePathEffect : ScrollViewEffect {
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
// the SWIG interface file instead.
//------------------------------------------------------------------------------
-namespace Tizen.NUI {\r
-\r
+namespace Tizen.NUI {
+
internal class ScrollViewSnapStartedSignal : global::System.IDisposable {
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
protected bool swigCMemOwn;
namespace Tizen.NUI {
using System;
-using System.Runtime.InteropServices;\r
-\r
-\r
+using System.Runtime.InteropServices;
+
+
internal class Scrollable : View {
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
// the SWIG interface file instead.
//------------------------------------------------------------------------------
-namespace Tizen.NUI {\r
-\r
+namespace Tizen.NUI {
+
internal class ScrollableSignal : global::System.IDisposable {
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
protected bool swigCMemOwn;
// the SWIG interface file instead.
//------------------------------------------------------------------------------
-namespace Tizen.NUI {\r
-\r
+namespace Tizen.NUI {
+
internal class Shader : Handle {
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
// the SWIG interface file instead.
//------------------------------------------------------------------------------
-namespace Tizen.NUI {\r
-\r
+namespace Tizen.NUI {
+
internal class SignalConnectorType : global::System.IDisposable {
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
protected bool swigCMemOwn;
// the SWIG interface file instead.
//------------------------------------------------------------------------------
-namespace Tizen.NUI {\r
-\r
+namespace Tizen.NUI {
+
internal class SignalObserver : global::System.IDisposable {
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
protected bool swigCMemOwn;
// the SWIG interface file instead.
//------------------------------------------------------------------------------
-namespace Tizen.NUI {\r
-\r
+namespace Tizen.NUI {
+
internal class SliderMarkReachedSignal : global::System.IDisposable {
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
protected bool swigCMemOwn;
// the SWIG interface file instead.
//------------------------------------------------------------------------------
-namespace Tizen.NUI {\r
-\r
+namespace Tizen.NUI {
+
internal class SliderValueChangedSignal : global::System.IDisposable {
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
protected bool swigCMemOwn;
// the SWIG interface file instead.
//------------------------------------------------------------------------------
-namespace Tizen.NUI {\r
-\r
+namespace Tizen.NUI {
+
internal class SlotObserver : global::System.IDisposable {
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
protected bool swigCMemOwn;
// the SWIG interface file instead.
//------------------------------------------------------------------------------
-namespace Tizen.NUI {\r
-\r
+namespace Tizen.NUI {
+
internal enum SnapType {
Snap,
Flick
// the SWIG interface file instead.
//------------------------------------------------------------------------------
-namespace Tizen.NUI {\r
-\r
+namespace Tizen.NUI {
+
internal class StageWheelSignal : global::System.IDisposable {
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
protected bool swigCMemOwn;
// the SWIG interface file instead.
//------------------------------------------------------------------------------
-namespace Tizen.NUI {\r
-\r
+namespace Tizen.NUI {
+
internal enum StencilFunctionType {
NEVER,
LESS,
// the SWIG interface file instead.
//------------------------------------------------------------------------------
-namespace Tizen.NUI {\r
-\r
+namespace Tizen.NUI {
+
internal enum StencilOperationType {
ZERO,
KEEP,
// the SWIG interface file instead.
//------------------------------------------------------------------------------
-namespace Tizen.NUI {\r
-\r
+namespace Tizen.NUI {
+
internal class StringValuePair : global::System.IDisposable {
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
protected bool swigCMemOwn;
// the SWIG interface file instead.
//------------------------------------------------------------------------------
-namespace Tizen.NUI {\r
-\r
+namespace Tizen.NUI {
+
internal class StyleChangedSignal : global::System.IDisposable {
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
protected bool swigCMemOwn;
// the SWIG interface file instead.
//------------------------------------------------------------------------------
-namespace Tizen.NUI {\r
-\r
+namespace Tizen.NUI {
+
internal class TapGestureDetectedSignal : global::System.IDisposable {
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
protected bool swigCMemOwn;
// the SWIG interface file instead.
//------------------------------------------------------------------------------
-namespace Tizen.NUI {\r
-\r
+namespace Tizen.NUI {
+
internal class TextEditorSignal : global::System.IDisposable {
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
protected bool swigCMemOwn;
// the SWIG interface file instead.
//------------------------------------------------------------------------------
-namespace Tizen.NUI {\r
-\r
+namespace Tizen.NUI {
+
internal class TextFieldSignal : global::System.IDisposable {
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
protected bool swigCMemOwn;
// the SWIG interface file instead.
//------------------------------------------------------------------------------
-namespace Tizen.NUI {\r
-\r
+namespace Tizen.NUI {
+
internal class Texture : BaseHandle {
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
return ret;
}
+ public Texture(SWIGTYPE_p_Dali__Internal__Texture pointer) : this(NDalicPINVOKE.new_Texture__SWIG_2(SWIGTYPE_p_Dali__Internal__Texture.getCPtr(pointer)), true) {
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ }
+
}
}
// the SWIG interface file instead.
//------------------------------------------------------------------------------
-namespace Tizen.NUI {\r
-\r
+namespace Tizen.NUI {
+
internal class TextureSet : BaseHandle {
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
// the SWIG interface file instead.
//------------------------------------------------------------------------------
-namespace Tizen.NUI {\r
-\r
+namespace Tizen.NUI {
+
internal enum TextureType {
TEXTURE_2D,
TEXTURE_CUBE
// the SWIG interface file instead.
//------------------------------------------------------------------------------
-namespace Tizen.NUI {\r
-\r
+namespace Tizen.NUI {
+
internal class TimePeriod : global::System.IDisposable {
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
protected bool swigCMemOwn;
// the SWIG interface file instead.
//------------------------------------------------------------------------------
-namespace Tizen.NUI\r
-{\r
-\r
- internal class TimerSignalType : global::System.IDisposable\r
- {\r
- private global::System.Runtime.InteropServices.HandleRef swigCPtr;\r
- protected bool swigCMemOwn;\r
-\r
- internal TimerSignalType(global::System.IntPtr cPtr, bool cMemoryOwn)\r
- {\r
- swigCMemOwn = cMemoryOwn;\r
- swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);\r
- }\r
-\r
- internal static global::System.Runtime.InteropServices.HandleRef getCPtr(TimerSignalType obj)\r
- {\r
- return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;\r
- }\r
-\r
- ~TimerSignalType()\r
- {\r
- Dispose();\r
- }\r
-\r
- public virtual void Dispose()\r
- {\r
- lock (this)\r
- {\r
- if (swigCPtr.Handle != global::System.IntPtr.Zero)\r
- {\r
- if (swigCMemOwn)\r
- {\r
- swigCMemOwn = false;\r
- NDalicPINVOKE.delete_TimerSignalType(swigCPtr);\r
- }\r
- swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);\r
- }\r
- global::System.GC.SuppressFinalize(this);\r
- }\r
- }\r
-\r
- public TimerSignalType() : this(NDalicPINVOKE.new_TimerSignalType(), true)\r
- {\r
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
- }\r
-\r
- public bool Empty()\r
- {\r
- bool ret = NDalicPINVOKE.TimerSignalType_Empty(swigCPtr);\r
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
- return ret;\r
- }\r
-\r
- public uint GetConnectionCount()\r
- {\r
- uint ret = NDalicPINVOKE.TimerSignalType_GetConnectionCount(swigCPtr);\r
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
- return ret;\r
- }\r
-\r
- public void Connect(SWIGTYPE_p_f___bool func)\r
- {\r
- NDalicPINVOKE.TimerSignalType_Connect__SWIG_0(swigCPtr, SWIGTYPE_p_f___bool.getCPtr(func));\r
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
- }\r
-\r
- public void Disconnect(SWIGTYPE_p_f___bool func)\r
- {\r
- NDalicPINVOKE.TimerSignalType_Disconnect(swigCPtr, SWIGTYPE_p_f___bool.getCPtr(func));\r
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
- }\r
-\r
- public void Connect(ConnectionTrackerInterface connectionTracker, SWIGTYPE_p_Dali__FunctorDelegate arg1)\r
- {\r
- NDalicPINVOKE.TimerSignalType_Connect__SWIG_4(swigCPtr, ConnectionTrackerInterface.getCPtr(connectionTracker), SWIGTYPE_p_Dali__FunctorDelegate.getCPtr(arg1));\r
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
- }\r
-\r
- public bool Emit()\r
- {\r
- bool ret = NDalicPINVOKE.TimerSignalType_Emit(swigCPtr);\r
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
- return ret;\r
+namespace Tizen.NUI {
+
+ internal class TimerSignalType : global::System.IDisposable
+ {
+ private global::System.Runtime.InteropServices.HandleRef swigCPtr;
+ protected bool swigCMemOwn;
+
+ internal TimerSignalType(global::System.IntPtr cPtr, bool cMemoryOwn) {
+ swigCMemOwn = cMemoryOwn;
+ swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
+ }
+
+ internal static global::System.Runtime.InteropServices.HandleRef getCPtr(TimerSignalType obj) {
+ return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
+ }
+
+ ~TimerSignalType() {
+ Dispose();
+ }
+
+ public virtual void Dispose() {
+ lock(this) {
+ if (swigCPtr.Handle != global::System.IntPtr.Zero) {
+ if (swigCMemOwn) {
+ swigCMemOwn = false;
+ NDalicPINVOKE.delete_TimerSignalType(swigCPtr);
}
- public void Connect(System.Delegate func)\r
- {\r
- System.IntPtr ip = System.Runtime.InteropServices.Marshal.GetFunctionPointerForDelegate(func);\r
- {\r
- NDalicPINVOKE.TimerSignalType_Connect__SWIG_0(swigCPtr, new System.Runtime.InteropServices.HandleRef(this, ip));\r
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
- }\r
- }\r
-\r
- public void Disconnect(System.Delegate func)\r
- {\r
- System.IntPtr ip = System.Runtime.InteropServices.Marshal.GetFunctionPointerForDelegate(func);\r
- {\r
- NDalicPINVOKE.TimerSignalType_Disconnect(swigCPtr, new System.Runtime.InteropServices.HandleRef(this, ip));\r
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
- }\r
- }\r
-\r
+ swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
+ }
+ global::System.GC.SuppressFinalize(this);
}
+ }
+
+ public bool Empty() {
+ bool ret = NDalicPINVOKE.TimerSignalType_Empty(swigCPtr);
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ return ret;
+ }
+
+ public uint GetConnectionCount() {
+ uint ret = NDalicPINVOKE.TimerSignalType_GetConnectionCount(swigCPtr);
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ return ret;
+ }
+
+ public void Connect(System.Delegate func) {
+System.IntPtr ip = System.Runtime.InteropServices.Marshal.GetFunctionPointerForDelegate(func);
+ {
+ NDalicPINVOKE.TimerSignalType_Connect(swigCPtr, new System.Runtime.InteropServices.HandleRef(this, ip));
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ }
+ }
+
+ public void Disconnect(System.Delegate func) {
+System.IntPtr ip = System.Runtime.InteropServices.Marshal.GetFunctionPointerForDelegate(func);
+ {
+ NDalicPINVOKE.TimerSignalType_Disconnect(swigCPtr, new System.Runtime.InteropServices.HandleRef(this, ip));
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ }
+ }
+
+ public bool Emit() {
+ bool ret = NDalicPINVOKE.TimerSignalType_Emit(swigCPtr);
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ return ret;
+ }
+
+ public TimerSignalType() : this(NDalicPINVOKE.new_TimerSignalType(), true) {
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ }
+
+}
}
// the SWIG interface file instead.
//------------------------------------------------------------------------------
-namespace Tizen.NUI {\r
-\r
+namespace Tizen.NUI {
+
internal enum ToolkitPropertyRange {
VISUAL_PROPERTY_BASE_START_INDEX = PropertyRanges.CORE_PROPERTY_MAX_INDEX+1,
VISUAL_PROPERTY_BASE_END_INDEX = VISUAL_PROPERTY_BASE_START_INDEX+100,
// the SWIG interface file instead.
//------------------------------------------------------------------------------
-namespace Tizen.NUI {\r
-\r
+namespace Tizen.NUI {
+
internal enum TooltipPositionType {
ABOVE,
BELOW,
// the SWIG interface file instead.
//------------------------------------------------------------------------------
-namespace Tizen.NUI {\r
-\r
+namespace Tizen.NUI {
+
internal class TouchPoint : global::System.IDisposable {
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
protected bool swigCMemOwn;
// the SWIG interface file instead.
//------------------------------------------------------------------------------
-namespace Tizen.NUI {\r
-\r
+namespace Tizen.NUI {
+
internal class TouchPointContainer : global::System.IDisposable, global::System.Collections.IEnumerable
, global::System.Collections.Generic.IEnumerable<TouchPoint>
{
// the SWIG interface file instead.
//------------------------------------------------------------------------------
-namespace Tizen.NUI {\r
-\r
+namespace Tizen.NUI {
+
internal class TouchSignal : global::System.IDisposable {
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
protected bool swigCMemOwn;
// the SWIG interface file instead.
//------------------------------------------------------------------------------
-namespace Tizen.NUI {\r
-\r
- public class TransitionData : BaseHandle {
+namespace Tizen.NUI {
+
+public class TransitionData : BaseHandle {
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
internal TransitionData(global::System.IntPtr cPtr, bool cMemoryOwn) : base(NDalicPINVOKE.TransitionData_SWIGUpcast(cPtr), cMemoryOwn) {
// the SWIG interface file instead.
//------------------------------------------------------------------------------
-namespace Tizen.NUI {\r
-\r
+namespace Tizen.NUI {
+
internal class TypeAction : global::System.IDisposable {
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
protected bool swigCMemOwn;
// the SWIG interface file instead.
//------------------------------------------------------------------------------
-namespace Tizen.NUI {\r
-\r
- public class TypeInfo : BaseHandle {
+namespace Tizen.NUI {
+
+public class TypeInfo : BaseHandle {
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
internal TypeInfo(global::System.IntPtr cPtr, bool cMemoryOwn) : base(NDalicPINVOKE.TypeInfo_SWIGUpcast(cPtr), cMemoryOwn) {
// the SWIG interface file instead.
//------------------------------------------------------------------------------
-namespace Tizen.NUI {\r
-\r
+namespace Tizen.NUI {
+
internal class TypeRegistration : global::System.IDisposable {
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
protected bool swigCMemOwn;
// the SWIG interface file instead.
//------------------------------------------------------------------------------
-namespace Tizen.NUI {\r
-\r
- public class TypeRegistry : BaseHandle {
+namespace Tizen.NUI {
+
+public class TypeRegistry : BaseHandle {
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
internal TypeRegistry(global::System.IntPtr cPtr, bool cMemoryOwn) : base(NDalicPINVOKE.TypeRegistry_SWIGUpcast(cPtr), cMemoryOwn) {
// the SWIG interface file instead.
//------------------------------------------------------------------------------
-namespace Tizen.NUI {\r
-\r
+namespace Tizen.NUI {
+
internal class Uint16Pair : global::System.IDisposable {
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
protected bool swigCMemOwn;
// the SWIG interface file instead.
//------------------------------------------------------------------------------
-namespace Tizen.NUI {\r
-\r
+namespace Tizen.NUI {
+
internal class VectorBase : global::System.IDisposable {
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
protected bool swigCMemOwn;
// the SWIG interface file instead.
//------------------------------------------------------------------------------
-namespace Tizen.NUI {\r
-\r
+namespace Tizen.NUI {
+
internal class VectorFloat : global::System.IDisposable {
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
protected bool swigCMemOwn;
// the SWIG interface file instead.
//------------------------------------------------------------------------------
-namespace Tizen.NUI {\r
-\r
+namespace Tizen.NUI {
+
internal class VectorUint16Pair : global::System.IDisposable {
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
protected bool swigCMemOwn;
// the SWIG interface file instead.
//------------------------------------------------------------------------------
-namespace Tizen.NUI {\r
-\r
+namespace Tizen.NUI {
+
internal class VectorUnsignedChar : global::System.IDisposable {
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
protected bool swigCMemOwn;
// the SWIG interface file instead.
//------------------------------------------------------------------------------
-namespace Tizen.NUI {\r
-\r
+namespace Tizen.NUI {
+
internal class VideoViewSignal : global::System.IDisposable {
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
protected bool swigCMemOwn;
// Do not make changes to this file unless you know what you are doing--modify
// the SWIG interface file instead.
//------------------------------------------------------------------------------
+#define DOT_NET_CORE\r
+
+#if (DOT_NET_CORE)
using System.Reflection;
+#endif
namespace Tizen.NUI\r
{\r
if (SwigDerivedClassHasMethod("SignalDisconnected", swigMethodTypes40))\r
swigDelegate40 = new SwigDelegateViewImpl_40(SwigDirectorSignalDisconnected);\r
NDalicPINVOKE.ViewImpl_director_connect(swigCPtr, swigDelegate0, swigDelegate1, swigDelegate2, swigDelegate3, swigDelegate4, swigDelegate5, swigDelegate6, swigDelegate7, swigDelegate8, swigDelegate9, swigDelegate10, swigDelegate11, swigDelegate12, swigDelegate13, swigDelegate14, swigDelegate15, swigDelegate16, swigDelegate17, swigDelegate18, swigDelegate19, swigDelegate20, swigDelegate21, swigDelegate22, swigDelegate23, swigDelegate24, swigDelegate25, swigDelegate26, swigDelegate27, swigDelegate28, swigDelegate29, swigDelegate30, swigDelegate31, swigDelegate32, swigDelegate33, swigDelegate34, swigDelegate35, swigDelegate36, swigDelegate37, swigDelegate38, swigDelegate39, swigDelegate40);\r
- }
-
+ }\r
+\r
+\r
+#if (DOT_NET_CORE)\r
private bool SwigDerivedClassHasMethod(string methodName, global::System.Type[] methodTypes)\r
{\r
global::System.Reflection.MethodInfo methodInfo = this.GetType().GetMethod(methodName, methodTypes);\r
Tizen.Log.Debug("NUI-APP", "hasDerivedMethod=" + hasDerivedMethod);\r
return hasDerivedMethod;\r
}\r
+#else\r
+ private bool SwigDerivedClassHasMethod(string methodName, global::System.Type[] methodTypes)\r
+ {\r
+ global::System.Reflection.MethodInfo methodInfo = this.GetType().GetMethod(methodName, global::System.Reflection.BindingFlags.Public | global::System.Reflection.BindingFlags.NonPublic | global::System.Reflection.BindingFlags.Instance, null, methodTypes, null);\r
+ bool hasDerivedMethod = methodInfo.DeclaringType.IsSubclassOf(typeof(ViewImpl));\r
+ return hasDerivedMethod;\r
+ }\r
+#endif\r
\r
private void SwigDirectorOnStageConnection(int depth)\r
{\r
// the SWIG interface file instead.
//------------------------------------------------------------------------------
-namespace Tizen.NUI {\r
-\r
+namespace Tizen.NUI {
+
internal enum ViewMode {
MONO,
STEREO_HORIZONTAL,
-using System;
+#define DOT_NET_CORE
+
+using System;
using System.Runtime.InteropServices;
using System.Collections.Generic;
-using System.Reflection;\r
-\r
+#if (DOT_NET_CORE)
+using System.Reflection;
+#endif
namespace Tizen.NUI
{\r
/// in MyControl.h
/// class MyControl : public Control
/// {
- /// struct Property
+ /// struct Property
+ /// {
+ /// enum
/// {
- /// enum
- /// {
- /// HOURS = Control::CONTROL_PROPERTY_END_INDEX + 1
- /// }
- /// }
- ///
+ /// HOURS = Control::CONTROL_PROPERTY_END_INDEX + 1
+ /// }
+ /// }
+ /// }
///
/// in MyControl-impl.cpp
///
private PropertyRangeManager _propertyRangeManager;\r
\r
/// <summary>
- /// Given a C++ custom control the dictionary allows us to find what CustomView it belongs to
+ /// Given a C++ control the dictionary allows us to find which C# control (View) it belongs to.
+ /// By keeping the weak reference only, it will allow the object to be garbage collected.
/// </summary>
- private Dictionary<IntPtr, Tizen.NUI.CustomView> _controlMap;\r
+ private Dictionary<IntPtr, WeakReference> _controlMap;\r
\r
///<summary>
// Maps the name of a custom view to a create instance function\r
_getPropertyCallback = new GetPropertyDelegate(GetProperty);\r
_setPropertyCallback = new SetPropertyDelegate(SetProperty);\r
\r
- _controlMap = new Dictionary<IntPtr, CustomView>();\r
+ _controlMap = new Dictionary<IntPtr, WeakReference>();\r
_constructorMap = new Dictionary<string, Func<CustomView>>();\r
_propertyRangeManager = new PropertyRangeManager();\r
\r
}\r
\r
/// <summary>
- /// Called directly from DALi C++ type registry to create a control (View) uses no marshalling.
+ /// Called directly from DALi C++ type registry to create a control (View) using no marshalling.
/// </summary>
/// <returns>Pointer to the Control (Views) handle </returns>
/// <param name="cPtrControlName"> C pointer to the Control (View) name</param>
{\r
// Create the control\r
CustomView newControl = controlConstructor();\r
-\r
- // Store the mapping between this instance of the custom control and native part\r
- // We store a pointer to the RefObject for the control\r
- IntPtr cPtr = newControl.GetPtrfromActor();\r
- RefObject refObj = newControl.GetObjectPtr();\r
- IntPtr refCptr = (IntPtr)RefObject.getCPtr(refObj);\r
-\r
- //Console.WriteLine ("________Storing ref object cptr in control map Hex: {0:X}", refCptr);\r
- Instance._controlMap.Add(refCptr, newControl);\r
-\r
- return cPtr; // return pointer to handle\r
+ return newControl.GetPtrfromActor(); // return pointer to handle\r
}\r
else\r
{\r
}\r
}\r
\r
+ /// <summary>
+ /// Store the mapping between this instance of control (View) and native part.
+ /// </summary>
+ /// <param name="view"> The instance of control (View)</param>
+ public static void RegisterView(View view)\r
+ {\r
+ // We store a pointer to the RefObject for the control\r
+ RefObject refObj = view.GetObjectPtr();\r
+ IntPtr refCptr = (IntPtr)RefObject.getCPtr(refObj);\r
+\r
+ //Console.WriteLine ("________Storing ref object cptr in control map Hex: {0:X}", refCptr);\r
+ if (!Instance._controlMap.ContainsKey(refCptr))\r
+ {\r
+ Instance._controlMap.Add(refCptr, new WeakReference(view, false));\r
+ }\r
+\r
+ return;\r
+ }\r
+\r
+ /// <summary>
+ /// Remove the this instance of control (View) and native part from the mapping table.
+ /// </summary>
+ /// <param name="view"> The instance of control (View)</param>
+ public static void UnregisterView(View view)\r
+ {\r
+ RefObject refObj = view.GetObjectPtr();\r
+ IntPtr refCptr = (IntPtr)RefObject.getCPtr(refObj);\r
+\r
+ if (Instance._controlMap.ContainsKey(refCptr))\r
+ {\r
+ Instance._controlMap.Remove(refCptr);\r
+ }\r
+\r
+ return;\r
+ }\r
+\r
private static IntPtr GetProperty(IntPtr controlPtr, IntPtr propertyName)\r
{\r
string name = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(propertyName);\r
}\r
}\r
\r
- public static CustomView GetCustomViewFromActor(Actor actor)\r
+ public static View GetViewFromActor(Actor actor)\r
{\r
// we store a dictionary of ref-obects (C++ land) to custom views (C# land)\r
- Tizen.NUI.CustomView view;\r
\r
RefObject refObj = actor.GetObjectPtr();\r
IntPtr refObjectPtr = (IntPtr)RefObject.getCPtr(refObj);\r
\r
- if (Instance._controlMap.TryGetValue(refObjectPtr, out view))\r
+ WeakReference viewReference;\r
+ if (Instance._controlMap.TryGetValue(refObjectPtr, out viewReference))\r
{\r
-\r
- // call the get property function\r
-\r
+ View view = viewReference.Target as View;\r
return view;\r
}\r
else\r
{\r
\r
if (propertyInfo.CanRead)\r
- {
+ {\r
+#if (DOT_NET_CORE)
IEnumerable<Attribute> ie_attrs = propertyInfo.GetCustomAttributes<Attribute>();\r
List<Attribute> li_attrs = new List<Attribute>(ie_attrs);\r
System.Attribute[] attrs = li_attrs.ToArray();\r
+#else\r
+ System.Attribute[] attrs = System.Attribute.GetCustomAttributes(propertyInfo);\r
+#endif\r
\r
foreach (System.Attribute attr in attrs)\r
{\r
private IntPtr GetPropertyValue(IntPtr controlPtr, string propertyName)\r
{\r
// Get the C# control that maps to the C++ control\r
- Tizen.NUI.CustomView view;\r
-\r
BaseHandle baseHandle = new BaseHandle(controlPtr, false);\r
\r
RefObject refObj = baseHandle.GetObjectPtr();\r
\r
IntPtr refObjectPtr = (IntPtr)RefObject.getCPtr(refObj);\r
\r
- if (_controlMap.TryGetValue(refObjectPtr, out view))\r
+ WeakReference viewReference;\r
+ if (_controlMap.TryGetValue(refObjectPtr, out viewReference))\r
{\r
+ View view = viewReference.Target as View;\r
\r
// call the get property function\r
System.Object val = view.GetType().GetProperty(propertyName).GetAccessors()[0].Invoke(view, null);\r
private void SetPropertyValue(IntPtr controlPtr, string propertyName, IntPtr propertyValuePtr)\r
{\r
// Get the C# control that maps to the C++ control\r
- Tizen.NUI.CustomView view;\r
\r
//Console.WriteLine ("SetPropertyValue refObjectPtr = {0:X}", controlPtr);\r
\r
PropertyValue propValue = new PropertyValue(propertyValuePtr, false);\r
\r
- if (_controlMap.TryGetValue(controlPtr, out view))\r
+ WeakReference viewReference;\r
+ if (_controlMap.TryGetValue(controlPtr, out viewReference))\r
{\r
-\r
+ View view = viewReference.Target as View;\r
System.Reflection.PropertyInfo propertyInfo = view.GetType().GetProperty(propertyName);\r
\r
// We know the property name, we know it's type, we just need to convert from a DALi property value to native C# type\r
}\r
else if (type.Equals(typeof(Size)))\r
{\r
- // DALi sizes are Vector3\r
Size value = new Size();\r
ok = propValue.Get(value);\r
if (ok)\r
public delegate bool OnAccessibilityZoomDelegate();
public delegate void OnKeyInputFocusGainedDelegate();
public delegate void OnKeyInputFocusLostDelegate();
- public delegate View GetNextFocusableViewDelegate(View currentFocusedView, View.FocusDirection direction, bool loopEnabled);
- public delegate void OnFocusChangeCommittedDelegate(View commitedFocusableView);
+ public delegate Actor GetNextKeyboardFocusableActorDelegate(Actor currentFocusedActor, View.FocusDirection direction, bool loopEnabled);
+ public delegate void OnKeyboardFocusChangeCommittedDelegate(Actor commitedFocusableActor);
public delegate bool OnKeyboardEnterDelegate();
public delegate void OnPinchDelegate(PinchGesture pinch);
public delegate void OnPanDelegate(PanGesture pan);
public delegate void OnTapDelegate(TapGesture tap);
public delegate void OnLongPressDelegate(LongPressGesture longPress);
- internal delegate void SignalConnectedDelegate(SlotObserver slotObserver, SWIGTYPE_p_Dali__CallbackBase callback);
- internal delegate void SignalDisconnectedDelegate(SlotObserver slotObserver, SWIGTYPE_p_Dali__CallbackBase callback);
public OnStageConnectionDelegate OnStageConnection;
public OnStageDisconnectionDelegate OnStageDisconnection;
public OnAccessibilityZoomDelegate OnAccessibilityZoom;
public OnKeyInputFocusGainedDelegate OnKeyInputFocusGained;
public OnKeyInputFocusLostDelegate OnKeyInputFocusLost;
- public GetNextFocusableViewDelegate GetNextFocusableView;
- public OnFocusChangeCommittedDelegate OnFocusChangeCommitted;
+ public GetNextKeyboardFocusableActorDelegate GetNextKeyboardFocusableActor;
+ public OnKeyboardFocusChangeCommittedDelegate OnKeyboardFocusChangeCommitted;
public OnKeyboardEnterDelegate OnKeyboardEnter;
public OnPinchDelegate OnPinch;
public OnPanDelegate OnPan;
public OnTapDelegate OnTap;
public OnLongPressDelegate OnLongPress;
- internal SignalConnectedDelegate SignalConnected;
- internal SignalDisconnectedDelegate SignalDisconnected;
internal ViewWrapperImpl(global::System.IntPtr cPtr, bool cMemoryOwn) : base(NDalicManualPINVOKE.ViewWrapperImpl_SWIGUpcast(cPtr), cMemoryOwn)
{
}
}
- public ViewWrapperImpl(ViewBehaviour behaviourFlags) : this(NDalicManualPINVOKE.new_ViewWrapperImpl((int)behaviourFlags), true)
+ public ViewWrapperImpl(CustomViewBehaviour behaviourFlags) : this(NDalicManualPINVOKE.new_ViewWrapperImpl((int)behaviourFlags), true)
{
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
DirectorConnect();
private void DirectorOnStyleChange(global::System.IntPtr styleManager, int change)
{
- OnStyleChange(new StyleManager(styleManager, false), (StyleChangeType)change);
+ if (OnStyleChange != null)
+ {
+ OnStyleChange(new StyleManager(styleManager, false), (StyleChangeType)change);
+ }
}
private bool DirectorOnAccessibilityActivated()
OnLongPress(new LongPressGesture(longPress, false));
}
- private void DirectorSignalConnected(global::System.IntPtr slotObserver, global::System.IntPtr callback)
- {
- SignalConnected((slotObserver == global::System.IntPtr.Zero) ? null : new SlotObserver(slotObserver, false), (callback == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_Dali__CallbackBase(callback, false));
- }
-
- private void DirectorSignalDisconnected(global::System.IntPtr slotObserver, global::System.IntPtr callback)
- {
- SignalDisconnected((slotObserver == global::System.IntPtr.Zero) ? null : new SlotObserver(slotObserver, false), (callback == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_Dali__CallbackBase(callback, false));
- }
-
public delegate void DelegateViewWrapperImpl_0(int depth);
public delegate void DelegateViewWrapperImpl_1();
public delegate void DelegateViewWrapperImpl_2(global::System.IntPtr child);
private DelegateViewWrapperImpl_39 Delegate39;
private DelegateViewWrapperImpl_40 Delegate40;
- public enum CustomViewBehaviour
- {
- VIEW_BEHAVIOUR_DEFAULT = 0,
- DISABLE_SIZE_NEGOTIATION = 1 << 0,
- REQUIRES_KEYBOARD_NAVIGATION_SUPPORT = 1 << 5,
- DISABLE_STYLE_CHANGE_SIGNALS = 1 << 6,
- LAST_VIEW_BEHAVIOUR_FLAG
- }
-
public static readonly int VIEW_BEHAVIOUR_FLAG_COUNT = NDalicManualPINVOKE.ViewWrapperImpl_CONTROL_BEHAVIOUR_FLAG_COUNT_get();
}
}
// the SWIG interface file instead.
//------------------------------------------------------------------------------
-namespace Tizen.NUI {\r
-\r
- public enum VisualTransformPropertyType {
+namespace Tizen.NUI {
+
+public enum VisualTransformPropertyType {
OFFSET,
SIZE,
ORIGIN,
// the SWIG interface file instead.
//------------------------------------------------------------------------------
-namespace Tizen.NUI {\r
-\r
+namespace Tizen.NUI {
+
internal enum VisualType {
BORDER,
COLOR,
// the SWIG interface file instead.
//------------------------------------------------------------------------------
-namespace Tizen.NUI {\r
-\r
+namespace Tizen.NUI {
+
internal class VoidSignal : global::System.IDisposable {
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
protected bool swigCMemOwn;
// the SWIG interface file instead.
//------------------------------------------------------------------------------
-namespace Tizen.NUI {\r
-\r
+namespace Tizen.NUI {
+
internal enum WrapModeType {
DEFAULT = 0,
CLAMP_TO_EDGE,
+++ /dev/null
-/** 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.
-*
-*/
-
-namespace System
-{
- public class ApplicationException : Exception
- {
- public ApplicationException()
- {
- new global::System.InvalidCastException();
- }
-
- public ApplicationException(string message)
- {
- new global::System.InvalidCastException(message);
- }
-
- public ApplicationException(string message, Exception innerException)
- {
- new global::System.InvalidCastException(message, innerException);
- }
- }
-
- public class SystemException : Exception
- {
- public SystemException()
- {
- new global::System.InvalidCastException();
- }
-
- public SystemException(string message)
- {
- new global::System.InvalidCastException(message);
- }
-
- public SystemException(string message, Exception innerException)
- {
- new global::System.InvalidCastException(message, innerException);
- }
- }
-}
--- /dev/null
+/** Copyright (c) 2017 Samsung Electronics Co., Ltd.\r
+*\r
+* Licensed under the Apache License, Version 2.0 (the "License");\r
+* you may not use this file except in compliance with the License.\r
+* You may obtain a copy of the License at\r
+*\r
+* http://www.apache.org/licenses/LICENSE-2.0\r
+*\r
+* Unless required by applicable law or agreed to in writing, software\r
+* distributed under the License is distributed on an "AS IS" BASIS,\r
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
+* See the License for the specific language governing permissions and\r
+* limitations under the License.\r
+*\r
+*/\r
+\r
+namespace System\r
+{\r
+ public class ApplicationException : Exception\r
+ {\r
+ public ApplicationException()\r
+ {\r
+ new global::System.InvalidCastException();\r
+ }\r
+\r
+ public ApplicationException(string message)\r
+ {\r
+ new global::System.InvalidCastException(message);\r
+ }\r
+\r
+ public ApplicationException(string message, Exception innerException)\r
+ {\r
+ new global::System.InvalidCastException(message, innerException);\r
+ }\r
+ }\r
+\r
+ public class SystemException : Exception\r
+ {\r
+ public SystemException()\r
+ {\r
+ new global::System.InvalidCastException();\r
+ }\r
+\r
+ public SystemException(string message)\r
+ {\r
+ new global::System.InvalidCastException(message);\r
+ }\r
+\r
+ public SystemException(string message, Exception innerException)\r
+ {\r
+ new global::System.InvalidCastException(message, innerException);\r
+ }\r
+ }\r
+}\r
--- /dev/null
+// ==++==\r
+// \r
+// Copyright (c) Microsoft Corporation. All rights reserved.\r
+// \r
+// ==--==\r
+namespace System.Runtime.InteropServices\r
+{\r
+\r
+ using System;\r
+\r
+ [System.Runtime.InteropServices.ComVisible(true)]\r
+ public struct HandleRef\r
+ {\r
+\r
+ // ! Do not add or rearrange fields as the EE depends on this layout.\r
+ //------------------------------------------------------------------\r
+ internal Object m_wrapper;\r
+ internal IntPtr m_handle;\r
+ //------------------------------------------------------------------\r
+\r
+\r
+ public HandleRef(Object wrapper, IntPtr handle)\r
+ {\r
+ m_wrapper = wrapper;\r
+ m_handle = handle;\r
+ }\r
+\r
+ public Object Wrapper\r
+ {\r
+ get\r
+ {\r
+ return m_wrapper;\r
+ }\r
+ }\r
+\r
+ public IntPtr Handle\r
+ {\r
+ get\r
+ {\r
+ return m_handle;\r
+ }\r
+ }\r
+\r
+\r
+ public static explicit operator IntPtr(HandleRef value)\r
+ {\r
+ return value.m_handle;\r
+ }\r
+\r
+ public static IntPtr ToIntPtr(HandleRef value)\r
+ {\r
+ return value.m_handle;\r
+ }\r
+ }\r
+}\r
// the SWIG interface file instead.
//------------------------------------------------------------------------------
-namespace Tizen.NUI {\r
-\r
+namespace Tizen.NUI {
+
internal class doublep : global::System.IDisposable {
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
protected bool swigCMemOwn;
// the SWIG interface file instead.
//------------------------------------------------------------------------------
-namespace Tizen.NUI {\r
-\r
+namespace Tizen.NUI {
+
internal class floatp : global::System.IDisposable {
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
protected bool swigCMemOwn;
+++ /dev/null
-// ==++==
-//
-// Copyright (c) Microsoft Corporation. All rights reserved.
-//
-// ==--==
-namespace System.Runtime.InteropServices
-{
-
- using System;
-
- [System.Runtime.InteropServices.ComVisible(true)]
- public struct HandleRef
- {
-
- // ! Do not add or rearrange fields as the EE depends on this layout.
- //------------------------------------------------------------------
- internal Object m_wrapper;
- internal IntPtr m_handle;
- //------------------------------------------------------------------
-
-
- public HandleRef(Object wrapper, IntPtr handle)
- {
- m_wrapper = wrapper;
- m_handle = handle;
- }
-
- public Object Wrapper {
- get {
- return m_wrapper;
- }
- }
-
- public IntPtr Handle {
- get {
- return m_handle;
- }
- }
-
-
- public static explicit operator IntPtr(HandleRef value)
- {
- return value.m_handle;
- }
-
- public static IntPtr ToIntPtr(HandleRef value)
- {
- return value.m_handle;
- }
- }
-}
// the SWIG interface file instead.
//------------------------------------------------------------------------------
-namespace Tizen.NUI {\r
-\r
+namespace Tizen.NUI {
+
internal class intp : global::System.IDisposable {
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
protected bool swigCMemOwn;
// the SWIG interface file instead.
//------------------------------------------------------------------------------
-namespace Tizen.NUI {\r
-\r
+namespace Tizen.NUI {
+
internal class uintp : global::System.IDisposable {
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
protected bool swigCMemOwn;
// the SWIG interface file instead.
//------------------------------------------------------------------------------
-namespace Tizen.NUI {\r
-\r
+namespace Tizen.NUI {
+
internal class ushortp : global::System.IDisposable {
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
protected bool swigCMemOwn;
-// Copyright (c) 2016 Samsung Electronics Co., Ltd All Rights Reserved\r
-// PROPRIETARY/CONFIDENTIAL \r
-// This software is the confidential and proprietary\r
-// information of SAMSUNG ELECTRONICS ("Confidential Information"). You shall\r
-// not disclose such Confidential Information and shall use it only in\r
-// accordance with the terms of the license agreement you entered into with\r
-// SAMSUNG ELECTRONICS. SAMSUNG make no representations or warranties about the\r
-// suitability of the software, either express or implied, including but not\r
-// limited to the implied warranties of merchantability, fitness for a\r
-// particular purpose, or non-infringement. SAMSUNG shall not be liable for any\r
-// damages suffered by licensee as a result of using, modifying or distributing\r
-// this software or its derivatives.\r
-\r
-// Copyright (c) 2017 Samsung Electronics Co., Ltd.\r
-//\r
-// Licensed under the Apache License, Version 2.0 (the "License");\r
-// you may not use this file except in compliance with the License.\r
-// You may obtain a copy of the License at\r
-//\r
-// http://www.apache.org/licenses/LICENSE-2.0\r
+/** Copyright (c) 2017 Samsung Electronics Co., Ltd.\r
+*\r
+* Licensed under the Apache License, Version 2.0 (the "License");\r
+* you may not use this file except in compliance with the License.\r
+* You may obtain a copy of the License at\r
+*\r
+* http://www.apache.org/licenses/LICENSE-2.0\r
+*\r
+* Unless required by applicable law or agreed to in writing, software\r
+* distributed under the License is distributed on an "AS IS" BASIS,\r
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
+* See the License for the specific language governing permissions and\r
+* limitations under the License.\r
+*\r
+*/\r
+// This File has been auto-generated by SWIG and then modified using DALi Ruby Scripts\r
+//------------------------------------------------------------------------------\r
+// <auto-generated />\r
//\r
-// Unless required by applicable law or agreed to in writing, software\r
-// distributed under the License is distributed on an "AS IS" BASIS,\r
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
-// See the License for the specific language governing permissions and\r
-// limitations under the License.\r
+// This file was automatically generated by SWIG (http://www.swig.org).\r
+// Version 3.0.9\r
//\r
-\r
-// This File has been auto-generated by SWIG and then modified using DALi Ruby Scripts\r
-// Some have been manually changed\r
+// Do not make changes to this file unless you know what you are doing--modify\r
+// the SWIG interface file instead.\r
+//------------------------------------------------------------------------------\r
\r
namespace Tizen.NUI\r
{\r
return (IntPtr)swigCPtr;\r
}\r
\r
+ public Position CurrentPosition\r
+ {\r
+ get\r
+ {\r
+ return GetCurrentPosition();\r
+ }\r
+ }\r
+ public Size CurrentSize\r
+ {\r
+ get\r
+ {\r
+ return GetCurrentSize();\r
+ }\r
+ }\r
+\r
public Actor Parent\r
{\r
get\r
}\r
}\r
\r
+ public Vector2 ScreenPosition\r
+ {\r
+ get\r
+ {\r
+ Vector2 temp = new Vector2(0.0f, 0.0f);\r
+ GetProperty(Actor.Property.SCREEN_POSITION).Get(temp);\r
+ return temp;\r
+ }\r
+ }\r
+\r
+ protected bool PositionUsesAnchorPoint\r
+ {\r
+ get\r
+ {\r
+ bool temp = false;\r
+ GetProperty(Actor.Property.POSITION_USES_ANCHOR_POINT).Get(ref temp);\r
+ return temp;\r
+ }\r
+ set\r
+ {\r
+ SetProperty(Actor.Property.POSITION_USES_ANCHOR_POINT, new Tizen.NUI.PropertyValue(value));\r
+ }\r
+ }\r
+\r
public bool IsOnStage\r
{\r
get\r
}\r
}\r
\r
+ public Size2D Size2D\r
+ {\r
+ get\r
+ {\r
+ Size temp = new Size(0.0f, 0.0f, 0.0f);\r
+ GetProperty(Actor.Property.SIZE).Get(temp);\r
+ return new Size2D(temp);\r
+ }\r
+ set\r
+ {\r
+ SetProperty(Actor.Property.SIZE, new PropertyValue(new Size(value)));\r
+ }\r
+ }\r
+\r
+ public Position2D Position2D\r
+ {\r
+ get\r
+ {\r
+ Position temp = new Position(0.0f, 0.0f, 0.0f);\r
+ GetProperty(Actor.Property.POSITION).Get(temp);\r
+ return new Position2D(temp);\r
+ }\r
+ set\r
+ {\r
+ SetProperty(Actor.Property.POSITION, new PropertyValue(new Position(value)));\r
+ }\r
+ }\r
+\r
+\r
public void Show()\r
{\r
SetVisible(true);\r
SetVisible(false);\r
}\r
\r
+ public void Raise()\r
+ {\r
+ NDalicPINVOKE.Raise(swigCPtr);\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ }\r
+\r
+ public void Lower()\r
+ {\r
+ NDalicPINVOKE.Lower(swigCPtr);\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ }\r
+\r
+ public void RaiseToTop()\r
+ {\r
+ NDalicPINVOKE.RaiseToTop(swigCPtr);\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ }\r
+\r
+ public void LowerToBottom()\r
+ {\r
+ NDalicPINVOKE.LowerToBottom(swigCPtr);\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ }\r
+\r
+ public void RaiseAbove(Actor target)\r
+ {\r
+ NDalicPINVOKE.RaiseAbove(swigCPtr, Actor.getCPtr(target));\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ }\r
+\r
+ public void LowerBelow(Actor target)\r
+ {\r
+ NDalicPINVOKE.RaiseAbove(swigCPtr, Actor.getCPtr(target));\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ }\r
+\r
+\r
internal class Property : global::System.IDisposable\r
{\r
private global::System.Runtime.InteropServices.HandleRef swigCPtr;\r
\r
internal static readonly int SIBLING_ORDER = NDalicManualPINVOKE.Actor_Property_SIBLING_ORDER_get();\r
internal static readonly int OPACITY = NDalicManualPINVOKE.Actor_Property_OPACITY_get();\r
+ internal static readonly int SCREEN_POSITION = NDalicManualPINVOKE.Actor_Property_SCREEN_POSITION_get();\r
+ internal static readonly int POSITION_USES_ANCHOR_POINT = NDalicManualPINVOKE.Actor_Property_POSITION_USES_ANCHOR_POINT_get();\r
\r
internal Property() : this(NDalicPINVOKE.new_Actor_Property(), true)\r
{\r
return ret;\r
}\r
\r
- internal void SetSizeModeFactor(Vector3 factor)\r
+ public void SetSizeModeFactor(Vector3 factor)\r
{\r
NDalicPINVOKE.Actor_SetSizeModeFactor(swigCPtr, Vector3.getCPtr(factor));\r
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
SetProperty(Actor.Property.ANCHOR_POINT, new Tizen.NUI.PropertyValue(value));\r
}\r
}\r
- public Size CurrentSize\r
- {\r
- get\r
- {\r
- return GetCurrentSize();\r
- }\r
- } \r
public Size Size\r
{\r
get\r
{\r
- Size temp = new Size(0.0f, 0.0f, 0.0f);\r
+ Size temp = new Size(0.0f, 0.0f, 0.0f);\r
GetProperty(Actor.Property.SIZE).Get(temp);\r
return temp;\r
}\r
SetProperty(Actor.Property.SIZE_DEPTH, new Tizen.NUI.PropertyValue(value));\r
}\r
}\r
- public Position CurrentPosition\r
- {\r
- get\r
- {\r
- return GetCurrentPosition();\r
- }\r
- }\r
public Position Position\r
{\r
get\r
{\r
- Position temp = new Position(0.0f, 0.0f, 0.0f);\r
+ Position temp = new Position(0.0f, 0.0f, 0.0f);\r
GetProperty(Actor.Property.POSITION).Get(temp);\r
return temp;\r
}\r
{\r
get\r
{\r
- Size2D temp = new Size2D(0.0f, 0.0f);\r
+ Size2D temp = new Size2D(0, 0);\r
GetProperty(Actor.Property.MINIMUM_SIZE).Get(temp);\r
return temp;\r
}\r
{\r
get\r
{\r
- Size2D temp = new Size2D(0.0f, 0.0f);\r
+ Size2D temp = new Size2D(0, 0);\r
GetProperty(Actor.Property.MAXIMUM_SIZE).Get(temp);\r
return temp;\r
}\r
}\r
\r
}\r
- //changed\r
+\r
public enum ColorMode\r
{\r
UseOwnColor,\r
UseParentColor,\r
UseOwnMultiplyParentColor,\r
UseOwnMultiplyParentAlpha\r
- }\r
+ }\r
\r
public enum DimensionType\r
{\r
Width = 0x1,\r
Height = 0x2,\r
AllDimensions = 0x3\r
- }\r
-\r
+ }\r
public enum DrawModeType\r
{\r
Normal = 0,\r
}\r
\r
}\r
-\r
-// Copyright (c) 2016 Samsung Electronics Co., Ltd All Rights Reserved\r
-// PROPRIETARY/CONFIDENTIAL \r
-// This software is the confidential and proprietary\r
-// information of SAMSUNG ELECTRONICS ("Confidential Information"). You shall\r
-// not disclose such Confidential Information and shall use it only in\r
-// accordance with the terms of the license agreement you entered into with\r
-// SAMSUNG ELECTRONICS. SAMSUNG make no representations or warranties about the\r
-// suitability of the software, either express or implied, including but not\r
-// limited to the implied warranties of merchantability, fitness for a\r
-// particular purpose, or non-infringement. SAMSUNG shall not be liable for any\r
-// damages suffered by licensee as a result of using, modifying or distributing\r
-// this software or its derivatives.\r
-\r
-// Copyright (c) 2017 Samsung Electronics Co., Ltd.\r
+//------------------------------------------------------------------------------\r
+// <auto-generated />\r
//\r
-// Licensed under the Apache License, Version 2.0 (the "License");\r
-// you may not use this file except in compliance with the License.\r
-// You may obtain a copy of the License at\r
+// This file was automatically generated by SWIG (http://www.swig.org).\r
+// Version 3.0.9\r
//\r
-// http://www.apache.org/licenses/LICENSE-2.0\r
-//
-// Unless required by applicable law or agreed to in writing, software\r
-// distributed under the License is distributed on an "AS IS" BASIS,\r
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
-// See the License for the specific language governing permissions and\r
-// limitations under the License.\r
-//
-
-// This File has been auto-generated by SWIG and then modified using DALi Ruby Scripts\r
-// Some have been manually changed\r
+// Do not make changes to this file unless you know what you are doing--modify\r
+// the SWIG interface file instead.\r
+//------------------------------------------------------------------------------\r
\r
namespace Tizen.NUI\r
{\r
Bezier\r
}\r
\r
- }
-
-}
+ }\r
+\r
+}\r
-// Copyright (c) 2016 Samsung Electronics Co., Ltd All Rights Reserved\r
-// PROPRIETARY/CONFIDENTIAL \r
-// This software is the confidential and proprietary\r
-// information of SAMSUNG ELECTRONICS ("Confidential Information"). You shall\r
-// not disclose such Confidential Information and shall use it only in\r
-// accordance with the terms of the license agreement you entered into with\r
-// SAMSUNG ELECTRONICS. SAMSUNG make no representations or warranties about the\r
-// suitability of the software, either express or implied, including but not\r
-// limited to the implied warranties of merchantability, fitness for a\r
-// particular purpose, or non-infringement. SAMSUNG shall not be liable for any\r
-// damages suffered by licensee as a result of using, modifying or distributing\r
-// this software or its derivatives.\r
-\r
-// Copyright (c) 2017 Samsung Electronics Co., Ltd.\r
+/** Copyright (c) 2017 Samsung Electronics Co., Ltd.\r
+*\r
+* Licensed under the Apache License, Version 2.0 (the "License");\r
+* you may not use this file except in compliance with the License.\r
+* You may obtain a copy of the License at\r
+*\r
+* http://www.apache.org/licenses/LICENSE-2.0\r
+*\r
+* Unless required by applicable law or agreed to in writing, software\r
+* distributed under the License is distributed on an "AS IS" BASIS,\r
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
+* See the License for the specific language governing permissions and\r
+* limitations under the License.\r
+*\r
+*/\r
+// This File has been auto-generated by SWIG and then modified using DALi Ruby Scripts\r
+//------------------------------------------------------------------------------\r
+// <auto-generated />\r
//\r
-// Licensed under the Apache License, Version 2.0 (the "License");\r
-// you may not use this file except in compliance with the License.\r
-// You may obtain a copy of the License at\r
+// This file was automatically generated by SWIG (http://www.swig.org).\r
+// Version 3.0.9\r
//\r
-// http://www.apache.org/licenses/LICENSE-2.0\r
-//
-// Unless required by applicable law or agreed to in writing, software\r
-// distributed under the License is distributed on an "AS IS" BASIS,\r
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
-// See the License for the specific language governing permissions and\r
-// limitations under the License.\r
-//
-
-// This File has been auto-generated by SWIG and then modified using DALi Ruby Scripts\r
-// Some have been manually changed\r
+// Do not make changes to this file unless you know what you are doing--modify\r
+// the SWIG interface file instead.\r
+//------------------------------------------------------------------------------\r
\r
namespace Tizen.NUI\r
{\r
Paused\r
}\r
\r
- }
-
-}
+ }\r
+\r
+}\r
-// Copyright (c) 2016 Samsung Electronics Co., Ltd All Rights Reserved\r
-// PROPRIETARY/CONFIDENTIAL \r
-// This software is the confidential and proprietary\r
-// information of SAMSUNG ELECTRONICS ("Confidential Information"). You shall\r
-// not disclose such Confidential Information and shall use it only in\r
-// accordance with the terms of the license agreement you entered into with\r
-// SAMSUNG ELECTRONICS. SAMSUNG make no representations or warranties about the\r
-// suitability of the software, either express or implied, including but not\r
-// limited to the implied warranties of merchantability, fitness for a\r
-// particular purpose, or non-infringement. SAMSUNG shall not be liable for any\r
-// damages suffered by licensee as a result of using, modifying or distributing\r
-// this software or its derivatives.\r
-\r
-// Copyright (c) 2017 Samsung Electronics Co., Ltd.\r
+//------------------------------------------------------------------------------\r
+// <auto-generated />\r
//\r
-// Licensed under the Apache License, Version 2.0 (the "License");\r
-// you may not use this file except in compliance with the License.\r
-// You may obtain a copy of the License at\r
+// This file was automatically generated by SWIG (http://www.swig.org).\r
+// Version 3.0.9\r
//\r
-// http://www.apache.org/licenses/LICENSE-2.0\r
-//\r
-// Unless required by applicable law or agreed to in writing, software\r
-// distributed under the License is distributed on an "AS IS" BASIS,\r
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
-// See the License for the specific language governing permissions and\r
-// limitations under the License.\r
-//\r
-\r
-// This File has been auto-generated by SWIG and then modified using DALi Ruby Scripts\r
-// Some have been manually changed\r
+// Do not make changes to this file unless you know what you are doing--modify\r
+// the SWIG interface file instead.\r
+//------------------------------------------------------------------------------\r
\r
namespace Tizen.NUI\r
{\r
-// Copyright (c) 2016 Samsung Electronics Co., Ltd All Rights Reserved
-// PROPRIETARY/CONFIDENTIAL
-// This software is the confidential and proprietary
-// information of SAMSUNG ELECTRONICS ("Confidential Information"). You shall
-// not disclose such Confidential Information and shall use it only in
-// accordance with the terms of the license agreement you entered into with
-// SAMSUNG ELECTRONICS. SAMSUNG make no representations or warranties about the
-// suitability of the software, either express or implied, including but not
-// limited to the implied warranties of merchantability, fitness for a
-// particular purpose, or non-infringement. SAMSUNG shall not be liable for any
-// damages suffered by licensee as a result of using, modifying or distributing
-// this software or its derivatives.
-
-// 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.
-//
-
-// This File has been auto-generated by SWIG and then modified using DALi Ruby Scripts
-// Some have been manually changed
-
-namespace Tizen.NUI
-{
-
- public class CameraActor : Actor
- {
- private global::System.Runtime.InteropServices.HandleRef swigCPtr;
-
- internal CameraActor(global::System.IntPtr cPtr, bool cMemoryOwn) : base(NDalicPINVOKE.CameraActor_SWIGUpcast(cPtr), cMemoryOwn)
- {
- swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
- }
-
- internal static global::System.Runtime.InteropServices.HandleRef getCPtr(CameraActor obj)
- {
- return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
- }
-
- ~CameraActor()
- {
- DisposeQueue.Instance.Add(this);
- }
-
- public override void Dispose()
- {
- if (!Stage.IsInstalled())
- {
- DisposeQueue.Instance.Add(this);
- return;
- }
-
- lock (this)
- {
- if (swigCPtr.Handle != global::System.IntPtr.Zero)
- {
- if (swigCMemOwn)
- {
- swigCMemOwn = false;
- NDalicPINVOKE.delete_CameraActor(swigCPtr);
- }
- swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
- }
- global::System.GC.SuppressFinalize(this);
- base.Dispose();
- }
- }
-
-
- internal class Property : global::System.IDisposable
- {
- private global::System.Runtime.InteropServices.HandleRef swigCPtr;
- protected bool swigCMemOwn;
-
- internal Property(global::System.IntPtr cPtr, bool cMemoryOwn)
- {
- swigCMemOwn = cMemoryOwn;
- swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
- }
-
- internal static global::System.Runtime.InteropServices.HandleRef getCPtr(Property obj)
- {
- return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
- }
-
- ~Property()
- {
- Dispose();
- }
-
- public virtual void Dispose()
- {
- lock (this)
- {
- if (swigCPtr.Handle != global::System.IntPtr.Zero)
- {
- if (swigCMemOwn)
- {
- swigCMemOwn = false;
- NDalicPINVOKE.delete_CameraActor_Property(swigCPtr);
- }
- swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
- }
- global::System.GC.SuppressFinalize(this);
- }
- }
-
- internal Property() : this(NDalicPINVOKE.new_CameraActor_Property(), true)
- {
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- }
-
- internal static readonly int TYPE = NDalicPINVOKE.CameraActor_Property_TYPE_get();
- internal static readonly int PROJECTION_MODE = NDalicPINVOKE.CameraActor_Property_PROJECTION_MODE_get();
- internal static readonly int FIELD_OF_VIEW = NDalicPINVOKE.CameraActor_Property_FIELD_OF_VIEW_get();
- internal static readonly int ASPECT_RATIO = NDalicPINVOKE.CameraActor_Property_ASPECT_RATIO_get();
- internal static readonly int NEAR_PLANE_DISTANCE = NDalicPINVOKE.CameraActor_Property_NEAR_PLANE_DISTANCE_get();
- internal static readonly int FAR_PLANE_DISTANCE = NDalicPINVOKE.CameraActor_Property_FAR_PLANE_DISTANCE_get();
- internal static readonly int LEFT_PLANE_DISTANCE = NDalicPINVOKE.CameraActor_Property_LEFT_PLANE_DISTANCE_get();
- internal static readonly int RIGHT_PLANE_DISTANCE = NDalicPINVOKE.CameraActor_Property_RIGHT_PLANE_DISTANCE_get();
- internal static readonly int TOP_PLANE_DISTANCE = NDalicPINVOKE.CameraActor_Property_TOP_PLANE_DISTANCE_get();
- internal static readonly int BOTTOM_PLANE_DISTANCE = NDalicPINVOKE.CameraActor_Property_BOTTOM_PLANE_DISTANCE_get();
- internal static readonly int TARGET_POSITION = NDalicPINVOKE.CameraActor_Property_TARGET_POSITION_get();
- internal static readonly int PROJECTION_MATRIX = NDalicPINVOKE.CameraActor_Property_PROJECTION_MATRIX_get();
- internal static readonly int VIEW_MATRIX = NDalicPINVOKE.CameraActor_Property_VIEW_MATRIX_get();
- internal static readonly int INVERT_Y_AXIS = NDalicPINVOKE.CameraActor_Property_INVERT_Y_AXIS_get();
-
- }
-
- public CameraActor() : this(NDalicPINVOKE.CameraActor_New__SWIG_0(), true)
- {
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
-
- }
- public CameraActor(Size2D size) : this(NDalicPINVOKE.CameraActor_New__SWIG_1(Size2D.getCPtr(size)), true)
- {
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
-
- }
- public new static CameraActor DownCast(BaseHandle handle)
- {
- CameraActor ret = new CameraActor(NDalicPINVOKE.CameraActor_DownCast(BaseHandle.getCPtr(handle)), true);
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- return ret;
- }
-
- internal CameraActor(CameraActor copy) : this(NDalicPINVOKE.new_CameraActor__SWIG_1(CameraActor.getCPtr(copy)), true)
- {
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- }
-
- internal CameraActor Assign(CameraActor rhs)
- {
- CameraActor ret = new CameraActor(NDalicPINVOKE.CameraActor_Assign(swigCPtr, CameraActor.getCPtr(rhs)), false);
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- return ret;
- }
-
- internal void SetType(CameraType type)
- {
- NDalicPINVOKE.CameraActor_SetType(swigCPtr, (int)type);
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- }
-
- internal CameraType GetType()
- {
- CameraType ret = (CameraType)NDalicPINVOKE.CameraActor_GetType(swigCPtr);
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- return ret;
- }
-
- internal void SetProjectionMode(ProjectionMode mode)
- {
- NDalicPINVOKE.CameraActor_SetProjectionMode(swigCPtr, (int)mode);
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- }
-
- internal ProjectionMode GetProjectionMode()
- {
- ProjectionMode ret = (ProjectionMode)NDalicPINVOKE.CameraActor_GetProjectionMode(swigCPtr);
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- return ret;
- }
-
- internal void SetFieldOfView(float fieldOfView)
- {
- NDalicPINVOKE.CameraActor_SetFieldOfView(swigCPtr, fieldOfView);
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- }
-
- internal float GetFieldOfView()
- {
- float ret = NDalicPINVOKE.CameraActor_GetFieldOfView(swigCPtr);
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- return ret;
- }
-
- internal void SetAspectRatio(float aspectRatio)
- {
- NDalicPINVOKE.CameraActor_SetAspectRatio(swigCPtr, aspectRatio);
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- }
-
- internal float GetAspectRatio()
- {
- float ret = NDalicPINVOKE.CameraActor_GetAspectRatio(swigCPtr);
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- return ret;
- }
-
- internal void SetNearClippingPlane(float nearClippingPlane)
- {
- NDalicPINVOKE.CameraActor_SetNearClippingPlane(swigCPtr, nearClippingPlane);
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- }
-
- internal float GetNearClippingPlane()
- {
- float ret = NDalicPINVOKE.CameraActor_GetNearClippingPlane(swigCPtr);
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- return ret;
- }
-
- internal void SetFarClippingPlane(float farClippingPlane)
- {
- NDalicPINVOKE.CameraActor_SetFarClippingPlane(swigCPtr, farClippingPlane);
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- }
-
- internal float GetFarClippingPlane()
- {
- float ret = NDalicPINVOKE.CameraActor_GetFarClippingPlane(swigCPtr);
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- return ret;
- }
-
- internal void SetTargetPosition(Vector3 targetPosition)
- {
- NDalicPINVOKE.CameraActor_SetTargetPosition(swigCPtr, Vector3.getCPtr(targetPosition));
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- }
-
- internal Vector3 GetTargetPosition()
- {
- Vector3 ret = new Vector3(NDalicPINVOKE.CameraActor_GetTargetPosition(swigCPtr), true);
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- return ret;
- }
-
- internal void SetInvertYAxis(bool invertYAxis)
- {
- NDalicPINVOKE.CameraActor_SetInvertYAxis(swigCPtr, invertYAxis);
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- }
-
- internal bool GetInvertYAxis()
- {
- bool ret = NDalicPINVOKE.CameraActor_GetInvertYAxis(swigCPtr);
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- return ret;
- }
-
- internal void SetPerspectiveProjection(Vector2 size)
- {
- NDalicPINVOKE.CameraActor_SetPerspectiveProjection(swigCPtr, Vector2.getCPtr(size));
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- }
-
- internal void SetOrthographicProjection(Vector2 size)
- {
- NDalicPINVOKE.CameraActor_SetOrthographicProjection__SWIG_0(swigCPtr, Vector2.getCPtr(size));
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- }
-
- internal void SetOrthographicProjection(float left, float right, float top, float bottom, float near, float far)
- {
- NDalicPINVOKE.CameraActor_SetOrthographicProjection__SWIG_1(swigCPtr, left, right, top, bottom, near, far);
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- }
-
- public string Type
- {
- get
- {
- string temp;
- GetProperty(CameraActor.Property.TYPE).Get(out temp);
- return temp;
- }
- set
- {
- SetProperty(CameraActor.Property.TYPE, new Tizen.NUI.PropertyValue(value));
- }
- }
- public string ProjectionMode
- {
- get
- {
- string temp;
- GetProperty(CameraActor.Property.PROJECTION_MODE).Get(out temp);
- return temp;
- }
- set
- {
- SetProperty(CameraActor.Property.PROJECTION_MODE, new Tizen.NUI.PropertyValue(value));
- }
- }
- public float FieldOfView
- {
- get
- {
- float temp = 0.0f;
- GetProperty(CameraActor.Property.FIELD_OF_VIEW).Get(ref temp);
- return temp;
- }
- set
- {
- SetProperty(CameraActor.Property.FIELD_OF_VIEW, new Tizen.NUI.PropertyValue(value));
- }
- }
- public float AspectRatio
- {
- get
- {
- float temp = 0.0f;
- GetProperty(CameraActor.Property.ASPECT_RATIO).Get(ref temp);
- return temp;
- }
- set
- {
- SetProperty(CameraActor.Property.ASPECT_RATIO, new Tizen.NUI.PropertyValue(value));
- }
- }
- public float NearPlaneDistance
- {
- get
- {
- float temp = 0.0f;
- GetProperty(CameraActor.Property.NEAR_PLANE_DISTANCE).Get(ref temp);
- return temp;
- }
- set
- {
- SetProperty(CameraActor.Property.NEAR_PLANE_DISTANCE, new Tizen.NUI.PropertyValue(value));
- }
- }
- public float FarPlaneDistance
- {
- get
- {
- float temp = 0.0f;
- GetProperty(CameraActor.Property.FAR_PLANE_DISTANCE).Get(ref temp);
- return temp;
- }
- set
- {
- SetProperty(CameraActor.Property.FAR_PLANE_DISTANCE, new Tizen.NUI.PropertyValue(value));
- }
- }
- public float LeftPlaneDistance
- {
- get
- {
- float temp = 0.0f;
- GetProperty(CameraActor.Property.LEFT_PLANE_DISTANCE).Get(ref temp);
- return temp;
- }
- set
- {
- SetProperty(CameraActor.Property.LEFT_PLANE_DISTANCE, new Tizen.NUI.PropertyValue(value));
- }
- }
- public float RightPlaneDistance
- {
- get
- {
- float temp = 0.0f;
- GetProperty(CameraActor.Property.RIGHT_PLANE_DISTANCE).Get(ref temp);
- return temp;
- }
- set
- {
- SetProperty(CameraActor.Property.RIGHT_PLANE_DISTANCE, new Tizen.NUI.PropertyValue(value));
- }
- }
- public float TopPlaneDistance
- {
- get
- {
- float temp = 0.0f;
- GetProperty(CameraActor.Property.TOP_PLANE_DISTANCE).Get(ref temp);
- return temp;
- }
- set
- {
- SetProperty(CameraActor.Property.TOP_PLANE_DISTANCE, new Tizen.NUI.PropertyValue(value));
- }
- }
- public float BottomPlaneDistance
- {
- get
- {
- float temp = 0.0f;
- GetProperty(CameraActor.Property.BOTTOM_PLANE_DISTANCE).Get(ref temp);
- return temp;
- }
- set
- {
- SetProperty(CameraActor.Property.BOTTOM_PLANE_DISTANCE, new Tizen.NUI.PropertyValue(value));
- }
- }
- public Position TargetPosition
- {
- get
- {
- Position temp = new Position(0.0f, 0.0f, 0.0f);
- GetProperty(CameraActor.Property.TARGET_POSITION).Get(temp);
- return temp;
- }
- set
- {
- SetProperty(CameraActor.Property.TARGET_POSITION, new Tizen.NUI.PropertyValue(value));
- }
- }
- internal Matrix ProjectionMatrix
- {
- get
- {
- Matrix temp = new Matrix();
- GetProperty(CameraActor.Property.PROJECTION_MATRIX).Get(temp);
- return temp;
- }
- }
-
- internal Matrix ViewMatrix
- {
- get
- {
- Matrix temp = new Matrix();
- GetProperty(CameraActor.Property.VIEW_MATRIX).Get(temp);
- return temp;
- }
- }
- public bool InvertYAxis
- {
- get
- {
- bool temp = false;
- GetProperty(CameraActor.Property.INVERT_Y_AXIS).Get(ref temp);
- return temp;
- }
- set
- {
- SetProperty(CameraActor.Property.INVERT_Y_AXIS, new Tizen.NUI.PropertyValue(value));
- }
- }
-
- }
-
- public enum CameraType
- {
- FreeLook,
- LookAtTarget
- }
-
- public enum ProjectionMode
- {
- PerspectiveProjection,
- OrthographicProjection
- }
-
-}
+/** Copyright (c) 2017 Samsung Electronics Co., Ltd.\r
+*\r
+* Licensed under the Apache License, Version 2.0 (the "License");\r
+* you may not use this file except in compliance with the License.\r
+* You may obtain a copy of the License at\r
+*\r
+* http://www.apache.org/licenses/LICENSE-2.0\r
+*\r
+* Unless required by applicable law or agreed to in writing, software\r
+* distributed under the License is distributed on an "AS IS" BASIS,\r
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
+* See the License for the specific language governing permissions and\r
+* limitations under the License.\r
+*\r
+*/\r
+// This File has been auto-generated by SWIG and then modified using DALi Ruby Scripts\r
+//------------------------------------------------------------------------------\r
+// <auto-generated />\r
+//\r
+// This file was automatically generated by SWIG (http://www.swig.org).\r
+// Version 3.0.9\r
+//\r
+// Do not make changes to this file unless you know what you are doing--modify\r
+// the SWIG interface file instead.\r
+//------------------------------------------------------------------------------\r
+\r
+namespace Tizen.NUI\r
+{\r
+\r
+ public class CameraActor : Actor\r
+ {\r
+ private global::System.Runtime.InteropServices.HandleRef swigCPtr;\r
+\r
+ internal CameraActor(global::System.IntPtr cPtr, bool cMemoryOwn) : base(NDalicPINVOKE.CameraActor_SWIGUpcast(cPtr), cMemoryOwn)\r
+ {\r
+ swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);\r
+ }\r
+\r
+ internal static global::System.Runtime.InteropServices.HandleRef getCPtr(CameraActor obj)\r
+ {\r
+ return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;\r
+ }\r
+\r
+ ~CameraActor()\r
+ {\r
+ DisposeQueue.Instance.Add(this);\r
+ }\r
+\r
+ public override void Dispose()\r
+ {\r
+ if (!Stage.IsInstalled())\r
+ {\r
+ DisposeQueue.Instance.Add(this);\r
+ return;\r
+ }\r
+\r
+ lock (this)\r
+ {\r
+ if (swigCPtr.Handle != global::System.IntPtr.Zero)\r
+ {\r
+ if (swigCMemOwn)\r
+ {\r
+ swigCMemOwn = false;\r
+ NDalicPINVOKE.delete_CameraActor(swigCPtr);\r
+ }\r
+ swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);\r
+ }\r
+ global::System.GC.SuppressFinalize(this);\r
+ base.Dispose();\r
+ }\r
+ }\r
+\r
+\r
+ internal class Property : global::System.IDisposable\r
+ {\r
+ private global::System.Runtime.InteropServices.HandleRef swigCPtr;\r
+ protected bool swigCMemOwn;\r
+\r
+ internal Property(global::System.IntPtr cPtr, bool cMemoryOwn)\r
+ {\r
+ swigCMemOwn = cMemoryOwn;\r
+ swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);\r
+ }\r
+\r
+ internal static global::System.Runtime.InteropServices.HandleRef getCPtr(Property obj)\r
+ {\r
+ return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;\r
+ }\r
+\r
+ ~Property()\r
+ {\r
+ Dispose();\r
+ }\r
+\r
+ public virtual void Dispose()\r
+ {\r
+ lock (this)\r
+ {\r
+ if (swigCPtr.Handle != global::System.IntPtr.Zero)\r
+ {\r
+ if (swigCMemOwn)\r
+ {\r
+ swigCMemOwn = false;\r
+ NDalicPINVOKE.delete_CameraActor_Property(swigCPtr);\r
+ }\r
+ swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);\r
+ }\r
+ global::System.GC.SuppressFinalize(this);\r
+ }\r
+ }\r
+\r
+ internal Property() : this(NDalicPINVOKE.new_CameraActor_Property(), true)\r
+ {\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ }\r
+\r
+ internal static readonly int TYPE = NDalicPINVOKE.CameraActor_Property_TYPE_get();\r
+ internal static readonly int PROJECTION_MODE = NDalicPINVOKE.CameraActor_Property_PROJECTION_MODE_get();\r
+ internal static readonly int FIELD_OF_VIEW = NDalicPINVOKE.CameraActor_Property_FIELD_OF_VIEW_get();\r
+ internal static readonly int ASPECT_RATIO = NDalicPINVOKE.CameraActor_Property_ASPECT_RATIO_get();\r
+ internal static readonly int NEAR_PLANE_DISTANCE = NDalicPINVOKE.CameraActor_Property_NEAR_PLANE_DISTANCE_get();\r
+ internal static readonly int FAR_PLANE_DISTANCE = NDalicPINVOKE.CameraActor_Property_FAR_PLANE_DISTANCE_get();\r
+ internal static readonly int LEFT_PLANE_DISTANCE = NDalicPINVOKE.CameraActor_Property_LEFT_PLANE_DISTANCE_get();\r
+ internal static readonly int RIGHT_PLANE_DISTANCE = NDalicPINVOKE.CameraActor_Property_RIGHT_PLANE_DISTANCE_get();\r
+ internal static readonly int TOP_PLANE_DISTANCE = NDalicPINVOKE.CameraActor_Property_TOP_PLANE_DISTANCE_get();\r
+ internal static readonly int BOTTOM_PLANE_DISTANCE = NDalicPINVOKE.CameraActor_Property_BOTTOM_PLANE_DISTANCE_get();\r
+ internal static readonly int TARGET_POSITION = NDalicPINVOKE.CameraActor_Property_TARGET_POSITION_get();\r
+ internal static readonly int PROJECTION_MATRIX = NDalicPINVOKE.CameraActor_Property_PROJECTION_MATRIX_get();\r
+ internal static readonly int VIEW_MATRIX = NDalicPINVOKE.CameraActor_Property_VIEW_MATRIX_get();\r
+ internal static readonly int INVERT_Y_AXIS = NDalicPINVOKE.CameraActor_Property_INVERT_Y_AXIS_get();\r
+\r
+ }\r
+\r
+ public CameraActor() : this(NDalicPINVOKE.CameraActor_New__SWIG_0(), true)\r
+ {\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+\r
+ }\r
+ public CameraActor(Size2D size) : this(NDalicPINVOKE.CameraActor_New__SWIG_1(Size2D.getCPtr(size)), true)\r
+ {\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+\r
+ }\r
+ public new static CameraActor DownCast(BaseHandle handle)\r
+ {\r
+ CameraActor ret = new CameraActor(NDalicPINVOKE.CameraActor_DownCast(BaseHandle.getCPtr(handle)), true);\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ return ret;\r
+ }\r
+\r
+ internal CameraActor(CameraActor copy) : this(NDalicPINVOKE.new_CameraActor__SWIG_1(CameraActor.getCPtr(copy)), true)\r
+ {\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ }\r
+\r
+ internal CameraActor Assign(CameraActor rhs)\r
+ {\r
+ CameraActor ret = new CameraActor(NDalicPINVOKE.CameraActor_Assign(swigCPtr, CameraActor.getCPtr(rhs)), false);\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ return ret;\r
+ }\r
+\r
+ internal void SetType(CameraType type)\r
+ {\r
+ NDalicPINVOKE.CameraActor_SetType(swigCPtr, (int)type);\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ }\r
+\r
+ internal CameraType GetType()\r
+ {\r
+ CameraType ret = (CameraType)NDalicPINVOKE.CameraActor_GetType(swigCPtr);\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ return ret;\r
+ }\r
+\r
+ internal void SetProjectionMode(ProjectionMode mode)\r
+ {\r
+ NDalicPINVOKE.CameraActor_SetProjectionMode(swigCPtr, (int)mode);\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ }\r
+\r
+ internal ProjectionMode GetProjectionMode()\r
+ {\r
+ ProjectionMode ret = (ProjectionMode)NDalicPINVOKE.CameraActor_GetProjectionMode(swigCPtr);\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ return ret;\r
+ }\r
+\r
+ internal void SetFieldOfView(float fieldOfView)\r
+ {\r
+ NDalicPINVOKE.CameraActor_SetFieldOfView(swigCPtr, fieldOfView);\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ }\r
+\r
+ internal float GetFieldOfView()\r
+ {\r
+ float ret = NDalicPINVOKE.CameraActor_GetFieldOfView(swigCPtr);\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ return ret;\r
+ }\r
+\r
+ internal void SetAspectRatio(float aspectRatio)\r
+ {\r
+ NDalicPINVOKE.CameraActor_SetAspectRatio(swigCPtr, aspectRatio);\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ }\r
+\r
+ internal float GetAspectRatio()\r
+ {\r
+ float ret = NDalicPINVOKE.CameraActor_GetAspectRatio(swigCPtr);\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ return ret;\r
+ }\r
+\r
+ internal void SetNearClippingPlane(float nearClippingPlane)\r
+ {\r
+ NDalicPINVOKE.CameraActor_SetNearClippingPlane(swigCPtr, nearClippingPlane);\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ }\r
+\r
+ internal float GetNearClippingPlane()\r
+ {\r
+ float ret = NDalicPINVOKE.CameraActor_GetNearClippingPlane(swigCPtr);\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ return ret;\r
+ }\r
+\r
+ internal void SetFarClippingPlane(float farClippingPlane)\r
+ {\r
+ NDalicPINVOKE.CameraActor_SetFarClippingPlane(swigCPtr, farClippingPlane);\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ }\r
+\r
+ internal float GetFarClippingPlane()\r
+ {\r
+ float ret = NDalicPINVOKE.CameraActor_GetFarClippingPlane(swigCPtr);\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ return ret;\r
+ }\r
+\r
+ internal void SetTargetPosition(Vector3 targetPosition)\r
+ {\r
+ NDalicPINVOKE.CameraActor_SetTargetPosition(swigCPtr, Vector3.getCPtr(targetPosition));\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ }\r
+\r
+ internal Vector3 GetTargetPosition()\r
+ {\r
+ Vector3 ret = new Vector3(NDalicPINVOKE.CameraActor_GetTargetPosition(swigCPtr), true);\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ return ret;\r
+ }\r
+\r
+ internal void SetInvertYAxis(bool invertYAxis)\r
+ {\r
+ NDalicPINVOKE.CameraActor_SetInvertYAxis(swigCPtr, invertYAxis);\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ }\r
+\r
+ internal bool GetInvertYAxis()\r
+ {\r
+ bool ret = NDalicPINVOKE.CameraActor_GetInvertYAxis(swigCPtr);\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ return ret;\r
+ }\r
+\r
+ internal void SetPerspectiveProjection(Vector2 size)\r
+ {\r
+ NDalicPINVOKE.CameraActor_SetPerspectiveProjection(swigCPtr, Vector2.getCPtr(size));\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ }\r
+\r
+ internal void SetOrthographicProjection(Vector2 size)\r
+ {\r
+ NDalicPINVOKE.CameraActor_SetOrthographicProjection__SWIG_0(swigCPtr, Vector2.getCPtr(size));\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ }\r
+\r
+ internal void SetOrthographicProjection(float left, float right, float top, float bottom, float near, float far)\r
+ {\r
+ NDalicPINVOKE.CameraActor_SetOrthographicProjection__SWIG_1(swigCPtr, left, right, top, bottom, near, far);\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ }\r
+\r
+ public string Type\r
+ {\r
+ get\r
+ {\r
+ string temp;\r
+ GetProperty(CameraActor.Property.TYPE).Get(out temp);\r
+ return temp;\r
+ }\r
+ set\r
+ {\r
+ SetProperty(CameraActor.Property.TYPE, new Tizen.NUI.PropertyValue(value));\r
+ }\r
+ }\r
+ public string ProjectionMode\r
+ {\r
+ get\r
+ {\r
+ string temp;\r
+ GetProperty(CameraActor.Property.PROJECTION_MODE).Get(out temp);\r
+ return temp;\r
+ }\r
+ set\r
+ {\r
+ SetProperty(CameraActor.Property.PROJECTION_MODE, new Tizen.NUI.PropertyValue(value));\r
+ }\r
+ }\r
+ public float FieldOfView\r
+ {\r
+ get\r
+ {\r
+ float temp = 0.0f;\r
+ GetProperty(CameraActor.Property.FIELD_OF_VIEW).Get(ref temp);\r
+ return temp;\r
+ }\r
+ set\r
+ {\r
+ SetProperty(CameraActor.Property.FIELD_OF_VIEW, new Tizen.NUI.PropertyValue(value));\r
+ }\r
+ }\r
+ public float AspectRatio\r
+ {\r
+ get\r
+ {\r
+ float temp = 0.0f;\r
+ GetProperty(CameraActor.Property.ASPECT_RATIO).Get(ref temp);\r
+ return temp;\r
+ }\r
+ set\r
+ {\r
+ SetProperty(CameraActor.Property.ASPECT_RATIO, new Tizen.NUI.PropertyValue(value));\r
+ }\r
+ }\r
+ public float NearPlaneDistance\r
+ {\r
+ get\r
+ {\r
+ float temp = 0.0f;\r
+ GetProperty(CameraActor.Property.NEAR_PLANE_DISTANCE).Get(ref temp);\r
+ return temp;\r
+ }\r
+ set\r
+ {\r
+ SetProperty(CameraActor.Property.NEAR_PLANE_DISTANCE, new Tizen.NUI.PropertyValue(value));\r
+ }\r
+ }\r
+ public float FarPlaneDistance\r
+ {\r
+ get\r
+ {\r
+ float temp = 0.0f;\r
+ GetProperty(CameraActor.Property.FAR_PLANE_DISTANCE).Get(ref temp);\r
+ return temp;\r
+ }\r
+ set\r
+ {\r
+ SetProperty(CameraActor.Property.FAR_PLANE_DISTANCE, new Tizen.NUI.PropertyValue(value));\r
+ }\r
+ }\r
+ public float LeftPlaneDistance\r
+ {\r
+ get\r
+ {\r
+ float temp = 0.0f;\r
+ GetProperty(CameraActor.Property.LEFT_PLANE_DISTANCE).Get(ref temp);\r
+ return temp;\r
+ }\r
+ set\r
+ {\r
+ SetProperty(CameraActor.Property.LEFT_PLANE_DISTANCE, new Tizen.NUI.PropertyValue(value));\r
+ }\r
+ }\r
+ public float RightPlaneDistance\r
+ {\r
+ get\r
+ {\r
+ float temp = 0.0f;\r
+ GetProperty(CameraActor.Property.RIGHT_PLANE_DISTANCE).Get(ref temp);\r
+ return temp;\r
+ }\r
+ set\r
+ {\r
+ SetProperty(CameraActor.Property.RIGHT_PLANE_DISTANCE, new Tizen.NUI.PropertyValue(value));\r
+ }\r
+ }\r
+ public float TopPlaneDistance\r
+ {\r
+ get\r
+ {\r
+ float temp = 0.0f;\r
+ GetProperty(CameraActor.Property.TOP_PLANE_DISTANCE).Get(ref temp);\r
+ return temp;\r
+ }\r
+ set\r
+ {\r
+ SetProperty(CameraActor.Property.TOP_PLANE_DISTANCE, new Tizen.NUI.PropertyValue(value));\r
+ }\r
+ }\r
+ public float BottomPlaneDistance\r
+ {\r
+ get\r
+ {\r
+ float temp = 0.0f;\r
+ GetProperty(CameraActor.Property.BOTTOM_PLANE_DISTANCE).Get(ref temp);\r
+ return temp;\r
+ }\r
+ set\r
+ {\r
+ SetProperty(CameraActor.Property.BOTTOM_PLANE_DISTANCE, new Tizen.NUI.PropertyValue(value));\r
+ }\r
+ }\r
+ public Position TargetPosition\r
+ {\r
+ get\r
+ {\r
+ Position temp = new Position(0.0f, 0.0f, 0.0f);\r
+ GetProperty(CameraActor.Property.TARGET_POSITION).Get(temp);\r
+ return temp;\r
+ }\r
+ set\r
+ {\r
+ SetProperty(CameraActor.Property.TARGET_POSITION, new Tizen.NUI.PropertyValue(value));\r
+ }\r
+ }\r
+ internal Matrix ProjectionMatrix\r
+ {\r
+ get\r
+ {\r
+ Matrix temp = new Matrix();\r
+ GetProperty(CameraActor.Property.PROJECTION_MATRIX).Get(temp);\r
+ return temp;\r
+ }\r
+ }\r
+\r
+ internal Matrix ViewMatrix\r
+ {\r
+ get\r
+ {\r
+ Matrix temp = new Matrix();\r
+ GetProperty(CameraActor.Property.VIEW_MATRIX).Get(temp);\r
+ return temp;\r
+ }\r
+ }\r
+ public bool InvertYAxis\r
+ {\r
+ get\r
+ {\r
+ bool temp = false;\r
+ GetProperty(CameraActor.Property.INVERT_Y_AXIS).Get(ref temp);\r
+ return temp;\r
+ }\r
+ set\r
+ {\r
+ SetProperty(CameraActor.Property.INVERT_Y_AXIS, new Tizen.NUI.PropertyValue(value));\r
+ }\r
+ }\r
+\r
+ }\r
+\r
+ public enum CameraType\r
+ {\r
+ FreeLook,\r
+ LookAtTarget\r
+ }\r
+\r
+ public enum ProjectionMode\r
+ {\r
+ PerspectiveProjection,\r
+ OrthographicProjection\r
+ }\r
+\r
+}\r
-// Copyright (c) 2016 Samsung Electronics Co., Ltd All Rights Reserved\r
-// PROPRIETARY/CONFIDENTIAL \r
-// This software is the confidential and proprietary\r
-// information of SAMSUNG ELECTRONICS ("Confidential Information"). You shall\r
-// not disclose such Confidential Information and shall use it only in\r
-// accordance with the terms of the license agreement you entered into with\r
-// SAMSUNG ELECTRONICS. SAMSUNG make no representations or warranties about the\r
-// suitability of the software, either express or implied, including but not\r
-// limited to the implied warranties of merchantability, fitness for a\r
-// particular purpose, or non-infringement. SAMSUNG shall not be liable for any\r
-// damages suffered by licensee as a result of using, modifying or distributing\r
-// this software or its derivatives.\r
-\r
-// Copyright (c) 2017 Samsung Electronics Co., Ltd.\r
-//\r
-// Licensed under the Apache License, Version 2.0 (the "License");\r
-// you may not use this file except in compliance with the License.\r
-// You may obtain a copy of the License at\r
-//\r
-// http://www.apache.org/licenses/LICENSE-2.0\r
+/** Copyright (c) 2017 Samsung Electronics Co., Ltd.\r
+*\r
+* Licensed under the Apache License, Version 2.0 (the "License");\r
+* you may not use this file except in compliance with the License.\r
+* You may obtain a copy of the License at\r
+*\r
+* http://www.apache.org/licenses/LICENSE-2.0\r
+*\r
+* Unless required by applicable law or agreed to in writing, software\r
+* distributed under the License is distributed on an "AS IS" BASIS,\r
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
+* See the License for the specific language governing permissions and\r
+* limitations under the License.\r
+*\r
+*/\r
+// This File has been auto-generated by SWIG and then modified using DALi Ruby Scripts\r
+//------------------------------------------------------------------------------\r
+// <auto-generated />\r
//\r
-// Unless required by applicable law or agreed to in writing, software\r
-// distributed under the License is distributed on an "AS IS" BASIS,\r
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
-// See the License for the specific language governing permissions and\r
-// limitations under the License.\r
+// This file was automatically generated by SWIG (http://www.swig.org).\r
+// Version 3.0.9\r
//\r
-\r
-// This File has been auto-generated by SWIG and then modified using DALi Ruby Scripts\r
-// Some have been manually changed\r
+// Do not make changes to this file unless you know what you are doing--modify\r
+// the SWIG interface file instead.\r
+//------------------------------------------------------------------------------\r
\r
namespace Tizen.NUI\r
{\r
-// Copyright (c) 2016 Samsung Electronics Co., Ltd All Rights Reserved\r
-// PROPRIETARY/CONFIDENTIAL \r
-// This software is the confidential and proprietary\r
-// information of SAMSUNG ELECTRONICS ("Confidential Information"). You shall\r
-// not disclose such Confidential Information and shall use it only in\r
-// accordance with the terms of the license agreement you entered into with\r
-// SAMSUNG ELECTRONICS. SAMSUNG make no representations or warranties about the\r
-// suitability of the software, either express or implied, including but not\r
-// limited to the implied warranties of merchantability, fitness for a\r
-// particular purpose, or non-infringement. SAMSUNG shall not be liable for any\r
-// damages suffered by licensee as a result of using, modifying or distributing\r
-// this software or its derivatives.\r
-\r
-// Copyright (c) 2017 Samsung Electronics Co., Ltd.\r
-//\r
-// Licensed under the Apache License, Version 2.0 (the "License");\r
-// you may not use this file except in compliance with the License.\r
-// You may obtain a copy of the License at\r
-//\r
-// http://www.apache.org/licenses/LICENSE-2.0\r
-//\r
-// Unless required by applicable law or agreed to in writing, software\r
-// distributed under the License is distributed on an "AS IS" BASIS,\r
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
-// See the License for the specific language governing permissions and\r
-// limitations under the License.\r
-//\r
-\r
-// This File has been auto-generated by SWIG and then modified using DALi Ruby Scripts\r
-// Some have been manually changed\r
-\r
+/*\r
+ * Copyright (c) 2017 Samsung Electronics Co., Ltd.\r
+ *\r
+ * Licensed under the Apache License, Version 2.0 (the "License");\r
+ * you may not use this file except in compliance with the License.\r
+ * You may obtain a copy of the License at\r
+ *\r
+ * http://www.apache.org/licenses/LICENSE-2.0\r
+ *\r
+ * Unless required by applicable law or agreed to in writing, software\r
+ * distributed under the License is distributed on an "AS IS" BASIS,\r
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
+ * See the License for the specific language governing permissions and\r
+ * limitations under the License.\r
+ *\r
+ */\r
\r
namespace Tizen.NUI\r
{\r
\r
+ using System;\r
+\r
public class Color : global::System.IDisposable\r
{\r
private global::System.Runtime.InteropServices.HandleRef swigCPtr;\r
}\r
}\r
\r
- internal static Color GetVector4FromPtr(global::System.IntPtr cPtr)\r
+\r
+ public static Color operator +(Color arg1, Color arg2)\r
+ {\r
+ return arg1.Add(arg2);\r
+ }\r
+\r
+ public static Color operator -(Color arg1, Color arg2)\r
+ {\r
+ return arg1.Subtract(arg2);\r
+ }\r
+\r
+ public static Color operator -(Color arg1)\r
+ {\r
+ return arg1.Subtract();\r
+ }\r
+\r
+ public static Color operator *(Color arg1, Color arg2)\r
+ {\r
+ return arg1.Multiply(arg2);\r
+ }\r
+\r
+ public static Color operator *(Color arg1, float arg2)\r
+ {\r
+ return arg1.Multiply(arg2);\r
+ }\r
+\r
+ public static Color operator /(Color arg1, Color arg2)\r
+ {\r
+ return arg1.Divide(arg2);\r
+ }\r
+\r
+ public static Color operator /(Color arg1, float arg2)\r
+ {\r
+ return arg1.Divide(arg2);\r
+ }\r
+\r
+\r
+ public float this[uint index]\r
+ {\r
+ get\r
+ {\r
+ return ValueOfIndex(index);\r
+ }\r
+ }\r
+\r
+ public static Color GetColorFromPtr(global::System.IntPtr cPtr)\r
{\r
Color ret = new Color(cPtr, false);\r
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
return ret;\r
}\r
\r
+\r
public Color() : this(NDalicPINVOKE.new_Vector4__SWIG_0(), true)\r
{\r
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
}\r
\r
+ public Color(float[] array) : this(NDalicPINVOKE.new_Vector4__SWIG_2(array), true)\r
+ {\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ }\r
+\r
+ private Color Add(Color rhs)\r
+ {\r
+ Color ret = new Color(NDalicPINVOKE.Vector4_Add(swigCPtr, Color.getCPtr(rhs)), true);\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ return ret;\r
+ }\r
+\r
+ private Color AddAssign(Vector4 rhs)\r
+ {\r
+ Color ret = new Color(NDalicPINVOKE.Vector4_AddAssign(swigCPtr, Color.getCPtr(rhs)), false);\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ return ret;\r
+ }\r
+\r
+ private Color Subtract(Color rhs)\r
+ {\r
+ Color ret = new Color(NDalicPINVOKE.Vector4_Subtract__SWIG_0(swigCPtr, Color.getCPtr(rhs)), true);\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ return ret;\r
+ }\r
+\r
+ private Color SubtractAssign(Color rhs)\r
+ {\r
+ Color ret = new Color(NDalicPINVOKE.Vector4_SubtractAssign(swigCPtr, Color.getCPtr(rhs)), false);\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ return ret;\r
+ }\r
+\r
+ private Color Multiply(Color rhs)\r
+ {\r
+ Color ret = new Color(NDalicPINVOKE.Vector4_Multiply__SWIG_0(swigCPtr, Color.getCPtr(rhs)), true);\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ return ret;\r
+ }\r
+\r
+ private Color Multiply(float rhs)\r
+ {\r
+ Color ret = new Color(NDalicPINVOKE.Vector4_Multiply__SWIG_1(swigCPtr, rhs), true);\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ return ret;\r
+ }\r
+\r
+ private Color MultiplyAssign(Color rhs)\r
+ {\r
+ Color ret = new Color(NDalicPINVOKE.Vector4_MultiplyAssign__SWIG_0(swigCPtr, Color.getCPtr(rhs)), false);\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ return ret;\r
+ }\r
+\r
+ private Color MultiplyAssign(float rhs)\r
+ {\r
+ Color ret = new Color(NDalicPINVOKE.Vector4_MultiplyAssign__SWIG_1(swigCPtr, rhs), false);\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ return ret;\r
+ }\r
+\r
+ private Color Divide(Vector4 rhs)\r
+ {\r
+ Color ret = new Color(NDalicPINVOKE.Vector4_Divide__SWIG_0(swigCPtr, Color.getCPtr(rhs)), true);\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ return ret;\r
+ }\r
+\r
+ private Color Divide(float rhs)\r
+ {\r
+ Color ret = new Color(NDalicPINVOKE.Vector4_Divide__SWIG_1(swigCPtr, rhs), true);\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ return ret;\r
+ }\r
+\r
+ private Color DivideAssign(Color rhs)\r
+ {\r
+ Color ret = new Color(NDalicPINVOKE.Vector4_DivideAssign__SWIG_0(swigCPtr, Color.getCPtr(rhs)), false);\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ return ret;\r
+ }\r
+\r
+ private Color DivideAssign(float rhs)\r
+ {\r
+ Color ret = new Color(NDalicPINVOKE.Vector4_DivideAssign__SWIG_1(swigCPtr, rhs), false);\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ return ret;\r
+ }\r
+\r
+ private Color Subtract()\r
+ {\r
+ Color ret = new Color(NDalicPINVOKE.Vector4_Subtract__SWIG_1(swigCPtr), true);\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ return ret;\r
+ }\r
+\r
+ public bool EqualTo(Color rhs)\r
+ {\r
+ bool ret = NDalicPINVOKE.Vector4_EqualTo(swigCPtr, Color.getCPtr(rhs));\r
+\r
+ if (rhs == null) return false;\r
+\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ return ret;\r
+ }\r
+\r
+ public bool NotEqualTo(Color rhs)\r
+ {\r
+ bool ret = NDalicPINVOKE.Vector4_NotEqualTo(swigCPtr, Color.getCPtr(rhs));\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ return ret;\r
+ }\r
+\r
+\r
+ private float ValueOfIndex(uint index)\r
+ {\r
+ float ret = NDalicPINVOKE.Vector4_ValueOfIndex__SWIG_0(swigCPtr, index);\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ return ret;\r
+ }\r
+\r
public float R\r
{\r
set\r
}\r
}\r
\r
+ public static implicit operator Vector4(Color color)\r
+ {\r
+ return new Vector4(color.R, color.G, color.B, color.A);\r
+ }\r
+\r
+ public static implicit operator Color(Vector4 vec)\r
+ {\r
+ return new Color(vec.R, vec.G, vec.B, vec.A);\r
+ }\r
+\r
}\r
\r
}\r
\r
+\r
+++ /dev/null
-/*
- * 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.
- *
- */
-
-using System;
-using System.Runtime.InteropServices;
-using System.Collections.Generic;
-using System.Linq;
-using Tizen.NUI;
-
-// A contentView control (for use can add image or text to it.)
-
-namespace Tizen.NUI
-{
- public class ContentView : CustomView
- {
- private int _iconVisualIndex;
- private string _iconVisualUrl;
- private bool _activeContent = false;
- private bool _transitionInProgress = false;
-
- private VisualBase _iconVisual;
- private Animation _animation;
- private TransitionData _growTransitionData;
- private TransitionData _shrinkTransitionData;\r
-\r
-
- // Called by DALi Builder if it finds a ContentView control in a JSON file
- static CustomView CreateInstance()
- {
- return new ContentView();
- }
-
- // static constructor registers the control type (only runs once)
- static ContentView()
- {
- // ViewRegistry registers control type with DALi type registery
- // also uses introspection to find any properties that need to be registered with type registry
- ViewRegistry.Instance.Register(CreateInstance, typeof(ContentView));
- }
-
- public ContentView() : base(typeof(ContentView).Name, ViewBehaviour.ViewBehaviourDefault | ViewBehaviour.RequiresKeyboardNavigationSupport)
- {
-
- }
-
- public override void OnInitialize()
- {
- _iconVisualIndex = RegisterProperty("iconVisual", new PropertyValue("./image/application-icon-0.png"), PropertyAccessMode.ReadWrite);
-
- PropertyMap animator = new PropertyMap();
- animator.Add("alphaFunction", new PropertyValue("LINEAR"));
-
- PropertyMap timePeriod = new PropertyMap();
- timePeriod.Add("duration", new PropertyValue(0.8f));
- timePeriod.Add("delay", new PropertyValue(0.0f));
- animator.Add("timePeriod", new PropertyValue(timePeriod));
-
- PropertyMap growTransition = new PropertyMap();
- growTransition.Add("target", new PropertyValue("iconVisual"));
- growTransition.Add("property", new PropertyValue("size"));
- growTransition.Add("targetValue", new PropertyValue(new Vector2(100.0f, 100.0f)));
- growTransition.Add("animator", new PropertyValue(animator));
- _growTransitionData = new TransitionData(growTransition);
-
-
- PropertyMap shrinkTransition = new PropertyMap();
- shrinkTransition.Add("target", new PropertyValue("iconVisual"));
- shrinkTransition.Add("property", new PropertyValue("size"));
- shrinkTransition.Add("targetValue", new PropertyValue(new Vector2(50.0f, 50.0f)));
- shrinkTransition.Add("animator", new PropertyValue(animator));
- _shrinkTransitionData = new TransitionData(shrinkTransition);\r
- }
-
- /*public virtual void OnRelayout(Vector2 size, RelayoutContainer container)
- {
- Console.WriteLine ("--------------OnRelayout.");
- RelayoutVisuals( size);
- }*/
-
- private void RelayoutVisuals(Vector2 size)
- {
- if (!_transitionInProgress)
- {
- if (_iconVisual)
- {
- PropertyMap iconVisualTransform = new PropertyMap();
- iconVisualTransform.Add((int)VisualTransformPropertyType.SIZE, new PropertyValue(new Vector2(50.0f, 50.0f)));
- iconVisualTransform.Add((int)VisualTransformPropertyType.OFFSET, new PropertyValue(new Vector2(5.0f, 5.0f)));
- iconVisualTransform.Add((int)VisualTransformPropertyType.OFFSET_SIZE_MODE, new PropertyValue(new Vector4(1.0f, 1.0f, 1.0f, 1.0f)));
- iconVisualTransform.Add((int)VisualTransformPropertyType.ORIGIN, new PropertyValue((int)AlignType.TOP_BEGIN));
- iconVisualTransform.Add((int)VisualTransformPropertyType.ANCHOR_POINT, new PropertyValue((int)AlignType.TOP_BEGIN));
- _iconVisual.SetTransformAndSize(iconVisualTransform, size);
- }
- }
- }
-
- [ScriptableProperty()]
- public string IconVisual
- {
- get
- {
- return _iconVisualUrl;
- }
- set
- {
- _iconVisualUrl = value;
- if (_iconVisual)
- {
- //RelayoutRequest();
- EnableVisual(_iconVisualIndex, false);
- UnregisterVisual(_iconVisualIndex);
- }
-
- PropertyMap iconVisualMap = new PropertyMap(); ;
- iconVisualMap.Add(Tizen.NUI.Constants.Visual.Property.Type, new PropertyValue((int)Tizen.NUI.Constants.Visual.Type.Image));
- iconVisualMap.Add(Tizen.NUI.Constants.ImageVisualProperty.URL, new PropertyValue(_iconVisualUrl));
- _iconVisual = VisualFactory.Get().CreateVisual(iconVisualMap);
- _iconVisual.Name = ("iconVisual");
-
- RelayoutVisuals(new Vector2(250.0f, 250.0f));
- RegisterVisual(_iconVisualIndex, _iconVisual);
- _iconVisual.DepthIndex = (1.0f);
- }
-
- }
-
-
-
- [ScriptableProperty()]
- public bool ActiveContent
- {
- get
- {
- return _activeContent;
- }
- set
- {
- _activeContent = value;
- StartTransition(_activeContent);
- }
- }
-
- private void StartTransition(bool activate)
- {
- if (_animation)
- {
- _animation.Stop();
- _animation.Finished += OnTransitionFinished;
- }
- if (activate)
- {
- _animation = CreateTransition(_growTransitionData);
- }
- else
- {
- _animation = CreateTransition(_shrinkTransitionData);
- }
-
- if (_animation)
- {
- _animation.Finished += OnTransitionFinished;
- _transitionInProgress = true;
- _animation.Play();
- }
- }
-
- private void OnTransitionFinished(object sender, EventArgs e)
- {
- _transitionInProgress = false;
- if (_animation)
- {
- _animation.Finished += OnTransitionFinished;
- _animation.Reset();
- }
- }
-
- public ImageVisualMap ImageVisual\r
- {\r
- set\r
- {\r
- if (value.URL != "")
- {\r
- VisualBase _imageVisual;\r
- int _imageVisualIndex = RegisterProperty("ImageVisual", new PropertyValue(value.URL), PropertyAccessMode.ReadWrite);\r
- _imageVisual = VisualFactory.Get().CreateVisual(value.OutputMap);\r
- RegisterVisual(_imageVisualIndex, _imageVisual);\r
- _imageVisual.DepthIndex = value.DepthIndex;
- }\r
- }\r
- }\r
-\r
- public TextVisualMap TextVisual\r
- {\r
- set\r
- {\r
- if (value.Text != "" && value.PointSize != 0)
- {\r
- Tizen.Log.Debug("NUI", "p2 !!!!!");\r
-\r
- PropertyMap _outputMap = new PropertyMap(); ;\r
- _outputMap.Add(Tizen.NUI.Constants.Visual.Property.Type, new PropertyValue((int)Tizen.NUI.Constants.Visual.Type.WireFrame + 1));\r
- _outputMap.Add(Tizen.NUI.Constants.TextVisualProperty.Text, new PropertyValue("ABCD"));\r
- _outputMap.Add(Tizen.NUI.Constants.TextVisualProperty.PointSize, new PropertyValue(10.0f));\r
-\r
- VisualBase _textVisual;\r
- int _textVisualIndex = RegisterProperty("TextVisual", new PropertyValue(_outputMap), PropertyAccessMode.ReadWrite);\r
- _textVisual = VisualFactory.Get().CreateVisual(_outputMap);\r
- RegisterVisual(_textVisualIndex, _textVisual, true);\r
- _textVisual.DepthIndex = value.DepthIndex;
- Tizen.Log.Debug("NUI", "p2 !!!!! _textVisualIndex=" + _textVisualIndex + "is enabled?=" + IsVisualEnabled(_textVisualIndex));
- }\r
- }\r
- }
-
- }
-}
\ No newline at end of file
-// Copyright (c) 2016 Samsung Electronics Co., Ltd All Rights Reserved
-// PROPRIETARY/CONFIDENTIAL
-// This software is the confidential and proprietary
-// information of SAMSUNG ELECTRONICS ("Confidential Information"). You shall
-// not disclose such Confidential Information and shall use it only in
-// accordance with the terms of the license agreement you entered into with
-// SAMSUNG ELECTRONICS. SAMSUNG make no representations or warranties about the
-// suitability of the software, either express or implied, including but not
-// limited to the implied warranties of merchantability, fitness for a
-// particular purpose, or non-infringement. SAMSUNG shall not be liable for any
-// damages suffered by licensee as a result of using, modifying or distributing
-// this software or its derivatives.
-
-// 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.
-//
-
-// This File has been auto-generated by SWIG and then modified using DALi Ruby Scripts
-// Some have been manually changed
-
-namespace Tizen.NUI
-{
- public class CustomView : ViewWrapper
- {
- public CustomView(string typeName, ViewBehaviour behaviour) : base(typeName, new ViewWrapperImpl(behaviour))
- {
- // Registering CustomView virtual functions to viewWrapperImpl delegates.
- viewWrapperImpl.OnStageConnection = new ViewWrapperImpl.OnStageConnectionDelegate(OnStageConnection);
- viewWrapperImpl.OnStageDisconnection = new ViewWrapperImpl.OnStageDisconnectionDelegate(OnStageDisconnection);
- viewWrapperImpl.OnChildAdd = new ViewWrapperImpl.OnChildAddDelegate(OnChildAdd);
- viewWrapperImpl.OnChildRemove = new ViewWrapperImpl.OnChildRemoveDelegate(OnChildRemove);
- viewWrapperImpl.OnPropertySet = new ViewWrapperImpl.OnPropertySetDelegate(OnPropertySet);
- viewWrapperImpl.OnSizeSet = new ViewWrapperImpl.OnSizeSetDelegate(OnSizeSet);
- viewWrapperImpl.OnSizeAnimation = new ViewWrapperImpl.OnSizeAnimationDelegate(OnSizeAnimation);
- viewWrapperImpl.OnTouch = new ViewWrapperImpl.OnTouchDelegate(OnTouch);
- viewWrapperImpl.OnHover = new ViewWrapperImpl.OnHoverDelegate(OnHover);
- viewWrapperImpl.OnKey = new ViewWrapperImpl.OnKeyDelegate(OnKey);
- viewWrapperImpl.OnWheel = new ViewWrapperImpl.OnWheelDelegate(OnWheel);
- viewWrapperImpl.OnRelayout = new ViewWrapperImpl.OnRelayoutDelegate(OnRelayout);
- viewWrapperImpl.OnSetResizePolicy = new ViewWrapperImpl.OnSetResizePolicyDelegate(OnSetResizePolicy);
- viewWrapperImpl.GetNaturalSize = new ViewWrapperImpl.GetNaturalSizeDelegate(GetNaturalSize);
- viewWrapperImpl.CalculateChildSize = new ViewWrapperImpl.CalculateChildSizeDelegate(CalculateChildSize);
- viewWrapperImpl.GetHeightForWidth = new ViewWrapperImpl.GetHeightForWidthDelegate(GetHeightForWidth);
- viewWrapperImpl.GetWidthForHeight = new ViewWrapperImpl.GetWidthForHeightDelegate(GetWidthForHeight);
- viewWrapperImpl.RelayoutDependentOnChildrenDimension = new ViewWrapperImpl.RelayoutDependentOnChildrenDimensionDelegate(RelayoutDependentOnChildren);
- viewWrapperImpl.RelayoutDependentOnChildren = new ViewWrapperImpl.RelayoutDependentOnChildrenDelegate(RelayoutDependentOnChildren);
- viewWrapperImpl.OnCalculateRelayoutSize = new ViewWrapperImpl.OnCalculateRelayoutSizeDelegate(OnCalculateRelayoutSize);
- viewWrapperImpl.OnLayoutNegotiated = new ViewWrapperImpl.OnLayoutNegotiatedDelegate(OnLayoutNegotiated);
- viewWrapperImpl.OnControlChildAdd = new ViewWrapperImpl.OnControlChildAddDelegate(OnControlChildAdd);
- viewWrapperImpl.OnControlChildRemove = new ViewWrapperImpl.OnControlChildRemoveDelegate(OnControlChildRemove);
- viewWrapperImpl.OnStyleChange = new ViewWrapperImpl.OnStyleChangeDelegate(OnStyleChange);
- viewWrapperImpl.OnAccessibilityActivated = new ViewWrapperImpl.OnAccessibilityActivatedDelegate(OnAccessibilityActivated);
- viewWrapperImpl.OnAccessibilityPan = new ViewWrapperImpl.OnAccessibilityPanDelegate(OnAccessibilityPan);
- viewWrapperImpl.OnAccessibilityTouch = new ViewWrapperImpl.OnAccessibilityTouchDelegate(OnAccessibilityTouch);
- viewWrapperImpl.OnAccessibilityValueChange = new ViewWrapperImpl.OnAccessibilityValueChangeDelegate(OnAccessibilityValueChange);
- viewWrapperImpl.OnAccessibilityZoom = new ViewWrapperImpl.OnAccessibilityZoomDelegate(OnAccessibilityZoom);
- viewWrapperImpl.OnKeyInputFocusGained = new ViewWrapperImpl.OnKeyInputFocusGainedDelegate(OnFocusGained);
- viewWrapperImpl.OnKeyInputFocusLost = new ViewWrapperImpl.OnKeyInputFocusLostDelegate(OnFocusLost);
- viewWrapperImpl.GetNextFocusableView = new ViewWrapperImpl.GetNextFocusableViewDelegate(GetNextFocusableView);
- viewWrapperImpl.OnFocusChangeCommitted = new ViewWrapperImpl.OnFocusChangeCommittedDelegate(OnFocusChangeCommitted);
- viewWrapperImpl.OnKeyboardEnter = new ViewWrapperImpl.OnKeyboardEnterDelegate(OnKeyEnter);
- viewWrapperImpl.OnPinch = new ViewWrapperImpl.OnPinchDelegate(OnPinch);
- viewWrapperImpl.OnPan = new ViewWrapperImpl.OnPanDelegate(OnPan);
- viewWrapperImpl.OnTap = new ViewWrapperImpl.OnTapDelegate(OnTap);
- viewWrapperImpl.OnLongPress = new ViewWrapperImpl.OnLongPressDelegate(OnLongPress);
- viewWrapperImpl.SignalConnected = new ViewWrapperImpl.SignalConnectedDelegate(SignalConnected);
- viewWrapperImpl.SignalDisconnected = new ViewWrapperImpl.SignalDisconnectedDelegate(SignalDisconnected);
-
- // Make sure CustomView is initialized.
- OnInitialize();
-
- // Make sure the style of actors/visuals initialized above are applied by the style manager.
- viewWrapperImpl.ApplyThemeStyle();
- }
-
- /**
- * @brief Set the background with a property map.
- *
- * @param[in] map The background property map.
- */
- public void SetBackground(Tizen.NUI.PropertyMap map)
- {
- viewWrapperImpl.SetBackground(map);
- }
-
- /**
- * @brief Allows deriving classes to enable any of the gesture detectors that are available.
- *
- * Gesture detection can be enabled one at a time or in bitwise format as shown:
- * @code
- * EnableGestureDetection(Gesture.Type.Pinch | Gesture.Type.Tap | Gesture.Type.Pan));
- * @endcode
- * @param[in] type The gesture type(s) to enable.
- */
- internal void EnableGestureDetection(Gesture.GestureType type)
- {
- viewWrapperImpl.EnableGestureDetection(type);
- }
-
- /**
- * @brief Allows deriving classes to disable any of the gesture detectors.
- *
- * Like EnableGestureDetection, this can also be called using bitwise or.
- * @param[in] type The gesture type(s) to disable.
- * @see EnableGetureDetection
- */
- internal void DisableGestureDetection(Gesture.GestureType type)
- {
- viewWrapperImpl.DisableGestureDetection(type);
- }
-
- /**
- * @brief Sets whether this control supports two dimensional
- * keyboard navigation (i.e. whether it knows how to handle the
- * keyboard focus movement between its child actors).
- *
- * The control doesn't support it by default.
- * @param[in] isSupported Whether this control supports two dimensional keyboard navigation.
- */
-
- public bool FocusNavigationSupport
- {
- get
- {
- return IsKeyboardNavigationSupported();
- }
- set
- {
- SetKeyboardNavigationSupport(value);
- }
- }
-
- internal void SetKeyboardNavigationSupport(bool isSupported)
- {
- viewWrapperImpl.SetKeyboardNavigationSupport(isSupported);
- }
-
-
- /**
- * @brief Gets whether this control supports two dimensional keyboard navigation.
- *
- * @return true if this control supports two dimensional keyboard navigation.
- */
- internal bool IsKeyboardNavigationSupported()
- {
- return viewWrapperImpl.IsKeyboardNavigationSupported();
- }
-
-
- public bool FocusGroup
- {
- get
- {
- return IsKeyboardFocusGroup();
- }
- set
- {
- SetAsKeyboardFocusGroup(value);
- }
- }
-
- /**
- * @brief Sets whether this control is a focus group for keyboard navigation.
- *
- * (i.e. the scope of keyboard focus movement
- * can be limitied to its child actors). The control is not a focus group by default.
- * @param[in] isFocusGroup Whether this control is set as a focus group for keyboard navigation.
- */
- internal void SetAsKeyboardFocusGroup(bool isFocusGroup)
- {
- viewWrapperImpl.SetAsKeyboardFocusGroup(isFocusGroup);
- }
-
- /**
- * @brief Gets whether this control is a focus group for keyboard navigation.
- *
- * @return true if this control is set as a focus group for keyboard navigation.
- */
- internal bool IsKeyboardFocusGroup()
- {
- return viewWrapperImpl.IsKeyboardFocusGroup();
- }
-
- /**
- * @brief Called by the AccessibilityManager to activate the Control.
- * @SINCE_1_0.0
- */
- internal void AccessibilityActivate()
- {
- viewWrapperImpl.AccessibilityActivate();
- }
-
- /**
- * @brief Called by the KeyboardFocusManager.
- */
- public void KeyboardEnter()
- {
- viewWrapperImpl.KeyboardEnter();
- }
-
- /**
- * @brief Called by the KeyInputFocusManager to emit key event signals.
- *
- * @param[in] key The key event.
- * @return True if the event was consumed.
- */
- public bool EmitKeyEventSignal(Key key)
- {
- return viewWrapperImpl.EmitKeyEventSignal(key);
- }
-
- /**
- * @brief Request a relayout, which means performing a size negotiation on this actor, its parent and children (and potentially whole scene).
- *
- * This method can also be called from a derived class every time it needs a different size.
- * At the end of event processing, the relayout process starts and
- * all controls which requested Relayout will have their sizes (re)negotiated.
- *
- * @note RelayoutRequest() can be called multiple times; the size negotiation is still
- * only performed once, i.e. there is no need to keep track of this in the calling side.
- */
- protected void RelayoutRequest()
- {
- viewWrapperImpl.RelayoutRequest();
- }
-
- /**
- * @brief Provides the Actor implementation of GetHeightForWidth.
- * @param width Width to use.
- * @return The height based on the width.
- */
- protected float GetHeightForWidthBase(float width)
- {
- return viewWrapperImpl.GetHeightForWidthBase(width);
- }
-
- /**
- * @brief Provides the Actor implementation of GetWidthForHeight.
- * @param height Height to use.
- * @return The width based on the height.
- */
- protected float GetWidthForHeightBase(float height)
- {
- return viewWrapperImpl.GetWidthForHeightBase(height);
- }
-
- /**
- * @brief Calculate the size for a child using the base actor object.
- *
- * @param[in] child The child actor to calculate the size for
- * @param[in] dimension The dimension to calculate the size for. E.g. width or height
- * @return Return the calculated size for the given dimension. If more than one dimension is requested, just return the first one found.
- */
- protected float CalculateChildSizeBase(Actor child, DimensionType dimension)
- {
- return viewWrapperImpl.CalculateChildSizeBase(child, dimension);
- }
-
- /**
- * @brief Determine if this actor is dependent on it's children for relayout from the base class.
- *
- * @param dimension The dimension(s) to check for
- * @return Return if the actor is dependent on it's children.
- */
- protected bool RelayoutDependentOnChildrenBase(DimensionType dimension)
- {
- return viewWrapperImpl.RelayoutDependentOnChildrenBase(dimension);
- }
-
- /**
- * @brief Determine if this actor is dependent on it's children for relayout from the base class.
- *
- * @param dimension The dimension(s) to check for
- * @return Return if the actor is dependent on it's children.
- */
- protected bool RelayoutDependentOnChildrenBase()
- {
- return viewWrapperImpl.RelayoutDependentOnChildrenBase();
- }
-
- /**
- * @brief Register a visual by Property Index, linking an Actor to visual when required.
- * In the case of the visual being an actor or control deeming visual not required then visual should be an empty handle.
- * No parenting is done during registration, this should be done by derived class.
- *
- * @param[in] index The Property index of the visual, used to reference visual
- * @param[in] visual The visual to register
- * @note Derived class should not call visual.SetOnStage(actor). It is the responsibility of the base class to connect/disconnect registered visual to stage.
- * Use below API with enabled set to false if derived class wishes to control when visual is staged.
- */
- protected void RegisterVisual(int index, VisualBase visual)
- {
- viewWrapperImpl.RegisterVisual(index, visual);
- }
-
- /**
- * @brief Register a visual by Property Index, linking an Actor to visual when required.
- * In the case of the visual being an actor or control deeming visual not required then visual should be an empty handle.
- * If enabled is false then the visual is not set on stage until enabled by the derived class.
- * @see EnableVisual
- *
- * @param[in] index The Property index of the visual, used to reference visual
- * @param[in] visual The visual to register
- * @param[in] enabled false if derived class wants to control when visual is set on stage.
- *
- */
- protected void RegisterVisual(int index, VisualBase visual, bool enabled)
- {
- viewWrapperImpl.RegisterVisual(index, visual, enabled);
- }
-
- /**
- * @brief Erase the entry matching the given index from the list of registered visuals
- * @param[in] index The Property index of the visual, used to reference visual
- *
- */
- protected void UnregisterVisual(int index)
- {
- viewWrapperImpl.UnregisterVisual(index);
- }
-
- /**
- * @brief Retrieve the visual associated with the given property index.
- *
- * @param[in] index The Property index of the visual.
- * @return The registered visual if exist, otherwise empty handle.
- * @note For managing object life-cycle, do not store the returned visual as a member which increments its reference count.
- */
- protected VisualBase GetVisual(int index)
- {
- return viewWrapperImpl.GetVisual(index);
- }
-
- /**
- * @brief Sets the given visual to be displayed or not when parent staged.
- *
- * @param[in] index The Property index of the visual
- * @param[in] enable flag to set enabled or disabled.
- */
- protected void EnableVisual(int index, bool enable)
- {
- viewWrapperImpl.EnableVisual(index, enable);
- }
-
- /**
- * @brief Queries if the given visual is to be displayed when parent staged.
- *
- * @param[in] index The Property index of the visual
- * @return bool whether visual is enabled or not
- */
- protected bool IsVisualEnabled(int index)
- {
- return viewWrapperImpl.IsVisualEnabled(index);
- }
-
- /**
- * @brief Create a transition effect on the control.
- *
- * @param[in] transitionData The transition data describing the effect to create
- * @return A handle to an animation defined with the given effect, or an empty
- * handle if no properties match.
- */
- protected Animation CreateTransition(TransitionData transitionData)
- {
- return viewWrapperImpl.CreateTransition(transitionData);
- }
-
- /**
- * @brief Emits KeyInputFocusGained signal if true else emits KeyInputFocusLost signal
- *
- * Should be called last by the control after it acts on the Input Focus change.
- *
- * @param[in] focusGained True if gained, False if lost
- */
- protected void EmitKeyInputFocusSignal(bool focusGained)
- {
- viewWrapperImpl.EmitKeyInputFocusSignal(focusGained);
- }
-
- /**
- * @brief This method is called after the Control has been initialized.
- *
- * Derived classes should do any second phase initialization by overriding this method.
- */
- public virtual void OnInitialize()
- {
- }
-
- /**
- * @brief Called after the actor has been connected to the stage.
- *
- * When an actor is connected, it will be directly or indirectly parented to the root Actor.
- * @param[in] depth The depth in the hierarchy for the actor
- *
- * @note The root Actor is provided automatically by Dali::Stage, and is always considered to be connected.
- * When the parent of a set of actors is connected to the stage, then all of the children
- * will received this callback.
- * For the following actor tree, the callback order will be A, B, D, E, C, and finally F.
- *
- * @code
- *
- * A (parent)
- * / \
- * B C
- * / \ \
- * D E F
- *
- * @endcode
- * @param[in] depth The depth in the hierarchy for the actor
- */
- public virtual void OnStageConnection(int depth)
- {
- }
-
- /**
- * @brief Called after the actor has been disconnected from Stage.
- *
- * If an actor is disconnected it either has no parent, or is parented to a disconnected actor.
- *
- * @note When the parent of a set of actors is disconnected to the stage, then all of the children
- * will received this callback, starting with the leaf actors.
- * For the following actor tree, the callback order will be D, E, B, F, C, and finally A.
- *
- * @code
- *
- * A (parent)
- * / \
- * B C
- * / \ \
- * D E F
- *
- * @endcode
- */
- public virtual void OnStageDisconnection()
- {
- }
-
- /**
- * @brief Called after a child has been added to the owning actor.
- *
- * @param[in] child The child which has been added
- */
- public virtual void OnChildAdd(Actor actor)
- {
- }
-
- /**
- * @brief Called after the owning actor has attempted to remove a child( regardless of whether it succeeded or not ).
- *
- * @param[in] child The child being removed
- */
- public virtual void OnChildRemove(Actor actor)
- {
- }
-
- /**
- * @brief Called when the owning actor property is set.
- *
- * @param[in] index The Property index that was set
- * @param[in] propertyValue The value to set
- */
- public virtual void OnPropertySet(int index, Tizen.NUI.PropertyValue propertyValue)
- {
- }
-
- /**
- * @brief Called when the owning actor's size is set e.g. using Actor::SetSize().
- *
- * @param[in] targetSize The target size. Note that this target size may not match the size returned via Actor.GetTargetSize.
- */
- public virtual void OnSizeSet(Vector3 targetSize)
- {
- }
-
- /**
- * @brief Called when the owning actor's size is animated e.g. using Animation::AnimateTo( Property( actor, Actor::Property::SIZE ), ... ).
- *
- * @param[in] animation The object which is animating the owning actor.
- * @param[in] targetSize The target size. Note that this target size may not match the size returned via @ref Actor.GetTargetSize.
- */
- public virtual void OnSizeAnimation(Animation animation, Vector3 targetSize)
- {
- }
-
- /**
- * @DEPRECATED_1_1.37 Connect to TouchSignal() instead.
- *
- * @brief Called after a touch-event is received by the owning actor.
- *
- * @param[in] touch The touch event
- * @return True if the event should be consumed.
- * @note CustomViewBehaviour.REQUIRES_TOUCH_EVENTS must be enabled during construction. See CustomView(ViewWrapperImpl.CustomViewBehaviour behaviour).
- */
- public virtual bool OnTouch(Touch touch)
- {
- return false; // Do not consume
- }
-
- /**
- * @brief Called after a hover-event is received by the owning actor.
- *
- * @param[in] hover The hover event
- * @return True if the hover event should be consumed.
- * @note CustomViewBehaviour.REQUIRES_HOVER_EVENTS must be enabled during construction. See CustomView(ViewWrapperImpl.CustomViewBehaviour behaviour).
- */
- public virtual bool OnHover(Hover hover)
- {
- return false; // Do not consume
- }
-
- /**
- * @brief Called after a key-event is received by the actor that has had its focus set.
- *
- * @param[in] key the Key Event
- * @return True if the event should be consumed.
- */
- public virtual bool OnKey(Key key)
- {
- return false; // Do not consume
- }
-
- /**
- * @brief Called after a wheel-event is received by the owning actor.
- *
- * @param[in] wheel The wheel event
- * @return True if the event should be consumed.
- * @note CustomViewBehaviour.REQUIRES_WHEEL_EVENTS must be enabled during construction. See CustomView(ViewWrapperImpl.CustomViewBehaviour behaviour).
- */
- public virtual bool OnWheel(Wheel wheel)
- {
- return false; // Do not consume
- }
-
- /**
- * @brief Called after the size negotiation has been finished for this control.
- *
- * The control is expected to assign this given size to itself/its children.
- *
- * Should be overridden by derived classes if they need to layout
- * actors differently after certain operations like add or remove
- * actors, resize or after changing specific properties.
- *
- * @param[in] size The allocated size.
- * @param[in,out] container The control should add actors to this container that it is not able
- * to allocate a size for.
- * @note As this function is called from inside the size negotiation algorithm, you cannot
- * call RequestRelayout (the call would just be ignored).
- */
- public virtual void OnRelayout(Vector2 size, RelayoutContainer container)
- {
- }
-
- /**
- * @brief Notification for deriving classes
- *
- * @param[in] policy The policy being set
- * @param[in] dimension The dimension the policy is being set for
- */
- public virtual void OnSetResizePolicy(ResizePolicyType policy, DimensionType dimension)
- {
- }
-
- /**
- * @brief Return the natural size of the actor.
- *
- * @return The actor's natural size
- */
- public virtual Size GetNaturalSize()
- {
- return new Size(0.0f, 0.0f, 0.0f);
- }
-
- /**
- * @brief Calculate the size for a child.
- *
- * @param[in] child The child actor to calculate the size for
- * @param[in] dimension The dimension to calculate the size for. E.g. width or height.
- * @return Return the calculated size for the given dimension.
- */
- public virtual float CalculateChildSize(Actor child, DimensionType dimension)
- {
- return viewWrapperImpl.CalculateChildSizeBase(child, dimension);
- }
-
- /**
- * @brief This method is called during size negotiation when a height is required for a given width.
- *
- * Derived classes should override this if they wish to customize the height returned.
- *
- * @param width Width to use.
- * @return The height based on the width.
- */
- public virtual float GetHeightForWidth(float width)
- {
- return viewWrapperImpl.GetHeightForWidthBase(width);
- }
-
- /**
- * @brief This method is called during size negotiation when a width is required for a given height.
- *
- * Derived classes should override this if they wish to customize the width returned.
- *
- * @param height Height to use.
- * @return The width based on the width.
- */
- public virtual float GetWidthForHeight(float height)
- {
- return viewWrapperImpl.GetWidthForHeightBase(height);
- }
-
- /**
- * @brief Determine if this actor is dependent on it's children for relayout.
- *
- * @param dimension The dimension(s) to check for
- * @return Return if the actor is dependent on it's children.
- */
- public virtual bool RelayoutDependentOnChildren(DimensionType dimension)
- {
- return viewWrapperImpl.RelayoutDependentOnChildrenBase(dimension);
- }
-
- /**
- * @brief Determine if this actor is dependent on it's children for relayout from the base class.
- *
- * @return Return if the actor is dependent on it's children.
- */
- public virtual bool RelayoutDependentOnChildren()
- {
- return viewWrapperImpl.RelayoutDependentOnChildrenBase();
- }
-
- /**
- * @brief Virtual method to notify deriving classes that relayout dependencies have been
- * met and the size for this object is about to be calculated for the given dimension
- *
- * @param dimension The dimension that is about to be calculated
- */
- public virtual void OnCalculateRelayoutSize(DimensionType dimension)
- {
- }
-
- /**
- * @brief Virtual method to notify deriving classes that the size for a dimension
- * has just been negotiated
- *
- * @param[in] size The new size for the given dimension
- * @param[in] dimension The dimension that was just negotiated
- */
- public virtual void OnLayoutNegotiated(float size, DimensionType dimension)
- {
- }
-
- /**
- * @brief This method should be overridden by deriving classes requiring notifications when the style changes.
- *
- * @param[in] styleManager The StyleManager object.
- * @param[in] change Information denoting what has changed.
- */
- public virtual void OnStyleChange(StyleManager styleManager, StyleChangeType change)
- {
- }
-
- /**
- * @brief This method is called when the control is accessibility activated.
- *
- * Derived classes should override this to perform custom accessibility activation.
- * @return true if this control can perform accessibility activation.
- */
- internal virtual bool OnAccessibilityActivated()
- {
- return false;
- }
-
- /**
- * @brief This method should be overridden by deriving classes when they wish to respond the accessibility
- * pan gesture.
- *
- * @param[in] gesture The pan gesture.
- * @return true if the pan gesture has been consumed by this control
- */
- internal virtual bool OnAccessibilityPan(PanGesture gestures)
- {
- return false;
- }
-
- /**
- * @brief This method should be overridden by deriving classes when they wish to respond the accessibility
- * touch event.
- *
- * @param[in] touch The touch event.
- * @return true if the touch event has been consumed by this control
- */
- internal virtual bool OnAccessibilityTouch(Touch touch)
- {
- return false;
- }
-
- /**
- * @brief This method should be overridden by deriving classes when they wish to respond
- * the accessibility up and down action (i.e. value change of slider control).
- *
- * @param[in] isIncrease Whether the value should be increased or decreased
- * @return true if the value changed action has been consumed by this control
- */
- internal virtual bool OnAccessibilityValueChange(bool isIncrease)
- {
- return false;
- }
-
- /**
- * @brief This method should be overridden by deriving classes when they wish to respond
- * the accessibility zoom action.
- *
- * @return true if the zoom action has been consumed by this control
- */
- internal virtual bool OnAccessibilityZoom()
- {
- return false;
- }
-
- /**
- * @brief This method should be overridden by deriving classes when they wish to respond
- * the accessibility zoom action.
- *
- * @return true if the zoom action has been consumed by this control
- */
- public virtual void OnFocusGained()
- {
- }
-
- /**
- * @brief Called when the control loses key input focus.
- *
- * Should be overridden by derived classes if they need to customize what happens when focus is lost.
- */
- public virtual void OnFocusLost()
- {
- }
-
- /**
- * @brief Gets the next keyboard focusable actor in this control towards the given direction.
- *
- * A control needs to override this function in order to support two dimensional keyboard navigation.
- * @param[in] currentFocusedActor The current focused actor.
- * @param[in] direction The direction to move the focus towards.
- * @param[in] loopEnabled Whether the focus movement should be looped within the control.
- * @return the next keyboard focusable actor in this control or an empty handle if no actor can be focused.
- */
- public virtual View GetNextFocusableView(View currentFocusedView, View.FocusDirection direction, bool loopEnabled)
- {
- return new View();
- }
-
- /**
- * @brief Informs this control that its chosen focusable actor will be focused.
- *
- * This allows the application to preform any actions if wishes
- * before the focus is actually moved to the chosen actor.
- *
- * @param[in] commitedFocusableActor The commited focusable actor.
- */
- public virtual void OnFocusChangeCommitted(View commitedFocusableView)
- {
- }
-
-
- /**
- * @brief This method is called when the control has enter pressed on it.
- *
- * Derived classes should override this to perform custom actions.
- * @return true if this control supported this action.
- */
- public virtual bool OnKeyEnter()
- {
- return false;
- }
-
-
- /**
- * @brief Called whenever a pinch gesture is detected on this control.
- *
- * This can be overridden by deriving classes when pinch detection
- * is enabled. The default behaviour is to scale the control by the
- * pinch scale.
- *
- * @param[in] pinch The pinch gesture.
- * @note If overridden, then the default behaviour will not occur.
- * @note Pinch detection should be enabled via EnableGestureDetection().
- * @see EnableGestureDetection
- */
- internal virtual void OnPinch(PinchGesture pinch)
- {
- }
-
- /**
- * @brief Called whenever a pan gesture is detected on this control.
- *
- * This should be overridden by deriving classes when pan detection
- * is enabled.
- *
- * @param[in] pan The pan gesture.
- * @note There is no default behaviour with panning.
- * @note Pan detection should be enabled via EnableGestureDetection().
- * @see EnableGestureDetection
- */
- internal virtual void OnPan(PanGesture pan)
- {
- }
-
- /**
- * @brief Called whenever a tap gesture is detected on this control.
- *
- * This should be overridden by deriving classes when tap detection
- * is enabled.
- *
- * @param[in] tap The tap gesture.
- * @note There is no default behaviour with a tap.
- * @note Tap detection should be enabled via EnableGestureDetection().
- * @see EnableGestureDetection
- */
- internal virtual void OnTap(TapGesture tap)
- {
- }
-
- /**
- * @brief Called whenever a long press gesture is detected on this control.
- *
- * This should be overridden by deriving classes when long press
- * detection is enabled.
- *
- * @param[in] longPress The long press gesture.
- * @note There is no default behaviour associated with a long press.
- * @note Long press detection should be enabled via EnableGestureDetection().
- * @see EnableGestureDetection
- */
- internal virtual void OnLongPress(LongPressGesture longPress)
- {
- }
-
- private void SignalConnected(SlotObserver slotObserver, SWIGTYPE_p_Dali__CallbackBase callback)
- {
- }
-
- private void SignalDisconnected(SlotObserver slotObserver, SWIGTYPE_p_Dali__CallbackBase callback)
- {
- }
-
- private void OnControlChildAdd(Actor child)
- {
- }
-
- private void OnControlChildRemove(Actor child)
- {
- }
- }
- public enum ViewBehaviour
- {
- ViewBehaviourDefault = 0,
- DisableSizeNegotiation = 1 << 0,
- RequiresKeyboardNavigationSupport = 1 << 5,
- DisableStyleChangeSignals = 1 << 6,
- LastViewBehaviourFlag
- }
-
-}
+/*\r
+ * Copyright (c) 2016 Samsung Electronics Co., Ltd.\r
+ *\r
+ * Licensed under the Apache License, Version 2.0 (the "License");\r
+ * you may not use this file except in compliance with the License.\r
+ * You may obtain a copy of the License at\r
+ *\r
+ * http://www.apache.org/licenses/LICENSE-2.0\r
+ *\r
+ * Unless required by applicable law or agreed to in writing, software\r
+ * distributed under the License is distributed on an "AS IS" BASIS,\r
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
+ * See the License for the specific language governing permissions and\r
+ * limitations under the License.\r
+ *\r
+ */\r
+\r
+namespace Tizen.NUI\r
+{\r
+ public class CustomView : ViewWrapper\r
+ {\r
+ public CustomView(string typeName, CustomViewBehaviour behaviour) : base(typeName, new ViewWrapperImpl(behaviour))\r
+ {\r
+ // Registering CustomView virtual functions to viewWrapperImpl delegates.\r
+ viewWrapperImpl.OnStageConnection = new ViewWrapperImpl.OnStageConnectionDelegate(OnStageConnection);\r
+ viewWrapperImpl.OnStageDisconnection = new ViewWrapperImpl.OnStageDisconnectionDelegate(OnStageDisconnection);\r
+ viewWrapperImpl.OnChildAdd = new ViewWrapperImpl.OnChildAddDelegate(OnChildAdd);\r
+ viewWrapperImpl.OnChildRemove = new ViewWrapperImpl.OnChildRemoveDelegate(OnChildRemove);\r
+ viewWrapperImpl.OnPropertySet = new ViewWrapperImpl.OnPropertySetDelegate(OnPropertySet);\r
+ viewWrapperImpl.OnSizeSet = new ViewWrapperImpl.OnSizeSetDelegate(OnSizeSet);\r
+ viewWrapperImpl.OnSizeAnimation = new ViewWrapperImpl.OnSizeAnimationDelegate(OnSizeAnimation);\r
+ viewWrapperImpl.OnTouch = new ViewWrapperImpl.OnTouchDelegate(OnTouch);\r
+ viewWrapperImpl.OnHover = new ViewWrapperImpl.OnHoverDelegate(OnHover);\r
+ viewWrapperImpl.OnKey = new ViewWrapperImpl.OnKeyDelegate(OnKey);\r
+ viewWrapperImpl.OnWheel = new ViewWrapperImpl.OnWheelDelegate(OnWheel);\r
+ viewWrapperImpl.OnRelayout = new ViewWrapperImpl.OnRelayoutDelegate(OnRelayout);\r
+ viewWrapperImpl.OnSetResizePolicy = new ViewWrapperImpl.OnSetResizePolicyDelegate(OnSetResizePolicy);\r
+ viewWrapperImpl.GetNaturalSize = new ViewWrapperImpl.GetNaturalSizeDelegate(GetNaturalSize);\r
+ viewWrapperImpl.CalculateChildSize = new ViewWrapperImpl.CalculateChildSizeDelegate(CalculateChildSize);\r
+ viewWrapperImpl.GetHeightForWidth = new ViewWrapperImpl.GetHeightForWidthDelegate(GetHeightForWidth);\r
+ viewWrapperImpl.GetWidthForHeight = new ViewWrapperImpl.GetWidthForHeightDelegate(GetWidthForHeight);\r
+ viewWrapperImpl.RelayoutDependentOnChildrenDimension = new ViewWrapperImpl.RelayoutDependentOnChildrenDimensionDelegate(RelayoutDependentOnChildren);\r
+ viewWrapperImpl.RelayoutDependentOnChildren = new ViewWrapperImpl.RelayoutDependentOnChildrenDelegate(RelayoutDependentOnChildren);\r
+ viewWrapperImpl.OnCalculateRelayoutSize = new ViewWrapperImpl.OnCalculateRelayoutSizeDelegate(OnCalculateRelayoutSize);\r
+ viewWrapperImpl.OnLayoutNegotiated = new ViewWrapperImpl.OnLayoutNegotiatedDelegate(OnLayoutNegotiated);\r
+ viewWrapperImpl.OnControlChildAdd = new ViewWrapperImpl.OnControlChildAddDelegate(OnControlChildAdd);\r
+ viewWrapperImpl.OnControlChildRemove = new ViewWrapperImpl.OnControlChildRemoveDelegate(OnControlChildRemove);\r
+ viewWrapperImpl.OnStyleChange = new ViewWrapperImpl.OnStyleChangeDelegate(OnStyleChange);\r
+ viewWrapperImpl.OnAccessibilityActivated = new ViewWrapperImpl.OnAccessibilityActivatedDelegate(OnAccessibilityActivated);\r
+ viewWrapperImpl.OnAccessibilityPan = new ViewWrapperImpl.OnAccessibilityPanDelegate(OnAccessibilityPan);\r
+ viewWrapperImpl.OnAccessibilityTouch = new ViewWrapperImpl.OnAccessibilityTouchDelegate(OnAccessibilityTouch);\r
+ viewWrapperImpl.OnAccessibilityValueChange = new ViewWrapperImpl.OnAccessibilityValueChangeDelegate(OnAccessibilityValueChange);\r
+ viewWrapperImpl.OnAccessibilityZoom = new ViewWrapperImpl.OnAccessibilityZoomDelegate(OnAccessibilityZoom);\r
+ viewWrapperImpl.OnKeyInputFocusGained = new ViewWrapperImpl.OnKeyInputFocusGainedDelegate(OnKeyInputFocusGained);\r
+ viewWrapperImpl.OnKeyInputFocusLost = new ViewWrapperImpl.OnKeyInputFocusLostDelegate(OnKeyInputFocusLost);\r
+ viewWrapperImpl.GetNextKeyboardFocusableActor = new ViewWrapperImpl.GetNextKeyboardFocusableActorDelegate(GetNextKeyboardFocusableActor);\r
+ viewWrapperImpl.OnKeyboardFocusChangeCommitted = new ViewWrapperImpl.OnKeyboardFocusChangeCommittedDelegate(OnKeyboardFocusChangeCommitted);\r
+ viewWrapperImpl.OnKeyboardEnter = new ViewWrapperImpl.OnKeyboardEnterDelegate(OnKeyboardEnter);\r
+ viewWrapperImpl.OnPinch = new ViewWrapperImpl.OnPinchDelegate(OnPinch);\r
+ viewWrapperImpl.OnPan = new ViewWrapperImpl.OnPanDelegate(OnPan);\r
+ viewWrapperImpl.OnTap = new ViewWrapperImpl.OnTapDelegate(OnTap);\r
+ viewWrapperImpl.OnLongPress = new ViewWrapperImpl.OnLongPressDelegate(OnLongPress);\r
+\r
+ // Make sure CustomView is initialized.\r
+ OnInitialize();\r
+\r
+ // Set the StyleName the name of the View\r
+ // We have to do this because the StyleManager on Native side can't workout it out\r
+ // This will also ensure that the style of actors/visuals initialized above are applied by the style manager.\r
+ SetStyleName(this.GetType().Name);\r
+ }\r
+\r
+ /**\r
+ * @brief Set the background with a property map.\r
+ *\r
+ * @param[in] map The background property map.\r
+ */\r
+ public void SetBackground(Tizen.NUI.PropertyMap map)\r
+ {\r
+ viewWrapperImpl.SetBackground(map);\r
+ }\r
+\r
+ /**\r
+ * @brief Allows deriving classes to enable any of the gesture detectors that are available.\r
+ *\r
+ * Gesture detection can be enabled one at a time or in bitwise format as shown:\r
+ * @code\r
+ * EnableGestureDetection(Gesture.Type.Pinch | Gesture.Type.Tap | Gesture.Type.Pan));\r
+ * @endcode\r
+ * @param[in] type The gesture type(s) to enable.\r
+ */\r
+ internal void EnableGestureDetection(Gesture.GestureType type)\r
+ {\r
+ viewWrapperImpl.EnableGestureDetection(type);\r
+ }\r
+\r
+ /**\r
+ * @brief Allows deriving classes to disable any of the gesture detectors.\r
+ *\r
+ * Like EnableGestureDetection, this can also be called using bitwise or.\r
+ * @param[in] type The gesture type(s) to disable.\r
+ * @see EnableGetureDetection\r
+ */\r
+ internal void DisableGestureDetection(Gesture.GestureType type)\r
+ {\r
+ viewWrapperImpl.DisableGestureDetection(type);\r
+ }\r
+\r
+ /**\r
+ * @brief Sets whether this control supports two dimensional\r
+ * keyboard navigation (i.e. whether it knows how to handle the\r
+ * keyboard focus movement between its child actors).\r
+ *\r
+ * The control doesn't support it by default.\r
+ * @param[in] isSupported Whether this control supports two dimensional keyboard navigation.\r
+ */\r
+\r
+ public bool FocusNavigationSupport\r
+ {\r
+ get\r
+ {\r
+ return IsKeyboardNavigationSupported();\r
+ }\r
+ set\r
+ {\r
+ SetKeyboardNavigationSupport(value);\r
+ }\r
+ }\r
+\r
+ internal void SetKeyboardNavigationSupport(bool isSupported)\r
+ {\r
+ viewWrapperImpl.SetKeyboardNavigationSupport(isSupported);\r
+ }\r
+\r
+\r
+ /**\r
+ * @brief Gets whether this control supports two dimensional keyboard navigation.\r
+ *\r
+ * @return true if this control supports two dimensional keyboard navigation.\r
+ */\r
+ internal bool IsKeyboardNavigationSupported()\r
+ {\r
+ return viewWrapperImpl.IsKeyboardNavigationSupported();\r
+ }\r
+\r
+\r
+ public bool FocusGroup\r
+ {\r
+ get\r
+ {\r
+ return IsKeyboardFocusGroup();\r
+ }\r
+ set\r
+ {\r
+ SetAsKeyboardFocusGroup(value);\r
+ }\r
+ }\r
+\r
+ /**\r
+ * @brief Sets whether this control is a focus group for keyboard navigation.\r
+ *\r
+ * (i.e. the scope of keyboard focus movement\r
+ * can be limitied to its child actors). The control is not a focus group by default.\r
+ * @param[in] isFocusGroup Whether this control is set as a focus group for keyboard navigation.\r
+ */\r
+ internal void SetAsKeyboardFocusGroup(bool isFocusGroup)\r
+ {\r
+ viewWrapperImpl.SetAsKeyboardFocusGroup(isFocusGroup);\r
+ }\r
+\r
+ /**\r
+ * @brief Gets whether this control is a focus group for keyboard navigation.\r
+ *\r
+ * @return true if this control is set as a focus group for keyboard navigation.\r
+ */\r
+ internal bool IsKeyboardFocusGroup()\r
+ {\r
+ return viewWrapperImpl.IsKeyboardFocusGroup();\r
+ }\r
+\r
+ /**\r
+ * @brief Called by the AccessibilityManager to activate the Control.\r
+ * @SINCE_1_0.0\r
+ */\r
+ internal void AccessibilityActivate()\r
+ {\r
+ viewWrapperImpl.AccessibilityActivate();\r
+ }\r
+\r
+ /**\r
+ * @brief Called by the KeyboardFocusManager.\r
+ */\r
+ public void KeyboardEnter()\r
+ {\r
+ viewWrapperImpl.KeyboardEnter();\r
+ }\r
+\r
+ /**\r
+ * @brief Called by the KeyInputFocusManager to emit key event signals.\r
+ *\r
+ * @param[in] key The key event.\r
+ * @return True if the event was consumed.\r
+ */\r
+ public bool EmitKeyEventSignal(Key key)\r
+ {\r
+ return viewWrapperImpl.EmitKeyEventSignal(key);\r
+ }\r
+\r
+ /**\r
+ * @brief Request a relayout, which means performing a size negotiation on this actor, its parent and children (and potentially whole scene).\r
+ *\r
+ * This method can also be called from a derived class every time it needs a different size.\r
+ * At the end of event processing, the relayout process starts and\r
+ * all controls which requested Relayout will have their sizes (re)negotiated.\r
+ *\r
+ * @note RelayoutRequest() can be called multiple times; the size negotiation is still\r
+ * only performed once, i.e. there is no need to keep track of this in the calling side.\r
+ */\r
+ protected void RelayoutRequest()\r
+ {\r
+ viewWrapperImpl.RelayoutRequest();\r
+ }\r
+\r
+ /**\r
+ * @brief Provides the Actor implementation of GetHeightForWidth.\r
+ * @param width Width to use.\r
+ * @return The height based on the width.\r
+ */\r
+ protected float GetHeightForWidthBase(float width)\r
+ {\r
+ return viewWrapperImpl.GetHeightForWidthBase(width);\r
+ }\r
+\r
+ /**\r
+ * @brief Provides the Actor implementation of GetWidthForHeight.\r
+ * @param height Height to use.\r
+ * @return The width based on the height.\r
+ */\r
+ protected float GetWidthForHeightBase(float height)\r
+ {\r
+ return viewWrapperImpl.GetWidthForHeightBase(height);\r
+ }\r
+\r
+ /**\r
+ * @brief Calculate the size for a child using the base actor object.\r
+ *\r
+ * @param[in] child The child actor to calculate the size for\r
+ * @param[in] dimension The dimension to calculate the size for. E.g. width or height\r
+ * @return Return the calculated size for the given dimension. If more than one dimension is requested, just return the first one found.\r
+ */\r
+ protected float CalculateChildSizeBase(Actor child, DimensionType dimension)\r
+ {\r
+ return viewWrapperImpl.CalculateChildSizeBase(child, dimension);\r
+ }\r
+\r
+ /**\r
+ * @brief Determine if this actor is dependent on it's children for relayout from the base class.\r
+ *\r
+ * @param dimension The dimension(s) to check for\r
+ * @return Return if the actor is dependent on it's children.\r
+ */\r
+ protected bool RelayoutDependentOnChildrenBase(DimensionType dimension)\r
+ {\r
+ return viewWrapperImpl.RelayoutDependentOnChildrenBase(dimension);\r
+ }\r
+\r
+ /**\r
+ * @brief Determine if this actor is dependent on it's children for relayout from the base class.\r
+ *\r
+ * @param dimension The dimension(s) to check for\r
+ * @return Return if the actor is dependent on it's children.\r
+ */\r
+ protected bool RelayoutDependentOnChildrenBase()\r
+ {\r
+ return viewWrapperImpl.RelayoutDependentOnChildrenBase();\r
+ }\r
+\r
+ /**\r
+ * @brief Register a visual by Property Index, linking an Actor to visual when required.\r
+ * In the case of the visual being an actor or control deeming visual not required then visual should be an empty handle.\r
+ * No parenting is done during registration, this should be done by derived class.\r
+ *\r
+ * @param[in] index The Property index of the visual, used to reference visual\r
+ * @param[in] visual The visual to register\r
+ * @note Derived class should not call visual.SetOnStage(actor). It is the responsibility of the base class to connect/disconnect registered visual to stage.\r
+ * Use below API with enabled set to false if derived class wishes to control when visual is staged.\r
+ */\r
+ protected void RegisterVisual(int index, VisualBase visual)\r
+ {\r
+ viewWrapperImpl.RegisterVisual(index, visual);\r
+ }\r
+\r
+ /**\r
+ * @brief Register a visual by Property Index, linking an Actor to visual when required.\r
+ * In the case of the visual being an actor or control deeming visual not required then visual should be an empty handle.\r
+ * If enabled is false then the visual is not set on stage until enabled by the derived class.\r
+ * @see EnableVisual\r
+ *\r
+ * @param[in] index The Property index of the visual, used to reference visual\r
+ * @param[in] visual The visual to register\r
+ * @param[in] enabled false if derived class wants to control when visual is set on stage.\r
+ *\r
+ */\r
+ protected void RegisterVisual(int index, VisualBase visual, bool enabled)\r
+ {\r
+ viewWrapperImpl.RegisterVisual(index, visual, enabled);\r
+ }\r
+\r
+ /**\r
+ * @brief Erase the entry matching the given index from the list of registered visuals\r
+ * @param[in] index The Property index of the visual, used to reference visual\r
+ *\r
+ */\r
+ protected void UnregisterVisual(int index)\r
+ {\r
+ viewWrapperImpl.UnregisterVisual(index);\r
+ }\r
+\r
+ /**\r
+ * @brief Retrieve the visual associated with the given property index.\r
+ *\r
+ * @param[in] index The Property index of the visual.\r
+ * @return The registered visual if exist, otherwise empty handle.\r
+ * @note For managing object life-cycle, do not store the returned visual as a member which increments its reference count.\r
+ */\r
+ protected VisualBase GetVisual(int index)\r
+ {\r
+ return viewWrapperImpl.GetVisual(index);\r
+ }\r
+\r
+ /**\r
+ * @brief Sets the given visual to be displayed or not when parent staged.\r
+ *\r
+ * @param[in] index The Property index of the visual\r
+ * @param[in] enable flag to set enabled or disabled.\r
+ */\r
+ protected void EnableVisual(int index, bool enable)\r
+ {\r
+ viewWrapperImpl.EnableVisual(index, enable);\r
+ }\r
+\r
+ /**\r
+ * @brief Queries if the given visual is to be displayed when parent staged.\r
+ *\r
+ * @param[in] index The Property index of the visual\r
+ * @return bool whether visual is enabled or not\r
+ */\r
+ protected bool IsVisualEnabled(int index)\r
+ {\r
+ return viewWrapperImpl.IsVisualEnabled(index);\r
+ }\r
+\r
+ /**\r
+ * @brief Create a transition effect on the control.\r
+ *\r
+ * @param[in] transitionData The transition data describing the effect to create\r
+ * @return A handle to an animation defined with the given effect, or an empty\r
+ * handle if no properties match.\r
+ */\r
+ protected Animation CreateTransition(TransitionData transitionData)\r
+ {\r
+ return viewWrapperImpl.CreateTransition(transitionData);\r
+ }\r
+\r
+ /**\r
+ * @brief Emits KeyInputFocusGained signal if true else emits KeyInputFocusLost signal\r
+ *\r
+ * Should be called last by the control after it acts on the Input Focus change.\r
+ *\r
+ * @param[in] focusGained True if gained, False if lost\r
+ */\r
+ protected void EmitKeyInputFocusSignal(bool focusGained)\r
+ {\r
+ viewWrapperImpl.EmitKeyInputFocusSignal(focusGained);\r
+ }\r
+\r
+ /**\r
+ * @brief This method is called after the Control has been initialized.\r
+ *\r
+ * Derived classes should do any second phase initialization by overriding this method.\r
+ */\r
+ public virtual void OnInitialize()\r
+ {\r
+ }\r
+\r
+ /**\r
+ * @brief Called after the actor has been connected to the stage.\r
+ *\r
+ * When an actor is connected, it will be directly or indirectly parented to the root Actor.\r
+ * @param[in] depth The depth in the hierarchy for the actor\r
+ *\r
+ * @note The root Actor is provided automatically by Dali::Stage, and is always considered to be connected.\r
+ * When the parent of a set of actors is connected to the stage, then all of the children\r
+ * will received this callback.\r
+ * For the following actor tree, the callback order will be A, B, D, E, C, and finally F.\r
+ *\r
+ * @code\r
+ *\r
+ * A (parent)\r
+ * / \\r
+ * B C\r
+ * / \ \\r
+ * D E F\r
+ *\r
+ * @endcode\r
+ * @param[in] depth The depth in the hierarchy for the actor\r
+ */\r
+ public virtual void OnStageConnection(int depth)\r
+ {\r
+ }\r
+\r
+ /**\r
+ * @brief Called after the actor has been disconnected from Stage.\r
+ *\r
+ * If an actor is disconnected it either has no parent, or is parented to a disconnected actor.\r
+ *\r
+ * @note When the parent of a set of actors is disconnected to the stage, then all of the children\r
+ * will received this callback, starting with the leaf actors.\r
+ * For the following actor tree, the callback order will be D, E, B, F, C, and finally A.\r
+ *\r
+ * @code\r
+ *\r
+ * A (parent)\r
+ * / \\r
+ * B C\r
+ * / \ \\r
+ * D E F\r
+ *\r
+ * @endcode\r
+ */\r
+ public virtual void OnStageDisconnection()\r
+ {\r
+ }\r
+\r
+ /**\r
+ * @brief Called after a child has been added to the owning actor.\r
+ *\r
+ * @param[in] child The child which has been added\r
+ */\r
+ public virtual void OnChildAdd(Actor actor)\r
+ {\r
+ }\r
+\r
+ /**\r
+ * @brief Called after the owning actor has attempted to remove a child( regardless of whether it succeeded or not ).\r
+ *\r
+ * @param[in] child The child being removed\r
+ */\r
+ public virtual void OnChildRemove(Actor actor)\r
+ {\r
+ }\r
+\r
+ /**\r
+ * @brief Called when the owning actor property is set.\r
+ *\r
+ * @param[in] index The Property index that was set\r
+ * @param[in] propertyValue The value to set\r
+ */\r
+ public virtual void OnPropertySet(int index, Tizen.NUI.PropertyValue propertyValue)\r
+ {\r
+ }\r
+\r
+ /**\r
+ * @brief Called when the owning actor's size is set e.g. using Actor::SetSize().\r
+ *\r
+ * @param[in] targetSize The target size. Note that this target size may not match the size returned via Actor.GetTargetSize.\r
+ */\r
+ public virtual void OnSizeSet(Vector3 targetSize)\r
+ {\r
+ }\r
+\r
+ /**\r
+ * @brief Called when the owning actor's size is animated e.g. using Animation::AnimateTo( Property( actor, Actor::Property::SIZE ), ... ).\r
+ *\r
+ * @param[in] animation The object which is animating the owning actor.\r
+ * @param[in] targetSize The target size. Note that this target size may not match the size returned via @ref Actor.GetTargetSize.\r
+ */\r
+ public virtual void OnSizeAnimation(Animation animation, Vector3 targetSize)\r
+ {\r
+ }\r
+\r
+ /**\r
+ * @DEPRECATED_1_1.37 Connect to TouchSignal() instead.\r
+ *\r
+ * @brief Called after a touch-event is received by the owning actor.\r
+ *\r
+ * @param[in] touch The touch event\r
+ * @return True if the event should be consumed.\r
+ * @note CustomViewBehaviour.REQUIRES_TOUCH_EVENTS must be enabled during construction. See CustomView(ViewWrapperImpl.CustomViewBehaviour behaviour).\r
+ */\r
+ public virtual bool OnTouch(Touch touch)\r
+ {\r
+ return false; // Do not consume\r
+ }\r
+\r
+ /**\r
+ * @brief Called after a hover-event is received by the owning actor.\r
+ *\r
+ * @param[in] hover The hover event\r
+ * @return True if the hover event should be consumed.\r
+ * @note CustomViewBehaviour.REQUIRES_HOVER_EVENTS must be enabled during construction. See CustomView(ViewWrapperImpl.CustomViewBehaviour behaviour).\r
+ */\r
+ public virtual bool OnHover(Hover hover)\r
+ {\r
+ return false; // Do not consume\r
+ }\r
+\r
+ /**\r
+ * @brief Called after a key-event is received by the actor that has had its focus set.\r
+ *\r
+ * @param[in] key the Key Event\r
+ * @return True if the event should be consumed.\r
+ */\r
+ public virtual bool OnKey(Key key)\r
+ {\r
+ return false; // Do not consume\r
+ }\r
+\r
+ /**\r
+ * @brief Called after a wheel-event is received by the owning actor.\r
+ *\r
+ * @param[in] wheel The wheel event\r
+ * @return True if the event should be consumed.\r
+ * @note CustomViewBehaviour.REQUIRES_WHEEL_EVENTS must be enabled during construction. See CustomView(ViewWrapperImpl.CustomViewBehaviour behaviour).\r
+ */\r
+ public virtual bool OnWheel(Wheel wheel)\r
+ {\r
+ return false; // Do not consume\r
+ }\r
+\r
+ /**\r
+ * @brief Called after the size negotiation has been finished for this control.\r
+ *\r
+ * The control is expected to assign this given size to itself/its children.\r
+ *\r
+ * Should be overridden by derived classes if they need to layout\r
+ * actors differently after certain operations like add or remove\r
+ * actors, resize or after changing specific properties.\r
+ *\r
+ * @param[in] size The allocated size.\r
+ * @param[in,out] container The control should add actors to this container that it is not able\r
+ * to allocate a size for.\r
+ * @note As this function is called from inside the size negotiation algorithm, you cannot\r
+ * call RequestRelayout (the call would just be ignored).\r
+ */\r
+ public virtual void OnRelayout(Vector2 size, RelayoutContainer container)\r
+ {\r
+ }\r
+\r
+ /**\r
+ * @brief Notification for deriving classes\r
+ *\r
+ * @param[in] policy The policy being set\r
+ * @param[in] dimension The dimension the policy is being set for\r
+ */\r
+ public virtual void OnSetResizePolicy(ResizePolicyType policy, DimensionType dimension)\r
+ {\r
+ }\r
+\r
+ /**\r
+ * @brief Return the natural size of the actor.\r
+ *\r
+ * @return The actor's natural size\r
+ */\r
+ public virtual Size GetNaturalSize()\r
+ {\r
+ return new Size(0.0f, 0.0f, 0.0f);\r
+ }\r
+\r
+ /**\r
+ * @brief Calculate the size for a child.\r
+ *\r
+ * @param[in] child The child actor to calculate the size for\r
+ * @param[in] dimension The dimension to calculate the size for. E.g. width or height.\r
+ * @return Return the calculated size for the given dimension.\r
+ */\r
+ public virtual float CalculateChildSize(Actor child, DimensionType dimension)\r
+ {\r
+ return viewWrapperImpl.CalculateChildSizeBase(child, dimension);\r
+ }\r
+\r
+ /**\r
+ * @brief This method is called during size negotiation when a height is required for a given width.\r
+ *\r
+ * Derived classes should override this if they wish to customize the height returned.\r
+ *\r
+ * @param width Width to use.\r
+ * @return The height based on the width.\r
+ */\r
+ public virtual float GetHeightForWidth(float width)\r
+ {\r
+ return viewWrapperImpl.GetHeightForWidthBase(width);\r
+ }\r
+\r
+ /**\r
+ * @brief This method is called during size negotiation when a width is required for a given height.\r
+ *\r
+ * Derived classes should override this if they wish to customize the width returned.\r
+ *\r
+ * @param height Height to use.\r
+ * @return The width based on the width.\r
+ */\r
+ public virtual float GetWidthForHeight(float height)\r
+ {\r
+ return viewWrapperImpl.GetWidthForHeightBase(height);\r
+ }\r
+\r
+ /**\r
+ * @brief Determine if this actor is dependent on it's children for relayout.\r
+ *\r
+ * @param dimension The dimension(s) to check for\r
+ * @return Return if the actor is dependent on it's children.\r
+ */\r
+ public virtual bool RelayoutDependentOnChildren(DimensionType dimension)\r
+ {\r
+ return viewWrapperImpl.RelayoutDependentOnChildrenBase(dimension);\r
+ }\r
+\r
+ /**\r
+ * @brief Determine if this actor is dependent on it's children for relayout from the base class.\r
+ *\r
+ * @return Return if the actor is dependent on it's children.\r
+ */\r
+ public virtual bool RelayoutDependentOnChildren()\r
+ {\r
+ return viewWrapperImpl.RelayoutDependentOnChildrenBase();\r
+ }\r
+\r
+ /**\r
+ * @brief Virtual method to notify deriving classes that relayout dependencies have been\r
+ * met and the size for this object is about to be calculated for the given dimension\r
+ *\r
+ * @param dimension The dimension that is about to be calculated\r
+ */\r
+ public virtual void OnCalculateRelayoutSize(DimensionType dimension)\r
+ {\r
+ }\r
+\r
+ /**\r
+ * @brief Virtual method to notify deriving classes that the size for a dimension\r
+ * has just been negotiated\r
+ *\r
+ * @param[in] size The new size for the given dimension\r
+ * @param[in] dimension The dimension that was just negotiated\r
+ */\r
+ public virtual void OnLayoutNegotiated(float size, DimensionType dimension)\r
+ {\r
+ }\r
+\r
+ /**\r
+ * @brief This method should be overridden by deriving classes requiring notifications when the style changes.\r
+ *\r
+ * @param[in] styleManager The StyleManager object.\r
+ * @param[in] change Information denoting what has changed.\r
+ */\r
+ public virtual void OnStyleChange(StyleManager styleManager, StyleChangeType change)\r
+ {\r
+ }\r
+\r
+ /**\r
+ * @brief This method is called when the control is accessibility activated.\r
+ *\r
+ * Derived classes should override this to perform custom accessibility activation.\r
+ * @return true if this control can perform accessibility activation.\r
+ */\r
+ internal virtual bool OnAccessibilityActivated()\r
+ {\r
+ return false;\r
+ }\r
+\r
+ /**\r
+ * @brief This method should be overridden by deriving classes when they wish to respond the accessibility\r
+ * pan gesture.\r
+ *\r
+ * @param[in] gesture The pan gesture.\r
+ * @return true if the pan gesture has been consumed by this control\r
+ */\r
+ internal virtual bool OnAccessibilityPan(PanGesture gestures)\r
+ {\r
+ return false;\r
+ }\r
+\r
+ /**\r
+ * @brief This method should be overridden by deriving classes when they wish to respond the accessibility\r
+ * touch event.\r
+ *\r
+ * @param[in] touch The touch event.\r
+ * @return true if the touch event has been consumed by this control\r
+ */\r
+ internal virtual bool OnAccessibilityTouch(Touch touch)\r
+ {\r
+ return false;\r
+ }\r
+\r
+ /**\r
+ * @brief This method should be overridden by deriving classes when they wish to respond\r
+ * the accessibility up and down action (i.e. value change of slider control).\r
+ *\r
+ * @param[in] isIncrease Whether the value should be increased or decreased\r
+ * @return true if the value changed action has been consumed by this control\r
+ */\r
+ internal virtual bool OnAccessibilityValueChange(bool isIncrease)\r
+ {\r
+ return false;\r
+ }\r
+\r
+ /**\r
+ * @brief This method should be overridden by deriving classes when they wish to respond\r
+ * the accessibility zoom action.\r
+ *\r
+ * @return true if the zoom action has been consumed by this control\r
+ */\r
+ internal virtual bool OnAccessibilityZoom()\r
+ {\r
+ return false;\r
+ }\r
+\r
+ /**\r
+ * @brief This method should be overridden by deriving classes when they wish to respond\r
+ * the accessibility zoom action.\r
+ *\r
+ * @return true if the zoom action has been consumed by this control\r
+ */\r
+ public virtual void OnKeyInputFocusGained()\r
+ {\r
+ }\r
+\r
+ /**\r
+ * @brief Called when the control loses key input focus.\r
+ *\r
+ * Should be overridden by derived classes if they need to customize what happens when focus is lost.\r
+ */\r
+ public virtual void OnKeyInputFocusLost()\r
+ {\r
+ }\r
+\r
+ /**\r
+ * @brief Gets the next keyboard focusable actor in this control towards the given direction.\r
+ *\r
+ * A control needs to override this function in order to support two dimensional keyboard navigation.\r
+ * @param[in] currentFocusedActor The current focused actor.\r
+ * @param[in] direction The direction to move the focus towards.\r
+ * @param[in] loopEnabled Whether the focus movement should be looped within the control.\r
+ * @return the next keyboard focusable actor in this control or an empty handle if no actor can be focused.\r
+ */\r
+ public virtual Actor GetNextKeyboardFocusableActor(Actor currentFocusedActor, View.FocusDirection direction, bool loopEnabled)\r
+ {\r
+ return new Actor();\r
+ }\r
+\r
+ /**\r
+ * @brief Informs this control that its chosen focusable actor will be focused.\r
+ *\r
+ * This allows the application to preform any actions if wishes\r
+ * before the focus is actually moved to the chosen actor.\r
+ *\r
+ * @param[in] commitedFocusableActor The commited focusable actor.\r
+ */\r
+ public virtual void OnKeyboardFocusChangeCommitted(Actor commitedFocusableActor)\r
+ {\r
+ }\r
+\r
+ /**\r
+ * @brief This method is called when the control has enter pressed on it.\r
+ *\r
+ * Derived classes should override this to perform custom actions.\r
+ * @return true if this control supported this action.\r
+ */\r
+ public virtual bool OnKeyboardEnter()\r
+ {\r
+ return false;\r
+ }\r
+\r
+ /**\r
+ * @brief Called whenever a pinch gesture is detected on this control.\r
+ *\r
+ * This can be overridden by deriving classes when pinch detection\r
+ * is enabled. The default behaviour is to scale the control by the\r
+ * pinch scale.\r
+ *\r
+ * @param[in] pinch The pinch gesture.\r
+ * @note If overridden, then the default behaviour will not occur.\r
+ * @note Pinch detection should be enabled via EnableGestureDetection().\r
+ * @see EnableGestureDetection\r
+ */\r
+ internal virtual void OnPinch(PinchGesture pinch)\r
+ {\r
+ }\r
+\r
+ /**\r
+ * @brief Called whenever a pan gesture is detected on this control.\r
+ *\r
+ * This should be overridden by deriving classes when pan detection\r
+ * is enabled.\r
+ *\r
+ * @param[in] pan The pan gesture.\r
+ * @note There is no default behaviour with panning.\r
+ * @note Pan detection should be enabled via EnableGestureDetection().\r
+ * @see EnableGestureDetection\r
+ */\r
+ public virtual void OnPan(PanGesture pan)\r
+ {\r
+ }\r
+\r
+ /**\r
+ * @brief Called whenever a tap gesture is detected on this control.\r
+ *\r
+ * This should be overridden by deriving classes when tap detection\r
+ * is enabled.\r
+ *\r
+ * @param[in] tap The tap gesture.\r
+ * @note There is no default behaviour with a tap.\r
+ * @note Tap detection should be enabled via EnableGestureDetection().\r
+ * @see EnableGestureDetection\r
+ */\r
+ internal virtual void OnTap(TapGesture tap)\r
+ {\r
+ }\r
+\r
+ /**\r
+ * @brief Called whenever a long press gesture is detected on this control.\r
+ *\r
+ * This should be overridden by deriving classes when long press\r
+ * detection is enabled.\r
+ *\r
+ * @param[in] longPress The long press gesture.\r
+ * @note There is no default behaviour associated with a long press.\r
+ * @note Long press detection should be enabled via EnableGestureDetection().\r
+ * @see EnableGestureDetection\r
+ */\r
+ internal virtual void OnLongPress(LongPressGesture longPress)\r
+ {\r
+ }\r
+\r
+ private void OnControlChildAdd(Actor child)\r
+ {\r
+ }\r
+\r
+ private void OnControlChildRemove(Actor child)\r
+ {\r
+ }\r
+ }\r
+ public enum CustomViewBehaviour\r
+ {\r
+ ViewBehaviourDefault = 0,\r
+ DisableSizeNegotiation = 1 << 0,\r
+ RequiresKeyboardNavigationSupport = 1 << 5,\r
+ DisableStyleChangeSignals = 1 << 6,\r
+ LastViewBehaviourFlag\r
+ }\r
+}\r
--- /dev/null
+/*\r
+ * Copyright (c) 2017 Samsung Electronics Co., Ltd.\r
+ *\r
+ * Licensed under the Apache License, Version 2.0 (the "License");\r
+ * you may not use this file except in compliance with the License.\r
+ * You may obtain a copy of the License at\r
+ *\r
+ * http://www.apache.org/licenses/LICENSE-2.0\r
+ *\r
+ * Unless required by applicable law or agreed to in writing, software\r
+ * distributed under the License is distributed on an "AS IS" BASIS,\r
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
+ * See the License for the specific language governing permissions and\r
+ * limitations under the License.\r
+ *\r
+ */\r
+\r
+using System;\r
+using System.Runtime.InteropServices;\r
+using Tizen.NUI;\r
+\r
+// A spin control (for continously changing values when users can easily predict a set of values)\r
+\r
+namespace Tizen.NUI\r
+{\r
+ public class Spin : CustomView\r
+ {\r
+ private VisualBase _arrowVisual;\r
+ private TextField _textField;\r
+ private int _arrowVisualPropertyIndex;\r
+ private string _arrowImage;\r
+ private int _currentValue;\r
+ private int _minValue;\r
+ private int _maxValue;\r
+ private int _singleStep;\r
+ private bool _wrappingEnabled;\r
+ private string _fontFamily;\r
+ private string _fontStyle;\r
+ private int _pointSize;\r
+ private Color _textColor;\r
+ private Color _textBackgroundColor;\r
+ private int _maxTextLength;\r
+\r
+ // Called by DALi Builder if it finds a Spin control in a JSON file\r
+ static CustomView CreateInstance()\r
+ {\r
+ return new Spin();\r
+ }\r
+\r
+ // static constructor registers the control type (only runs once)\r
+ static Spin()\r
+ {\r
+ // ViewRegistry registers control type with DALi type registery\r
+ // also uses introspection to find any properties that need to be registered with type registry\r
+ ViewRegistry.Instance.Register(CreateInstance, typeof(Spin));\r
+ }\r
+\r
+ public Spin() : base(typeof(Spin).Name, CustomViewBehaviour.RequiresKeyboardNavigationSupport)\r
+ {\r
+\r
+ }\r
+\r
+ public override void OnInitialize()\r
+ {\r
+ // Initialize the propertiesControl\r
+ _arrowImage = "/home/owner/apps_rw/NUISamples.TizenTV/res/images/arrow.png";\r
+ _textBackgroundColor = new Color(0.6f, 0.6f, 0.6f, 1.0f);\r
+ _currentValue = 0;\r
+ _minValue = 0;\r
+ _maxValue = 0;\r
+ _singleStep = 1;\r
+ _maxTextLength = 0;\r
+\r
+ // Create image visual for the arrow keys\r
+ _arrowVisualPropertyIndex = RegisterProperty("ArrowImage", new PropertyValue(_arrowImage), Tizen.NUI.PropertyAccessMode.ReadWrite);\r
+ _arrowVisual = VisualFactory.Get().CreateVisual(_arrowImage, new Uint16Pair(150, 150));\r
+ RegisterVisual(_arrowVisualPropertyIndex, _arrowVisual);\r
+\r
+ // Create a text field\r
+ _textField = new TextField();\r
+ _textField.ParentOrigin = Tizen.NUI.ParentOrigin.Center;\r
+ _textField.AnchorPoint = Tizen.NUI.AnchorPoint.Center;\r
+ _textField.WidthResizePolicy = ResizePolicyType.SizeRelativeToParent;\r
+ _textField.HeightResizePolicy = ResizePolicyType.SizeRelativeToParent;\r
+ _textField.SizeModeFactor = new Vector3(1.0f, 0.45f, 1.0f);\r
+ _textField.PlaceholderText = "----";\r
+ _textField.BackgroundColor = _textBackgroundColor;\r
+ _textField.HorizontalAlignment = "Center";\r
+ _textField.VerticalAlignment = "Center";\r
+ _textField.Focusable = (true);\r
+ _textField.Name = "_textField";\r
+\r
+ this.Add(_textField);\r
+\r
+ _textField.KeyInputFocusGained += TextFieldKeyInputFocusGained;\r
+ _textField.KeyInputFocusLost += TextFieldKeyInputFocusLost;\r
+ }\r
+\r
+ public override Size GetNaturalSize()\r
+ {\r
+ return new Size(150.0f, 150.0f, 0.0f);\r
+ }\r
+\r
+ public void TextFieldKeyInputFocusGained(object source, KeyInputFocusGainedEventArgs e)\r
+ {\r
+ // Make sure when the current spin that takes input focus also takes the keyboard focus\r
+ // For example, when you tap the spin directly\r
+ FocusManager.Instance.SetCurrentFocusActor(_textField);\r
+ }\r
+\r
+ public void TextFieldKeyInputFocusLost(object source, KeyInputFocusLostEventArgs e)\r
+ {\r
+ int previousValue = _currentValue;\r
+\r
+ // If the input value is invalid, change it back to the previous valid value\r
+ if (int.TryParse(_textField.Text, out _currentValue))\r
+ {\r
+ if (_currentValue < _minValue || _currentValue > _maxValue)\r
+ {\r
+ _currentValue = previousValue;\r
+ }\r
+ }\r
+ else\r
+ {\r
+ _currentValue = previousValue;\r
+ }\r
+\r
+ // Otherwise take the new value\r
+ this.Value = _currentValue;\r
+ }\r
+\r
+ public override Actor GetNextKeyboardFocusableActor(Actor currentFocusedActor, View.FocusDirection direction, bool loopEnabled)\r
+ {\r
+ // Respond to Up/Down keys to change the value while keeping the current spin focused\r
+ Actor nextFocusedActor = currentFocusedActor;\r
+ if (direction == View.FocusDirection.Up)\r
+ {\r
+ this.Value += this.Step;\r
+ nextFocusedActor = _textField;\r
+ }\r
+ else if (direction == View.FocusDirection.Down)\r
+ {\r
+ this.Value -= this.Step;\r
+ nextFocusedActor = _textField;\r
+ }\r
+ else\r
+ {\r
+ // Return a native empty handle as nothing can be focused in the left or right\r
+ nextFocusedActor = new Actor();\r
+ nextFocusedActor.Reset();\r
+ }\r
+\r
+ return nextFocusedActor;\r
+ }\r
+\r
+\r
+ [ScriptableProperty()]\r
+ public int Value\r
+ {\r
+ get\r
+ {\r
+ return _currentValue;\r
+ }\r
+ set\r
+ {\r
+\r
+ Console.WriteLine("Value set to " + value);\r
+ _currentValue = value;\r
+\r
+ // Make sure no invalid value is accepted\r
+ if (_currentValue < _minValue)\r
+ {\r
+ _currentValue = _minValue;\r
+ }\r
+\r
+ if (_currentValue > _maxValue)\r
+ {\r
+ _currentValue = _maxValue;\r
+ }\r
+\r
+ _textField.Text = _currentValue.ToString();\r
+ }\r
+ }\r
+ // MinValue property of type int:\r
+ [ScriptableProperty()]\r
+ public int MinValue\r
+ {\r
+ get\r
+ {\r
+ return _minValue;\r
+ }\r
+ set\r
+ {\r
+ _minValue = value;\r
+ }\r
+ }\r
+\r
+ // MaxValue property of type int:\r
+ [ScriptableProperty()]\r
+ public int MaxValue\r
+ {\r
+ get\r
+ {\r
+ return _maxValue;\r
+ }\r
+ set\r
+ {\r
+ _maxValue = value;\r
+ }\r
+ }\r
+\r
+ // Step property of type int:\r
+ [ScriptableProperty()]\r
+ public int Step\r
+ {\r
+ get\r
+ {\r
+ return _singleStep;\r
+ }\r
+ set\r
+ {\r
+ _singleStep = value;\r
+ }\r
+ }\r
+\r
+ // WrappingEnabled property of type bool:\r
+ [ScriptableProperty()]\r
+ public bool WrappingEnabled\r
+ {\r
+ get\r
+ {\r
+ return _wrappingEnabled;\r
+ }\r
+ set\r
+ {\r
+ _wrappingEnabled = value;\r
+ }\r
+ }\r
+\r
+ // TextPointSize property of type int:\r
+ [ScriptableProperty()]\r
+ public int TextPointSize\r
+ {\r
+ get\r
+ {\r
+ return _pointSize;\r
+ }\r
+ set\r
+ {\r
+ _pointSize = value;\r
+ _textField.PointSize = _pointSize;\r
+ }\r
+ }\r
+\r
+ // TextColor property of type Color:\r
+ [ScriptableProperty()]\r
+ public Color TextColor\r
+ {\r
+ get\r
+ {\r
+ return _textColor;\r
+ }\r
+ set\r
+ {\r
+ Console.WriteLine("TextColor set to " + value.R + "," + value.G + "," + value.B);\r
+\r
+ _textColor = value;\r
+ _textField.TextColor = _textColor;\r
+ }\r
+ }\r
+\r
+ // MaxTextLength property of type int:\r
+ [ScriptableProperty()]\r
+ public int MaxTextLength\r
+ {\r
+ get\r
+ {\r
+ return _maxTextLength;\r
+ }\r
+ set\r
+ {\r
+ _maxTextLength = value;\r
+ _textField.MaxLength = _maxTextLength;\r
+ }\r
+ }\r
+\r
+ public TextField SpinText\r
+ {\r
+ get\r
+ {\r
+ return _textField;\r
+ }\r
+ set\r
+ {\r
+ _textField = value;\r
+ }\r
+ }\r
+\r
+ // Indicator property of type string:\r
+ public string IndicatorImage\r
+ {\r
+ get\r
+ {\r
+ return _arrowImage;\r
+ }\r
+ set\r
+ {\r
+ _arrowImage = value;\r
+ _arrowVisual = VisualFactory.Get().CreateVisual(_arrowImage, new Uint16Pair(150, 150));\r
+ RegisterVisual(_arrowVisualPropertyIndex, _arrowVisual);\r
+ }\r
+ }\r
+ }\r
+}
\ No newline at end of file
-//------------------------------------------------------------------------------
-// <auto-generated />
-//
-// This file was automatically generated by SWIG (http://www.swig.org).
-// Version 3.0.9
-//
-// Do not make changes to this file unless you know what you are doing--modify
-// the SWIG interface file instead.
-//------------------------------------------------------------------------------
-
-namespace Tizen.NUI {\r
+//------------------------------------------------------------------------------\r
+// <auto-generated />\r
+//\r
+// This file was automatically generated by SWIG (http://www.swig.org).\r
+// Version 3.0.9\r
+//\r
+// Do not make changes to this file unless you know what you are doing--modify\r
+// the SWIG interface file instead.\r
+//------------------------------------------------------------------------------\r
\r
- public class Degree : global::System.IDisposable {
- private global::System.Runtime.InteropServices.HandleRef swigCPtr;
- protected bool swigCMemOwn;
-
- internal Degree(global::System.IntPtr cPtr, bool cMemoryOwn) {
- swigCMemOwn = cMemoryOwn;
- swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
- }
-
- internal static global::System.Runtime.InteropServices.HandleRef getCPtr(Degree obj) {
- return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
- }
-
- ~Degree() {
- DisposeQueue.Instance.Add(this);
- }
-
- public virtual void Dispose() {
- if (!Stage.IsInstalled()) {
- DisposeQueue.Instance.Add(this);
- return;
- }
-
- lock(this) {
- if (swigCPtr.Handle != global::System.IntPtr.Zero) {
- if (swigCMemOwn) {
- swigCMemOwn = false;
- NDalicPINVOKE.delete_Degree(swigCPtr);
- }
- swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
- }
- global::System.GC.SuppressFinalize(this);
- }
- }
-
-
- public Degree() : this(NDalicPINVOKE.new_Degree__SWIG_0(), true) {
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- }
-
- public Degree(float value) : this(NDalicPINVOKE.new_Degree__SWIG_1(value), true) {
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- }
-
- public Degree(Radian value) : this(NDalicPINVOKE.new_Degree__SWIG_2(Radian.getCPtr(value)), true) {
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- }
-
- public float degree {
- set {
- NDalicPINVOKE.Degree_degree_set(swigCPtr, value);
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- }
- get {
- float ret = NDalicPINVOKE.Degree_degree_get(swigCPtr);
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- return ret;
- }
- }
-
-}
-
-}
+namespace Tizen.NUI\r
+{\r
+\r
+ public class Degree : global::System.IDisposable\r
+ {\r
+ private global::System.Runtime.InteropServices.HandleRef swigCPtr;\r
+ protected bool swigCMemOwn;\r
+\r
+ internal Degree(global::System.IntPtr cPtr, bool cMemoryOwn)\r
+ {\r
+ swigCMemOwn = cMemoryOwn;\r
+ swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);\r
+ }\r
+\r
+ internal static global::System.Runtime.InteropServices.HandleRef getCPtr(Degree obj)\r
+ {\r
+ return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;\r
+ }\r
+\r
+ ~Degree()\r
+ {\r
+ DisposeQueue.Instance.Add(this);\r
+ }\r
+\r
+ public virtual void Dispose()\r
+ {\r
+ if (!Stage.IsInstalled())\r
+ {\r
+ DisposeQueue.Instance.Add(this);\r
+ return;\r
+ }\r
+\r
+ lock (this)\r
+ {\r
+ if (swigCPtr.Handle != global::System.IntPtr.Zero)\r
+ {\r
+ if (swigCMemOwn)\r
+ {\r
+ swigCMemOwn = false;\r
+ NDalicPINVOKE.delete_Degree(swigCPtr);\r
+ }\r
+ swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);\r
+ }\r
+ global::System.GC.SuppressFinalize(this);\r
+ }\r
+ }\r
+\r
+\r
+ public Degree() : this(NDalicPINVOKE.new_Degree__SWIG_0(), true)\r
+ {\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ }\r
+\r
+ public Degree(float value) : this(NDalicPINVOKE.new_Degree__SWIG_1(value), true)\r
+ {\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ }\r
+\r
+ public Degree(Radian value) : this(NDalicPINVOKE.new_Degree__SWIG_2(Radian.getCPtr(value)), true)\r
+ {\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ }\r
+\r
+ public float degree\r
+ {\r
+ set\r
+ {\r
+ NDalicPINVOKE.Degree_degree_set(swigCPtr, value);\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ }\r
+ get\r
+ {\r
+ float ret = NDalicPINVOKE.Degree_degree_get(swigCPtr);\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ return ret;\r
+ }\r
+ }\r
+\r
+ }\r
+\r
+}\r
+++ /dev/null
-# Doxyfile 1.8.6
-
-# This file describes the settings to be used by the documentation system
-# doxygen (www.doxygen.org) for a project.
-#
-# All text after a double hash (##) is considered a comment and is placed in
-# front of the TAG it is preceding.
-#
-# All text after a single hash (#) is considered a comment and will be ignored.
-# The format is:
-# TAG = value [value, ...]
-# For lists, items can also be appended using:
-# TAG += value [value, ...]
-# Values that contain spaces should be placed between quotes (\" \").
-
-#---------------------------------------------------------------------------
-# Project related configuration options
-#---------------------------------------------------------------------------
-
-# This tag specifies the encoding used for all characters in the config file
-# that follow. The default is UTF-8 which is also the encoding used for all text
-# before the first occurrence of this tag. Doxygen uses libiconv (or the iconv
-# built into libc) for the transcoding. See http://www.gnu.org/software/libiconv
-# for the list of possible encodings.
-# The default value is: UTF-8.
-
-DOXYFILE_ENCODING = UTF-8
-
-# The PROJECT_NAME tag is a single word (or a sequence of words surrounded by
-# double-quotes, unless you are using Doxywizard) that should identify the
-# project for which the documentation is generated. This name is used in the
-# title of most generated pages and in a few other places.
-# The default value is: My Project.
-
-PROJECT_NAME = DALi-HALO-C#
-
-# The PROJECT_NUMBER tag can be used to enter a project or revision number. This
-# could be handy for archiving the generated documentation or if some version
-# control system is used.
-
-PROJECT_NUMBER =
-
-# Using the PROJECT_BRIEF tag one can provide an optional one line description
-# for a project that appears at the top of each page and should give viewer a
-# quick idea about the purpose of the project. Keep the description short.
-
-PROJECT_BRIEF =
-
-# With the PROJECT_LOGO tag one can specify an logo or icon that is included in
-# the documentation. The maximum height of the logo should not exceed 55 pixels
-# and the maximum width should not exceed 200 pixels. Doxygen will copy the logo
-# to the output directory.
-
-PROJECT_LOGO =
-
-# The OUTPUT_DIRECTORY tag is used to specify the (relative or absolute) path
-# into which the generated documentation will be written. If a relative path is
-# entered, it will be relative to the location where doxygen was started. If
-# left blank the current directory will be used.
-
-OUTPUT_DIRECTORY =
-
-# If the CREATE_SUBDIRS tag is set to YES, then doxygen will create 4096 sub-
-# directories (in 2 levels) under the output directory of each output format and
-# will distribute the generated files over these directories. Enabling this
-# option can be useful when feeding doxygen a huge amount of source files, where
-# putting all generated files in the same directory would otherwise causes
-# performance problems for the file system.
-# The default value is: NO.
-
-CREATE_SUBDIRS = NO
-
-# The OUTPUT_LANGUAGE tag is used to specify the language in which all
-# documentation generated by doxygen is written. Doxygen will use this
-# information to generate all constant output in the proper language.
-# Possible values are: Afrikaans, Arabic, Armenian, Brazilian, Catalan, Chinese,
-# Chinese-Traditional, Croatian, Czech, Danish, Dutch, English (United States),
-# Esperanto, Farsi (Persian), Finnish, French, German, Greek, Hungarian,
-# Indonesian, Italian, Japanese, Japanese-en (Japanese with English messages),
-# Korean, Korean-en (Korean with English messages), Latvian, Lithuanian,
-# Macedonian, Norwegian, Persian (Farsi), Polish, Portuguese, Romanian, Russian,
-# Serbian, Serbian-Cyrillic, Slovak, Slovene, Spanish, Swedish, Turkish,
-# Ukrainian and Vietnamese.
-# The default value is: English.
-
-OUTPUT_LANGUAGE = English
-
-# If the BRIEF_MEMBER_DESC tag is set to YES doxygen will include brief member
-# descriptions after the members that are listed in the file and class
-# documentation (similar to Javadoc). Set to NO to disable this.
-# The default value is: YES.
-
-BRIEF_MEMBER_DESC = YES
-
-# If the REPEAT_BRIEF tag is set to YES doxygen will prepend the brief
-# description of a member or function before the detailed description
-#
-# Note: If both HIDE_UNDOC_MEMBERS and BRIEF_MEMBER_DESC are set to NO, the
-# brief descriptions will be completely suppressed.
-# The default value is: YES.
-
-REPEAT_BRIEF = YES
-
-# This tag implements a quasi-intelligent brief description abbreviator that is
-# used to form the text in various listings. Each string in this list, if found
-# as the leading text of the brief description, will be stripped from the text
-# and the result, after processing the whole list, is used as the annotated
-# text. Otherwise, the brief description is used as-is. If left blank, the
-# following values are used ($name is automatically replaced with the name of
-# the entity):The $name class, The $name widget, The $name file, is, provides,
-# specifies, contains, represents, a, an and the.
-
-ABBREVIATE_BRIEF = "The $name class" \
- "The $name widget" \
- "The $name file" \
- is \
- provides \
- specifies \
- contains \
- represents \
- a \
- an \
- the
-
-# If the ALWAYS_DETAILED_SEC and REPEAT_BRIEF tags are both set to YES then
-# doxygen will generate a detailed section even if there is only a brief
-# description.
-# The default value is: NO.
-
-ALWAYS_DETAILED_SEC = NO
-
-# If the INLINE_INHERITED_MEMB tag is set to YES, doxygen will show all
-# inherited members of a class in the documentation of that class as if those
-# members were ordinary class members. Constructors, destructors and assignment
-# operators of the base classes will not be shown.
-# The default value is: NO.
-
-INLINE_INHERITED_MEMB = NO
-
-# If the FULL_PATH_NAMES tag is set to YES doxygen will prepend the full path
-# before files name in the file list and in the header files. If set to NO the
-# shortest path that makes the file name unique will be used
-# The default value is: YES.
-
-FULL_PATH_NAMES = YES
-
-# The STRIP_FROM_PATH tag can be used to strip a user-defined part of the path.
-# Stripping is only done if one of the specified strings matches the left-hand
-# part of the path. The tag can be used to show relative paths in the file list.
-# If left blank the directory from which doxygen is run is used as the path to
-# strip.
-#
-# Note that you can specify absolute paths here, but also relative paths, which
-# will be relative from the directory where doxygen is started.
-# This tag requires that the tag FULL_PATH_NAMES is set to YES.
-
-STRIP_FROM_PATH =
-
-# The STRIP_FROM_INC_PATH tag can be used to strip a user-defined part of the
-# path mentioned in the documentation of a class, which tells the reader which
-# header file to include in order to use a class. If left blank only the name of
-# the header file containing the class definition is used. Otherwise one should
-# specify the list of include paths that are normally passed to the compiler
-# using the -I flag.
-
-STRIP_FROM_INC_PATH =
-
-# If the SHORT_NAMES tag is set to YES, doxygen will generate much shorter (but
-# less readable) file names. This can be useful is your file systems doesn't
-# support long names like on DOS, Mac, or CD-ROM.
-# The default value is: NO.
-
-SHORT_NAMES = NO
-
-# If the JAVADOC_AUTOBRIEF tag is set to YES then doxygen will interpret the
-# first line (until the first dot) of a Javadoc-style comment as the brief
-# description. If set to NO, the Javadoc-style will behave just like regular Qt-
-# style comments (thus requiring an explicit @brief command for a brief
-# description.)
-# The default value is: NO.
-
-JAVADOC_AUTOBRIEF = NO
-
-# If the QT_AUTOBRIEF tag is set to YES then doxygen will interpret the first
-# line (until the first dot) of a Qt-style comment as the brief description. If
-# set to NO, the Qt-style will behave just like regular Qt-style comments (thus
-# requiring an explicit \brief command for a brief description.)
-# The default value is: NO.
-
-QT_AUTOBRIEF = NO
-
-# The MULTILINE_CPP_IS_BRIEF tag can be set to YES to make doxygen treat a
-# multi-line C++ special comment block (i.e. a block of //! or /// comments) as
-# a brief description. This used to be the default behavior. The new default is
-# to treat a multi-line C++ comment block as a detailed description. Set this
-# tag to YES if you prefer the old behavior instead.
-#
-# Note that setting this tag to YES also means that rational rose comments are
-# not recognized any more.
-# The default value is: NO.
-
-MULTILINE_CPP_IS_BRIEF = NO
-
-# If the INHERIT_DOCS tag is set to YES then an undocumented member inherits the
-# documentation from any documented member that it re-implements.
-# The default value is: YES.
-
-INHERIT_DOCS = YES
-
-# If the SEPARATE_MEMBER_PAGES tag is set to YES, then doxygen will produce a
-# new page for each member. If set to NO, the documentation of a member will be
-# part of the file/class/namespace that contains it.
-# The default value is: NO.
-
-SEPARATE_MEMBER_PAGES = NO
-
-# The TAB_SIZE tag can be used to set the number of spaces in a tab. Doxygen
-# uses this value to replace tabs by spaces in code fragments.
-# Minimum value: 1, maximum value: 16, default value: 4.
-
-TAB_SIZE = 4
-
-# This tag can be used to specify a number of aliases that act as commands in
-# the documentation. An alias has the form:
-# name=value
-# For example adding
-# "sideeffect=@par Side Effects:\n"
-# will allow you to put the command \sideeffect (or @sideeffect) in the
-# documentation, which will result in a user-defined paragraph with heading
-# "Side Effects:". You can put \n's in the value part of an alias to insert
-# newlines.
-
-ALIASES =
-# Clip alias inserts the specified file between two text markers.
-# EG: @clip{"button.h",public,private}
-# Shows all lines between public and private *inclusive*.
-ALIASES += clip{3}="\dontinclude \1 \n \skip \2 \n \until \3"
-
-# <DALi Doxygen Tagging Rule>
-#
-# Use @SINCE_1_0, @SINCE_1_1, ... instead of @since,
-# and use @DEPRECATED_1_0, @DEPRECATED_1_1, ... instead of @deprecated.
-# It enables integrated management of version tagging between
-# the open source DALi API reference and Tizen API reference.
-# Using those tags with different ALIASES settings in each doxygen config file allows us
-# to generate two versions of "Since" and "Deprecated" generated output
-# from one set of public header files.
-#
-# If you need a newer version number like @SINCE_1_5 or @SINCE_2_0, just add new ALIASES for it.
-#
-# ##################################################3
-# # Guide for Open Source DALi API Reference
-#
-# ### @SINCE example:
-# [some-public-header.h]
-# /**
-# * ...
-# * @SINCE_1_0.1
-# */
-# void SomeFunction();
-#
-# [generated html file]
-# void SomeFunction()
-# ...
-# Since:
-# 1.0.1
-#
-# ### @DEPRECATED example 1:
-# [some-public-header.h]
-# /**
-# * @DEPRECATED_1_0.3
-# * ...
-# */
-# void SomeFunction();
-#
-# [generated html file]
-# void SomeFunction()
-# Deprecated:
-# Deprecated since 1.0.3
-# ...
-#
-# ### @DEPRECATED example 2:
-# [some-public-header.h]
-# ...
-# /**
-# * @DEPRECATED_1_0.3. Use SomeFunction2() instead.
-# * ...
-# */
-# void SomeFunction();
-#
-# [generated html file]
-# void SomeFunction()
-# Deprecated:
-# Deprecated since 1.0.3. Use SomeFunction2() instead.
-# ...
-#
-# ##################################################3
-# # Guide for Tizen Native API Reference
-#
-# ### @SINCE example:
-# [some-public-header.h]
-# /**
-# * ...
-# * @SINCE_1_0.1
-# */
-# void SomeFunction();
-#
-# [generated html file]
-# void SomeFunction()
-# ...
-# Since:
-# 2.4, DALi Version 1.0.1
-#
-# ### @DEPRECATED example 1:
-# [some-public-header.h]
-# /**
-# * @DEPRECATED_1_0.3
-# * ...
-# */
-# void SomeFunction();
-#
-# [generated html file]
-# void SomeFunction()
-# Deprecated:
-# Deprecated since 3.0, DALi version 1.0.3
-# ...
-#
-# ### @DEPRECATED example 2:
-# [some-public-header.h]
-# ...
-# /**
-# * @DEPRECATED_1_0.3. Use SomeFunction2() instead.
-# * ...
-# */
-# void SomeFunction();
-#
-# [generated html file]
-# void SomeFunction()
-# Deprecated:
-# Deprecated since 3.0, DALi version 1.0.3. Use SomeFunction2() instead.
-# ...
-
-###########################################
-# For Open Source DALi API Reference
-ALIASES += SINCE_1_0="@since 1.0"
-ALIASES += SINCE_1_1="@since 1.1"
-
-ALIASES += DEPRECATED_1_0="@deprecated Deprecated since 1.0"
-ALIASES += DEPRECATED_1_1="@deprecated Deprecated since 1.1"
-
-ALIASES += PLATFORM=""
-ALIASES += PRIVLEVEL_PLATFORM=""
-ALIASES += PRIVILEGE_KEYGRAB=""
-
-############################################
-## For Tizen Native API Reference
-#ALIASES += SINCE_1_0="\par Since:\n 2.4, DALi version 1.0"
-#ALIASES += SINCE_1_1="\par Since:\n 3.0, DALi version 1.1"
-
-## DALi has no deprecated API in Tizen 2.4 because it's DALi's first release.
-## Thus deprecated APIs in DALi 1.0.xx will be deprecated in Tizen 3.0.
-#ALIASES += DEPRECATED_1_0="@deprecated Deprecated since 3.0, DALi version 1.0"
-#ALIASES += DEPRECATED_1_1="@deprecated Deprecated since 3.0, DALi version 1.1"
-
-#ALIASES += PLATFORM="@platform"
-#ALIASES += PRIVLEVEL_PLATFORM="\par Privilege Level:\n platform"
-#ALIASES += PRIVILEGE_KEYGRAB="\par Privilege:\n http://tizen.org/privilege/keygrab"
-
-
-# This tag can be used to specify a number of word-keyword mappings (TCL only).
-# A mapping has the form "name=value". For example adding "class=itcl::class"
-# will allow you to use the command class in the itcl::class meaning.
-
-TCL_SUBST =
-
-# Set the OPTIMIZE_OUTPUT_FOR_C tag to YES if your project consists of C sources
-# only. Doxygen will then generate output that is more tailored for C. For
-# instance, some of the names that are used will be different. The list of all
-# members will be omitted, etc.
-# The default value is: NO.
-
-OPTIMIZE_OUTPUT_FOR_C = NO
-
-# Set the OPTIMIZE_OUTPUT_JAVA tag to YES if your project consists of Java or
-# Python sources only. Doxygen will then generate output that is more tailored
-# for that language. For instance, namespaces will be presented as packages,
-# qualified scopes will look different, etc.
-# The default value is: NO.
-
-OPTIMIZE_OUTPUT_JAVA = NO
-
-# Set the OPTIMIZE_FOR_FORTRAN tag to YES if your project consists of Fortran
-# sources. Doxygen will then generate output that is tailored for Fortran.
-# The default value is: NO.
-
-OPTIMIZE_FOR_FORTRAN = NO
-
-# Set the OPTIMIZE_OUTPUT_VHDL tag to YES if your project consists of VHDL
-# sources. Doxygen will then generate output that is tailored for VHDL.
-# The default value is: NO.
-
-OPTIMIZE_OUTPUT_VHDL = NO
-
-# Doxygen selects the parser to use depending on the extension of the files it
-# parses. With this tag you can assign which parser to use for a given
-# extension. Doxygen has a built-in mapping, but you can override or extend it
-# using this tag. The format is ext=language, where ext is a file extension, and
-# language is one of the parsers supported by doxygen: IDL, Java, Javascript,
-# C#, C, C++, D, PHP, Objective-C, Python, Fortran, VHDL. For instance to make
-# doxygen treat .inc files as Fortran files (default is PHP), and .f files as C
-# (default is Fortran), use: inc=Fortran f=C.
-#
-# Note For files without extension you can use no_extension as a placeholder.
-#
-# Note that for custom extensions you also need to set FILE_PATTERNS otherwise
-# the files are not read by doxygen.
-
-EXTENSION_MAPPING =
-
-# If the MARKDOWN_SUPPORT tag is enabled then doxygen pre-processes all comments
-# according to the Markdown format, which allows for more readable
-# documentation. See http://daringfireball.net/projects/markdown/ for details.
-# The output of markdown processing is further processed by doxygen, so you can
-# mix doxygen, HTML, and XML commands with Markdown formatting. Disable only in
-# case of backward compatibilities issues.
-# The default value is: YES.
-
-MARKDOWN_SUPPORT = YES
-
-# When enabled doxygen tries to link words that correspond to documented
-# classes, or namespaces to their corresponding documentation. Such a link can
-# be prevented in individual cases by by putting a % sign in front of the word
-# or globally by setting AUTOLINK_SUPPORT to NO.
-# The default value is: YES.
-
-AUTOLINK_SUPPORT = YES
-
-# If you use STL classes (i.e. std::string, std::vector, etc.) but do not want
-# to include (a tag file for) the STL sources as input, then you should set this
-# tag to YES in order to let doxygen match functions declarations and
-# definitions whose arguments contain STL classes (e.g. func(std::string);
-# versus func(std::string) {}). This also make the inheritance and collaboration
-# diagrams that involve STL classes more complete and accurate.
-# The default value is: NO.
-
-BUILTIN_STL_SUPPORT = NO
-
-# If you use Microsoft's C++/CLI language, you should set this option to YES to
-# enable parsing support.
-# The default value is: NO.
-
-CPP_CLI_SUPPORT = NO
-
-# Set the SIP_SUPPORT tag to YES if your project consists of sip (see:
-# http://www.riverbankcomputing.co.uk/software/sip/intro) sources only. Doxygen
-# will parse them like normal C++ but will assume all classes use public instead
-# of private inheritance when no explicit protection keyword is present.
-# The default value is: NO.
-
-SIP_SUPPORT = NO
-
-# For Microsoft's IDL there are propget and propput attributes to indicate
-# getter and setter methods for a property. Setting this option to YES will make
-# doxygen to replace the get and set methods by a property in the documentation.
-# This will only work if the methods are indeed getting or setting a simple
-# type. If this is not the case, or you want to show the methods anyway, you
-# should set this option to NO.
-# The default value is: YES.
-
-IDL_PROPERTY_SUPPORT = YES
-
-# If member grouping is used in the documentation and the DISTRIBUTE_GROUP_DOC
-# tag is set to YES, then doxygen will reuse the documentation of the first
-# member in the group (if any) for the other members of the group. By default
-# all members of a group must be documented explicitly.
-# The default value is: NO.
-
-DISTRIBUTE_GROUP_DOC = NO
-
-# Set the SUBGROUPING tag to YES to allow class member groups of the same type
-# (for instance a group of public functions) to be put as a subgroup of that
-# type (e.g. under the Public Functions section). Set it to NO to prevent
-# subgrouping. Alternatively, this can be done per class using the
-# \nosubgrouping command.
-# The default value is: YES.
-
-SUBGROUPING = YES
-
-# When the INLINE_GROUPED_CLASSES tag is set to YES, classes, structs and unions
-# are shown inside the group in which they are included (e.g. using \ingroup)
-# instead of on a separate page (for HTML and Man pages) or section (for LaTeX
-# and RTF).
-#
-# Note that this feature does not work in combination with
-# SEPARATE_MEMBER_PAGES.
-# The default value is: NO.
-
-INLINE_GROUPED_CLASSES = NO
-
-# When the INLINE_SIMPLE_STRUCTS tag is set to YES, structs, classes, and unions
-# with only public data fields or simple typedef fields will be shown inline in
-# the documentation of the scope in which they are defined (i.e. file,
-# namespace, or group documentation), provided this scope is documented. If set
-# to NO, structs, classes, and unions are shown on a separate page (for HTML and
-# Man pages) or section (for LaTeX and RTF).
-# The default value is: NO.
-
-INLINE_SIMPLE_STRUCTS = NO
-
-# When TYPEDEF_HIDES_STRUCT tag is enabled, a typedef of a struct, union, or
-# enum is documented as struct, union, or enum with the name of the typedef. So
-# typedef struct TypeS {} TypeT, will appear in the documentation as a struct
-# with name TypeT. When disabled the typedef will appear as a member of a file,
-# namespace, or class. And the struct will be named TypeS. This can typically be
-# useful for C code in case the coding convention dictates that all compound
-# types are typedef'ed and only the typedef is referenced, never the tag name.
-# The default value is: NO.
-
-TYPEDEF_HIDES_STRUCT = NO
-
-# The size of the symbol lookup cache can be set using LOOKUP_CACHE_SIZE. This
-# cache is used to resolve symbols given their name and scope. Since this can be
-# an expensive process and often the same symbol appears multiple times in the
-# code, doxygen keeps a cache of pre-resolved symbols. If the cache is too small
-# doxygen will become slower. If the cache is too large, memory is wasted. The
-# cache size is given by this formula: 2^(16+LOOKUP_CACHE_SIZE). The valid range
-# is 0..9, the default is 0, corresponding to a cache size of 2^16=65536
-# symbols. At the end of a run doxygen will report the cache usage and suggest
-# the optimal cache size from a speed point of view.
-# Minimum value: 0, maximum value: 9, default value: 0.
-
-LOOKUP_CACHE_SIZE = 0
-
-#---------------------------------------------------------------------------
-# Build related configuration options
-#---------------------------------------------------------------------------
-
-# If the EXTRACT_ALL tag is set to YES doxygen will assume all entities in
-# documentation are documented, even if no documentation was available. Private
-# class members and static file members will be hidden unless the
-# EXTRACT_PRIVATE respectively EXTRACT_STATIC tags are set to YES.
-# Note: This will also disable the warnings about undocumented members that are
-# normally produced when WARNINGS is set to YES.
-# The default value is: NO.
-
-EXTRACT_ALL = YES
-
-# If the EXTRACT_PRIVATE tag is set to YES all private members of a class will
-# be included in the documentation.
-# The default value is: NO.
-
-EXTRACT_PRIVATE = NO
-
-# If the EXTRACT_PACKAGE tag is set to YES all members with package or internal
-# scope will be included in the documentation.
-# The default value is: NO.
-
-EXTRACT_PACKAGE = NO
-
-# If the EXTRACT_STATIC tag is set to YES all static members of a file will be
-# included in the documentation.
-# The default value is: NO.
-
-EXTRACT_STATIC = NO
-
-# If the EXTRACT_LOCAL_CLASSES tag is set to YES classes (and structs) defined
-# locally in source files will be included in the documentation. If set to NO
-# only classes defined in header files are included. Does not have any effect
-# for Java sources.
-# The default value is: YES.
-
-EXTRACT_LOCAL_CLASSES = YES
-
-# This flag is only useful for Objective-C code. When set to YES local methods,
-# which are defined in the implementation section but not in the interface are
-# included in the documentation. If set to NO only methods in the interface are
-# included.
-# The default value is: NO.
-
-EXTRACT_LOCAL_METHODS = YES
-
-# If this flag is set to YES, the members of anonymous namespaces will be
-# extracted and appear in the documentation as a namespace called
-# 'anonymous_namespace{file}', where file will be replaced with the base name of
-# the file that contains the anonymous namespace. By default anonymous namespace
-# are hidden.
-# The default value is: NO.
-
-EXTRACT_ANON_NSPACES = NO
-
-# If the HIDE_UNDOC_MEMBERS tag is set to YES, doxygen will hide all
-# undocumented members inside documented classes or files. If set to NO these
-# members will be included in the various overviews, but no documentation
-# section is generated. This option has no effect if EXTRACT_ALL is enabled.
-# The default value is: NO.
-
-HIDE_UNDOC_MEMBERS = YES
-
-# If the HIDE_UNDOC_CLASSES tag is set to YES, doxygen will hide all
-# undocumented classes that are normally visible in the class hierarchy. If set
-# to NO these classes will be included in the various overviews. This option has
-# no effect if EXTRACT_ALL is enabled.
-# The default value is: NO.
-
-HIDE_UNDOC_CLASSES = YES
-
-# If the HIDE_FRIEND_COMPOUNDS tag is set to YES, doxygen will hide all friend
-# (class|struct|union) declarations. If set to NO these declarations will be
-# included in the documentation.
-# The default value is: NO.
-
-HIDE_FRIEND_COMPOUNDS = NO
-
-# If the HIDE_IN_BODY_DOCS tag is set to YES, doxygen will hide any
-# documentation blocks found inside the body of a function. If set to NO these
-# blocks will be appended to the function's detailed documentation block.
-# The default value is: NO.
-
-HIDE_IN_BODY_DOCS = NO
-
-# The INTERNAL_DOCS tag determines if documentation that is typed after a
-# \internal command is included. If the tag is set to NO then the documentation
-# will be excluded. Set it to YES to include the internal documentation.
-# The default value is: NO.
-
-INTERNAL_DOCS = NO
-
-# If the CASE_SENSE_NAMES tag is set to NO then doxygen will only generate file
-# names in lower-case letters. If set to YES upper-case letters are also
-# allowed. This is useful if you have classes or files whose names only differ
-# in case and if your file system supports case sensitive file names. Windows
-# and Mac users are advised to set this option to NO.
-# The default value is: system dependent.
-
-CASE_SENSE_NAMES = NO
-
-# If the HIDE_SCOPE_NAMES tag is set to NO then doxygen will show members with
-# their full class and namespace scopes in the documentation. If set to YES the
-# scope will be hidden.
-# The default value is: NO.
-
-HIDE_SCOPE_NAMES = NO
-
-# If the SHOW_INCLUDE_FILES tag is set to YES then doxygen will put a list of
-# the files that are included by a file in the documentation of that file.
-# The default value is: YES.
-
-SHOW_INCLUDE_FILES = YES
-
-# If the SHOW_GROUPED_MEMB_INC tag is set to YES then Doxygen will add for each
-# grouped member an include statement to the documentation, telling the reader
-# which file to include in order to use the member.
-# The default value is: NO.
-
-SHOW_GROUPED_MEMB_INC = NO
-
-# If the FORCE_LOCAL_INCLUDES tag is set to YES then doxygen will list include
-# files with double quotes in the documentation rather than with sharp brackets.
-# The default value is: NO.
-
-FORCE_LOCAL_INCLUDES = NO
-
-# If the INLINE_INFO tag is set to YES then a tag [inline] is inserted in the
-# documentation for inline members.
-# The default value is: YES.
-
-INLINE_INFO = YES
-
-# If the SORT_MEMBER_DOCS tag is set to YES then doxygen will sort the
-# (detailed) documentation of file and class members alphabetically by member
-# name. If set to NO the members will appear in declaration order.
-# The default value is: YES.
-
-SORT_MEMBER_DOCS = YES
-
-# If the SORT_BRIEF_DOCS tag is set to YES then doxygen will sort the brief
-# descriptions of file, namespace and class members alphabetically by member
-# name. If set to NO the members will appear in declaration order. Note that
-# this will also influence the order of the classes in the class list.
-# The default value is: NO.
-
-SORT_BRIEF_DOCS = NO
-
-# If the SORT_MEMBERS_CTORS_1ST tag is set to YES then doxygen will sort the
-# (brief and detailed) documentation of class members so that constructors and
-# destructors are listed first. If set to NO the constructors will appear in the
-# respective orders defined by SORT_BRIEF_DOCS and SORT_MEMBER_DOCS.
-# Note: If SORT_BRIEF_DOCS is set to NO this option is ignored for sorting brief
-# member documentation.
-# Note: If SORT_MEMBER_DOCS is set to NO this option is ignored for sorting
-# detailed member documentation.
-# The default value is: NO.
-
-SORT_MEMBERS_CTORS_1ST = NO
-
-# If the SORT_GROUP_NAMES tag is set to YES then doxygen will sort the hierarchy
-# of group names into alphabetical order. If set to NO the group names will
-# appear in their defined order.
-# The default value is: NO.
-
-SORT_GROUP_NAMES = NO
-
-# If the SORT_BY_SCOPE_NAME tag is set to YES, the class list will be sorted by
-# fully-qualified names, including namespaces. If set to NO, the class list will
-# be sorted only by class name, not including the namespace part.
-# Note: This option is not very useful if HIDE_SCOPE_NAMES is set to YES.
-# Note: This option applies only to the class list, not to the alphabetical
-# list.
-# The default value is: NO.
-
-SORT_BY_SCOPE_NAME = NO
-
-# If the STRICT_PROTO_MATCHING option is enabled and doxygen fails to do proper
-# type resolution of all parameters of a function it will reject a match between
-# the prototype and the implementation of a member function even if there is
-# only one candidate or it is obvious which candidate to choose by doing a
-# simple string match. By disabling STRICT_PROTO_MATCHING doxygen will still
-# accept a match between prototype and implementation in such cases.
-# The default value is: NO.
-
-STRICT_PROTO_MATCHING = NO
-
-# The GENERATE_TODOLIST tag can be used to enable ( YES) or disable ( NO) the
-# todo list. This list is created by putting \todo commands in the
-# documentation.
-# The default value is: YES.
-
-GENERATE_TODOLIST = NO
-
-# The GENERATE_TESTLIST tag can be used to enable ( YES) or disable ( NO) the
-# test list. This list is created by putting \test commands in the
-# documentation.
-# The default value is: YES.
-
-GENERATE_TESTLIST = NO
-
-# The GENERATE_BUGLIST tag can be used to enable ( YES) or disable ( NO) the bug
-# list. This list is created by putting \bug commands in the documentation.
-# The default value is: YES.
-
-GENERATE_BUGLIST = NO
-
-# The GENERATE_DEPRECATEDLIST tag can be used to enable ( YES) or disable ( NO)
-# the deprecated list. This list is created by putting \deprecated commands in
-# the documentation.
-# The default value is: YES.
-
-GENERATE_DEPRECATEDLIST= YES
-
-# The ENABLED_SECTIONS tag can be used to enable conditional documentation
-# sections, marked by \if <section_label> ... \endif and \cond <section_label>
-# ... \endcond blocks.
-
-ENABLED_SECTIONS =
-
-# The MAX_INITIALIZER_LINES tag determines the maximum number of lines that the
-# initial value of a variable or macro / define can have for it to appear in the
-# documentation. If the initializer consists of more lines than specified here
-# it will be hidden. Use a value of 0 to hide initializers completely. The
-# appearance of the value of individual variables and macros / defines can be
-# controlled using \showinitializer or \hideinitializer command in the
-# documentation regardless of this setting.
-# Minimum value: 0, maximum value: 10000, default value: 30.
-
-MAX_INITIALIZER_LINES = 30
-
-# Set the SHOW_USED_FILES tag to NO to disable the list of files generated at
-# the bottom of the documentation of classes and structs. If set to YES the list
-# will mention the files that were used to generate the documentation.
-# The default value is: YES.
-
-SHOW_USED_FILES = YES
-
-# Set the SHOW_FILES tag to NO to disable the generation of the Files page. This
-# will remove the Files entry from the Quick Index and from the Folder Tree View
-# (if specified).
-# The default value is: YES.
-
-SHOW_FILES = YES
-
-# Set the SHOW_NAMESPACES tag to NO to disable the generation of the Namespaces
-# page. This will remove the Namespaces entry from the Quick Index and from the
-# Folder Tree View (if specified).
-# The default value is: YES.
-
-SHOW_NAMESPACES = YES
-
-# The FILE_VERSION_FILTER tag can be used to specify a program or script that
-# doxygen should invoke to get the current version for each file (typically from
-# the version control system). Doxygen will invoke the program by executing (via
-# popen()) the command command input-file, where command is the value of the
-# FILE_VERSION_FILTER tag, and input-file is the name of an input file provided
-# by doxygen. Whatever the program writes to standard output is used as the file
-# version. For an example see the documentation.
-
-FILE_VERSION_FILTER =
-
-# The LAYOUT_FILE tag can be used to specify a layout file which will be parsed
-# by doxygen. The layout file controls the global structure of the generated
-# output files in an output format independent way. To create the layout file
-# that represents doxygen's defaults, run doxygen with the -l option. You can
-# optionally specify a file name after the option, if omitted DoxygenLayout.xml
-# will be used as the name of the layout file.
-#
-# Note that if you run doxygen from a directory containing a file called
-# DoxygenLayout.xml, doxygen will parse it automatically even if the LAYOUT_FILE
-# tag is left empty.
-
-LAYOUT_FILE =
-
-# The CITE_BIB_FILES tag can be used to specify one or more bib files containing
-# the reference definitions. This must be a list of .bib files. The .bib
-# extension is automatically appended if omitted. This requires the bibtex tool
-# to be installed. See also http://en.wikipedia.org/wiki/BibTeX for more info.
-# For LaTeX the style of the bibliography can be controlled using
-# LATEX_BIB_STYLE. To use this feature you need bibtex and perl available in the
-# search path. Do not use file names with spaces, bibtex cannot handle them. See
-# also \cite for info how to create references.
-
-CITE_BIB_FILES =
-
-#---------------------------------------------------------------------------
-# Configuration options related to warning and progress messages
-#---------------------------------------------------------------------------
-
-# The QUIET tag can be used to turn on/off the messages that are generated to
-# standard output by doxygen. If QUIET is set to YES this implies that the
-# messages are off.
-# The default value is: NO.
-
-QUIET = NO
-
-# The WARNINGS tag can be used to turn on/off the warning messages that are
-# generated to standard error ( stderr) by doxygen. If WARNINGS is set to YES
-# this implies that the warnings are on.
-#
-# Tip: Turn warnings on while writing the documentation.
-# The default value is: YES.
-
-WARNINGS = YES
-
-# If the WARN_IF_UNDOCUMENTED tag is set to YES, then doxygen will generate
-# warnings for undocumented members. If EXTRACT_ALL is set to YES then this flag
-# will automatically be disabled.
-# The default value is: YES.
-
-WARN_IF_UNDOCUMENTED = YES
-
-# If the WARN_IF_DOC_ERROR tag is set to YES, doxygen will generate warnings for
-# potential errors in the documentation, such as not documenting some parameters
-# in a documented function, or documenting parameters that don't exist or using
-# markup commands wrongly.
-# The default value is: YES.
-
-WARN_IF_DOC_ERROR = YES
-
-# This WARN_NO_PARAMDOC option can be enabled to get warnings for functions that
-# are documented, but have no documentation for their parameters or return
-# value. If set to NO doxygen will only warn about wrong or incomplete parameter
-# documentation, but not about the absence of documentation.
-# The default value is: NO.
-
-WARN_NO_PARAMDOC = YES
-
-# The WARN_FORMAT tag determines the format of the warning messages that doxygen
-# can produce. The string should contain the $file, $line, and $text tags, which
-# will be replaced by the file and line number from which the warning originated
-# and the warning text. Optionally the format may contain $version, which will
-# be replaced by the version of the file (if it could be obtained via
-# FILE_VERSION_FILTER)
-# The default value is: $file:$line: $text.
-
-WARN_FORMAT = "$file:$line: $text"
-
-# The WARN_LOGFILE tag can be used to specify a file to which warning and error
-# messages should be written. If left blank the output is written to standard
-# error (stderr).
-
-WARN_LOGFILE =
-
-#---------------------------------------------------------------------------
-# Configuration options related to the input files
-#---------------------------------------------------------------------------
-
-# The INPUT tag is used to specify the files and/or directories that contain
-# documented source files. You may enter file names like myfile.cpp or
-# directories like /usr/src/myproject. Separate the files or directories with
-# spaces.
-# Note: If this tag is empty the current directory is searched.
-
-INPUT =
-
-# This tag can be used to specify the character encoding of the source files
-# that doxygen parses. Internally doxygen uses the UTF-8 encoding. Doxygen uses
-# libiconv (or the iconv built into libc) for the transcoding. See the libiconv
-# documentation (see: http://www.gnu.org/software/libiconv) for the list of
-# possible encodings.
-# The default value is: UTF-8.
-
-INPUT_ENCODING = UTF-8
-
-# If the value of the INPUT tag contains directories, you can use the
-# FILE_PATTERNS tag to specify one or more wildcard patterns (like *.cpp and
-# *.h) to filter out the source-files in the directories. If left blank the
-# following patterns are tested:*.c, *.cc, *.cxx, *.cpp, *.c++, *.java, *.ii,
-# *.ixx, *.ipp, *.i++, *.inl, *.idl, *.ddl, *.odl, *.h, *.hh, *.hxx, *.hpp,
-# *.h++, *.cs, *.d, *.php, *.php4, *.php5, *.phtml, *.inc, *.m, *.markdown,
-# *.md, *.mm, *.dox, *.py, *.f90, *.f, *.for, *.tcl, *.vhd, *.vhdl, *.ucf,
-# *.qsf, *.as and *.js.
-
-FILE_PATTERNS = *.cs
-
-# The RECURSIVE tag can be used to specify whether or not subdirectories should
-# be searched for input files as well.
-# The default value is: NO.
-
-RECURSIVE = NO
-
-# The EXCLUDE tag can be used to specify files and/or directories that should be
-# excluded from the INPUT source files. This way you can easily exclude a
-# subdirectory from a directory tree whose root is specified with the INPUT tag.
-#
-# Note that relative paths are relative to the directory from which doxygen is
-# run.
-
-EXCLUDE =
-
-# The EXCLUDE_SYMLINKS tag can be used to select whether or not files or
-# directories that are symbolic links (a Unix file system feature) are excluded
-# from the input.
-# The default value is: NO.
-
-EXCLUDE_SYMLINKS = NO
-
-# If the value of the INPUT tag contains directories, you can use the
-# EXCLUDE_PATTERNS tag to specify one or more wildcard patterns to exclude
-# certain files from those directories.
-#
-# Note that the wildcards are matched against the file with absolute path, so to
-# exclude all test directories for example use the pattern */test/*
-
-EXCLUDE_PATTERNS =
-
-# The EXCLUDE_SYMBOLS tag can be used to specify one or more symbol names
-# (namespaces, classes, functions, etc.) that should be excluded from the
-# output. The symbol name can be a fully qualified name, a word, or if the
-# wildcard * is used, a substring. Examples: ANamespace, AClass,
-# AClass::ANamespace, ANamespace::*Test
-#
-# Note that the wildcards are matched against the file with absolute path, so to
-# exclude all test directories use the pattern */test/*
-
-EXCLUDE_SYMBOLS = SWIGTYPE_*, *swigC*
-
-# The EXAMPLE_PATH tag can be used to specify one or more files or directories
-# that contain example code fragments that are included (see the \include
-# command).
-
-EXAMPLE_PATH =
-
-# If the value of the EXAMPLE_PATH tag contains directories, you can use the
-# EXAMPLE_PATTERNS tag to specify one or more wildcard pattern (like *.cpp and
-# *.h) to filter out the source-files in the directories. If left blank all
-# files are included.
-
-EXAMPLE_PATTERNS =
-
-# If the EXAMPLE_RECURSIVE tag is set to YES then subdirectories will be
-# searched for input files to be used with the \include or \dontinclude commands
-# irrespective of the value of the RECURSIVE tag.
-# The default value is: NO.
-
-EXAMPLE_RECURSIVE = NO
-
-# The IMAGE_PATH tag can be used to specify one or more files or directories
-# that contain images that are to be included in the documentation (see the
-# \image command).
-
-IMAGE_PATH =
-
-# The INPUT_FILTER tag can be used to specify a program that doxygen should
-# invoke to filter for each input file. Doxygen will invoke the filter program
-# by executing (via popen()) the command:
-#
-# <filter> <input-file>
-#
-# where <filter> is the value of the INPUT_FILTER tag, and <input-file> is the
-# name of an input file. Doxygen will then use the output that the filter
-# program writes to standard output. If FILTER_PATTERNS is specified, this tag
-# will be ignored.
-#
-# Note that the filter must not add or remove lines; it is applied before the
-# code is scanned, but not when the output code is generated. If lines are added
-# or removed, the anchors will not be placed correctly.
-
-INPUT_FILTER =
-
-# The FILTER_PATTERNS tag can be used to specify filters on a per file pattern
-# basis. Doxygen will compare the file name with each pattern and apply the
-# filter if there is a match. The filters are a list of the form: pattern=filter
-# (like *.cpp=my_cpp_filter). See INPUT_FILTER for further information on how
-# filters are used. If the FILTER_PATTERNS tag is empty or if none of the
-# patterns match the file name, INPUT_FILTER is applied.
-
-FILTER_PATTERNS =
-
-# If the FILTER_SOURCE_FILES tag is set to YES, the input filter (if set using
-# INPUT_FILTER ) will also be used to filter the input files that are used for
-# producing the source files to browse (i.e. when SOURCE_BROWSER is set to YES).
-# The default value is: NO.
-
-FILTER_SOURCE_FILES = NO
-
-# The FILTER_SOURCE_PATTERNS tag can be used to specify source filters per file
-# pattern. A pattern will override the setting for FILTER_PATTERN (if any) and
-# it is also possible to disable source filtering for a specific pattern using
-# *.ext= (so without naming a filter).
-# This tag requires that the tag FILTER_SOURCE_FILES is set to YES.
-
-FILTER_SOURCE_PATTERNS =
-
-# If the USE_MDFILE_AS_MAINPAGE tag refers to the name of a markdown file that
-# is part of the input, its contents will be placed on the main page
-# (index.html). This can be useful if you have a project on for instance GitHub
-# and want to reuse the introduction page also for the doxygen output.
-
-USE_MDFILE_AS_MAINPAGE =
-
-#---------------------------------------------------------------------------
-# Configuration options related to source browsing
-#---------------------------------------------------------------------------
-
-# If the SOURCE_BROWSER tag is set to YES then a list of source files will be
-# generated. Documented entities will be cross-referenced with these sources.
-#
-# Note: To get rid of all source code in the generated output, make sure that
-# also VERBATIM_HEADERS is set to NO.
-# The default value is: NO.
-
-SOURCE_BROWSER = NO
-
-# Setting the INLINE_SOURCES tag to YES will include the body of functions,
-# classes and enums directly into the documentation.
-# The default value is: NO.
-
-INLINE_SOURCES = NO
-
-# Setting the STRIP_CODE_COMMENTS tag to YES will instruct doxygen to hide any
-# special comment blocks from generated source code fragments. Normal C, C++ and
-# Fortran comments will always remain visible.
-# The default value is: YES.
-
-STRIP_CODE_COMMENTS = YES
-
-# If the REFERENCED_BY_RELATION tag is set to YES then for each documented
-# function all documented functions referencing it will be listed.
-# The default value is: NO.
-
-REFERENCED_BY_RELATION = NO
-
-# If the REFERENCES_RELATION tag is set to YES then for each documented function
-# all documented entities called/used by that function will be listed.
-# The default value is: NO.
-
-REFERENCES_RELATION = NO
-
-# If the REFERENCES_LINK_SOURCE tag is set to YES and SOURCE_BROWSER tag is set
-# to YES, then the hyperlinks from functions in REFERENCES_RELATION and
-# REFERENCED_BY_RELATION lists will link to the source code. Otherwise they will
-# link to the documentation.
-# The default value is: YES.
-
-REFERENCES_LINK_SOURCE = YES
-
-# If SOURCE_TOOLTIPS is enabled (the default) then hovering a hyperlink in the
-# source code will show a tooltip with additional information such as prototype,
-# brief description and links to the definition and documentation. Since this
-# will make the HTML file larger and loading of large files a bit slower, you
-# can opt to disable this feature.
-# The default value is: YES.
-# This tag requires that the tag SOURCE_BROWSER is set to YES.
-
-SOURCE_TOOLTIPS = YES
-
-# If the USE_HTAGS tag is set to YES then the references to source code will
-# point to the HTML generated by the htags(1) tool instead of doxygen built-in
-# source browser. The htags tool is part of GNU's global source tagging system
-# (see http://www.gnu.org/software/global/global.html). You will need version
-# 4.8.6 or higher.
-#
-# To use it do the following:
-# - Install the latest version of global
-# - Enable SOURCE_BROWSER and USE_HTAGS in the config file
-# - Make sure the INPUT points to the root of the source tree
-# - Run doxygen as normal
-#
-# Doxygen will invoke htags (and that will in turn invoke gtags), so these
-# tools must be available from the command line (i.e. in the search path).
-#
-# The result: instead of the source browser generated by doxygen, the links to
-# source code will now point to the output of htags.
-# The default value is: NO.
-# This tag requires that the tag SOURCE_BROWSER is set to YES.
-
-USE_HTAGS = NO
-
-# If the VERBATIM_HEADERS tag is set the YES then doxygen will generate a
-# verbatim copy of the header file for each class for which an include is
-# specified. Set to NO to disable this.
-# See also: Section \class.
-# The default value is: YES.
-
-VERBATIM_HEADERS = YES
-
-#---------------------------------------------------------------------------
-# Configuration options related to the alphabetical class index
-#---------------------------------------------------------------------------
-
-# If the ALPHABETICAL_INDEX tag is set to YES, an alphabetical index of all
-# compounds will be generated. Enable this if the project contains a lot of
-# classes, structs, unions or interfaces.
-# The default value is: YES.
-
-ALPHABETICAL_INDEX = YES
-
-# The COLS_IN_ALPHA_INDEX tag can be used to specify the number of columns in
-# which the alphabetical index list will be split.
-# Minimum value: 1, maximum value: 20, default value: 5.
-# This tag requires that the tag ALPHABETICAL_INDEX is set to YES.
-
-COLS_IN_ALPHA_INDEX = 5
-
-# In case all classes in a project start with a common prefix, all classes will
-# be put under the same header in the alphabetical index. The IGNORE_PREFIX tag
-# can be used to specify a prefix (or a list of prefixes) that should be ignored
-# while generating the index headers.
-# This tag requires that the tag ALPHABETICAL_INDEX is set to YES.
-
-IGNORE_PREFIX =
-
-#---------------------------------------------------------------------------
-# Configuration options related to the HTML output
-#---------------------------------------------------------------------------
-
-# If the GENERATE_HTML tag is set to YES doxygen will generate HTML output
-# The default value is: YES.
-
-GENERATE_HTML = YES
-
-# The HTML_OUTPUT tag is used to specify where the HTML docs will be put. If a
-# relative path is entered the value of OUTPUT_DIRECTORY will be put in front of
-# it.
-# The default directory is: html.
-# This tag requires that the tag GENERATE_HTML is set to YES.
-
-HTML_OUTPUT = html
-
-# The HTML_FILE_EXTENSION tag can be used to specify the file extension for each
-# generated HTML page (for example: .htm, .php, .asp).
-# The default value is: .html.
-# This tag requires that the tag GENERATE_HTML is set to YES.
-
-HTML_FILE_EXTENSION = .html
-
-# The HTML_HEADER tag can be used to specify a user-defined HTML header file for
-# each generated HTML page. If the tag is left blank doxygen will generate a
-# standard header.
-#
-# To get valid HTML the header file that includes any scripts and style sheets
-# that doxygen needs, which is dependent on the configuration options used (e.g.
-# the setting GENERATE_TREEVIEW). It is highly recommended to start with a
-# default header using
-# doxygen -w html new_header.html new_footer.html new_stylesheet.css
-# YourConfigFile
-# and then modify the file new_header.html. See also section "Doxygen usage"
-# for information on how to generate the default header that doxygen normally
-# uses.
-# Note: The header is subject to change so you typically have to regenerate the
-# default header when upgrading to a newer version of doxygen. For a description
-# of the possible markers and block names see the documentation.
-# This tag requires that the tag GENERATE_HTML is set to YES.
-
-HTML_HEADER =
-
-# The HTML_FOOTER tag can be used to specify a user-defined HTML footer for each
-# generated HTML page. If the tag is left blank doxygen will generate a standard
-# footer. See HTML_HEADER for more information on how to generate a default
-# footer and what special commands can be used inside the footer. See also
-# section "Doxygen usage" for information on how to generate the default footer
-# that doxygen normally uses.
-# This tag requires that the tag GENERATE_HTML is set to YES.
-
-HTML_FOOTER =
-
-# The HTML_STYLESHEET tag can be used to specify a user-defined cascading style
-# sheet that is used by each HTML page. It can be used to fine-tune the look of
-# the HTML output. If left blank doxygen will generate a default style sheet.
-# See also section "Doxygen usage" for information on how to generate the style
-# sheet that doxygen normally uses.
-# Note: It is recommended to use HTML_EXTRA_STYLESHEET instead of this tag, as
-# it is more robust and this tag (HTML_STYLESHEET) will in the future become
-# obsolete.
-# This tag requires that the tag GENERATE_HTML is set to YES.
-
-HTML_STYLESHEET =
-
-# The HTML_EXTRA_STYLESHEET tag can be used to specify an additional user-
-# defined cascading style sheet that is included after the standard style sheets
-# created by doxygen. Using this option one can overrule certain style aspects.
-# This is preferred over using HTML_STYLESHEET since it does not replace the
-# standard style sheet and is therefor more robust against future updates.
-# Doxygen will copy the style sheet file to the output directory. For an example
-# see the documentation.
-# This tag requires that the tag GENERATE_HTML is set to YES.
-
-HTML_EXTRA_STYLESHEET =
-
-# The HTML_EXTRA_FILES tag can be used to specify one or more extra images or
-# other source files which should be copied to the HTML output directory. Note
-# that these files will be copied to the base HTML output directory. Use the
-# $relpath^ marker in the HTML_HEADER and/or HTML_FOOTER files to load these
-# files. In the HTML_STYLESHEET file, use the file name only. Also note that the
-# files will be copied as-is; there are no commands or markers available.
-# This tag requires that the tag GENERATE_HTML is set to YES.
-
-HTML_EXTRA_FILES =
-
-# The HTML_COLORSTYLE_HUE tag controls the color of the HTML output. Doxygen
-# will adjust the colors in the stylesheet and background images according to
-# this color. Hue is specified as an angle on a colorwheel, see
-# http://en.wikipedia.org/wiki/Hue for more information. For instance the value
-# 0 represents red, 60 is yellow, 120 is green, 180 is cyan, 240 is blue, 300
-# purple, and 360 is red again.
-# Minimum value: 0, maximum value: 359, default value: 220.
-# This tag requires that the tag GENERATE_HTML is set to YES.
-
-HTML_COLORSTYLE_HUE = 220
-
-# The HTML_COLORSTYLE_SAT tag controls the purity (or saturation) of the colors
-# in the HTML output. For a value of 0 the output will use grayscales only. A
-# value of 255 will produce the most vivid colors.
-# Minimum value: 0, maximum value: 255, default value: 100.
-# This tag requires that the tag GENERATE_HTML is set to YES.
-
-HTML_COLORSTYLE_SAT = 100
-
-# The HTML_COLORSTYLE_GAMMA tag controls the gamma correction applied to the
-# luminance component of the colors in the HTML output. Values below 100
-# gradually make the output lighter, whereas values above 100 make the output
-# darker. The value divided by 100 is the actual gamma applied, so 80 represents
-# a gamma of 0.8, The value 220 represents a gamma of 2.2, and 100 does not
-# change the gamma.
-# Minimum value: 40, maximum value: 240, default value: 80.
-# This tag requires that the tag GENERATE_HTML is set to YES.
-
-HTML_COLORSTYLE_GAMMA = 80
-
-# If the HTML_TIMESTAMP tag is set to YES then the footer of each generated HTML
-# page will contain the date and time when the page was generated. Setting this
-# to NO can help when comparing the output of multiple runs.
-# The default value is: YES.
-# This tag requires that the tag GENERATE_HTML is set to YES.
-
-HTML_TIMESTAMP = YES
-
-# If the HTML_DYNAMIC_SECTIONS tag is set to YES then the generated HTML
-# documentation will contain sections that can be hidden and shown after the
-# page has loaded.
-# The default value is: NO.
-# This tag requires that the tag GENERATE_HTML is set to YES.
-
-HTML_DYNAMIC_SECTIONS = NO
-
-# With HTML_INDEX_NUM_ENTRIES one can control the preferred number of entries
-# shown in the various tree structured indices initially; the user can expand
-# and collapse entries dynamically later on. Doxygen will expand the tree to
-# such a level that at most the specified number of entries are visible (unless
-# a fully collapsed tree already exceeds this amount). So setting the number of
-# entries 1 will produce a full collapsed tree by default. 0 is a special value
-# representing an infinite number of entries and will result in a full expanded
-# tree by default.
-# Minimum value: 0, maximum value: 9999, default value: 100.
-# This tag requires that the tag GENERATE_HTML is set to YES.
-
-HTML_INDEX_NUM_ENTRIES = 100
-
-# If the GENERATE_DOCSET tag is set to YES, additional index files will be
-# generated that can be used as input for Apple's Xcode 3 integrated development
-# environment (see: http://developer.apple.com/tools/xcode/), introduced with
-# OSX 10.5 (Leopard). To create a documentation set, doxygen will generate a
-# Makefile in the HTML output directory. Running make will produce the docset in
-# that directory and running make install will install the docset in
-# ~/Library/Developer/Shared/Documentation/DocSets so that Xcode will find it at
-# startup. See http://developer.apple.com/tools/creatingdocsetswithdoxygen.html
-# for more information.
-# The default value is: NO.
-# This tag requires that the tag GENERATE_HTML is set to YES.
-
-GENERATE_DOCSET = NO
-
-# This tag determines the name of the docset feed. A documentation feed provides
-# an umbrella under which multiple documentation sets from a single provider
-# (such as a company or product suite) can be grouped.
-# The default value is: Doxygen generated docs.
-# This tag requires that the tag GENERATE_DOCSET is set to YES.
-
-DOCSET_FEEDNAME = "Doxygen generated docs"
-
-# This tag specifies a string that should uniquely identify the documentation
-# set bundle. This should be a reverse domain-name style string, e.g.
-# com.mycompany.MyDocSet. Doxygen will append .docset to the name.
-# The default value is: org.doxygen.Project.
-# This tag requires that the tag GENERATE_DOCSET is set to YES.
-
-DOCSET_BUNDLE_ID = org.doxygen.Project
-
-# The DOCSET_PUBLISHER_ID tag specifies a string that should uniquely identify
-# the documentation publisher. This should be a reverse domain-name style
-# string, e.g. com.mycompany.MyDocSet.documentation.
-# The default value is: org.doxygen.Publisher.
-# This tag requires that the tag GENERATE_DOCSET is set to YES.
-
-DOCSET_PUBLISHER_ID = org.doxygen.Publisher
-
-# The DOCSET_PUBLISHER_NAME tag identifies the documentation publisher.
-# The default value is: Publisher.
-# This tag requires that the tag GENERATE_DOCSET is set to YES.
-
-DOCSET_PUBLISHER_NAME = Publisher
-
-# If the GENERATE_HTMLHELP tag is set to YES then doxygen generates three
-# additional HTML index files: index.hhp, index.hhc, and index.hhk. The
-# index.hhp is a project file that can be read by Microsoft's HTML Help Workshop
-# (see: http://www.microsoft.com/en-us/download/details.aspx?id=21138) on
-# Windows.
-#
-# The HTML Help Workshop contains a compiler that can convert all HTML output
-# generated by doxygen into a single compiled HTML file (.chm). Compiled HTML
-# files are now used as the Windows 98 help format, and will replace the old
-# Windows help format (.hlp) on all Windows platforms in the future. Compressed
-# HTML files also contain an index, a table of contents, and you can search for
-# words in the documentation. The HTML workshop also contains a viewer for
-# compressed HTML files.
-# The default value is: NO.
-# This tag requires that the tag GENERATE_HTML is set to YES.
-
-GENERATE_HTMLHELP = NO
-
-# The CHM_FILE tag can be used to specify the file name of the resulting .chm
-# file. You can add a path in front of the file if the result should not be
-# written to the html output directory.
-# This tag requires that the tag GENERATE_HTMLHELP is set to YES.
-
-CHM_FILE =
-
-# The HHC_LOCATION tag can be used to specify the location (absolute path
-# including file name) of the HTML help compiler ( hhc.exe). If non-empty
-# doxygen will try to run the HTML help compiler on the generated index.hhp.
-# The file has to be specified with full path.
-# This tag requires that the tag GENERATE_HTMLHELP is set to YES.
-
-HHC_LOCATION =
-
-# The GENERATE_CHI flag controls if a separate .chi index file is generated (
-# YES) or that it should be included in the master .chm file ( NO).
-# The default value is: NO.
-# This tag requires that the tag GENERATE_HTMLHELP is set to YES.
-
-GENERATE_CHI = NO
-
-# The CHM_INDEX_ENCODING is used to encode HtmlHelp index ( hhk), content ( hhc)
-# and project file content.
-# This tag requires that the tag GENERATE_HTMLHELP is set to YES.
-
-CHM_INDEX_ENCODING =
-
-# The BINARY_TOC flag controls whether a binary table of contents is generated (
-# YES) or a normal table of contents ( NO) in the .chm file.
-# The default value is: NO.
-# This tag requires that the tag GENERATE_HTMLHELP is set to YES.
-
-BINARY_TOC = NO
-
-# The TOC_EXPAND flag can be set to YES to add extra items for group members to
-# the table of contents of the HTML help documentation and to the tree view.
-# The default value is: NO.
-# This tag requires that the tag GENERATE_HTMLHELP is set to YES.
-
-TOC_EXPAND = NO
-
-# If the GENERATE_QHP tag is set to YES and both QHP_NAMESPACE and
-# QHP_VIRTUAL_FOLDER are set, an additional index file will be generated that
-# can be used as input for Qt's qhelpgenerator to generate a Qt Compressed Help
-# (.qch) of the generated HTML documentation.
-# The default value is: NO.
-# This tag requires that the tag GENERATE_HTML is set to YES.
-
-GENERATE_QHP = NO
-
-# If the QHG_LOCATION tag is specified, the QCH_FILE tag can be used to specify
-# the file name of the resulting .qch file. The path specified is relative to
-# the HTML output folder.
-# This tag requires that the tag GENERATE_QHP is set to YES.
-
-QCH_FILE =
-
-# The QHP_NAMESPACE tag specifies the namespace to use when generating Qt Help
-# Project output. For more information please see Qt Help Project / Namespace
-# (see: http://qt-project.org/doc/qt-4.8/qthelpproject.html#namespace).
-# The default value is: org.doxygen.Project.
-# This tag requires that the tag GENERATE_QHP is set to YES.
-
-QHP_NAMESPACE = org.doxygen.Project
-
-# The QHP_VIRTUAL_FOLDER tag specifies the namespace to use when generating Qt
-# Help Project output. For more information please see Qt Help Project / Virtual
-# Folders (see: http://qt-project.org/doc/qt-4.8/qthelpproject.html#virtual-
-# folders).
-# The default value is: doc.
-# This tag requires that the tag GENERATE_QHP is set to YES.
-
-QHP_VIRTUAL_FOLDER = doc
-
-# If the QHP_CUST_FILTER_NAME tag is set, it specifies the name of a custom
-# filter to add. For more information please see Qt Help Project / Custom
-# Filters (see: http://qt-project.org/doc/qt-4.8/qthelpproject.html#custom-
-# filters).
-# This tag requires that the tag GENERATE_QHP is set to YES.
-
-QHP_CUST_FILTER_NAME =
-
-# The QHP_CUST_FILTER_ATTRS tag specifies the list of the attributes of the
-# custom filter to add. For more information please see Qt Help Project / Custom
-# Filters (see: http://qt-project.org/doc/qt-4.8/qthelpproject.html#custom-
-# filters).
-# This tag requires that the tag GENERATE_QHP is set to YES.
-
-QHP_CUST_FILTER_ATTRS =
-
-# The QHP_SECT_FILTER_ATTRS tag specifies the list of the attributes this
-# project's filter section matches. Qt Help Project / Filter Attributes (see:
-# http://qt-project.org/doc/qt-4.8/qthelpproject.html#filter-attributes).
-# This tag requires that the tag GENERATE_QHP is set to YES.
-
-QHP_SECT_FILTER_ATTRS =
-
-# The QHG_LOCATION tag can be used to specify the location of Qt's
-# qhelpgenerator. If non-empty doxygen will try to run qhelpgenerator on the
-# generated .qhp file.
-# This tag requires that the tag GENERATE_QHP is set to YES.
-
-QHG_LOCATION =
-
-# If the GENERATE_ECLIPSEHELP tag is set to YES, additional index files will be
-# generated, together with the HTML files, they form an Eclipse help plugin. To
-# install this plugin and make it available under the help contents menu in
-# Eclipse, the contents of the directory containing the HTML and XML files needs
-# to be copied into the plugins directory of eclipse. The name of the directory
-# within the plugins directory should be the same as the ECLIPSE_DOC_ID value.
-# After copying Eclipse needs to be restarted before the help appears.
-# The default value is: NO.
-# This tag requires that the tag GENERATE_HTML is set to YES.
-
-GENERATE_ECLIPSEHELP = NO
-
-# A unique identifier for the Eclipse help plugin. When installing the plugin
-# the directory name containing the HTML and XML files should also have this
-# name. Each documentation set should have its own identifier.
-# The default value is: org.doxygen.Project.
-# This tag requires that the tag GENERATE_ECLIPSEHELP is set to YES.
-
-ECLIPSE_DOC_ID = org.doxygen.Project
-
-# If you want full control over the layout of the generated HTML pages it might
-# be necessary to disable the index and replace it with your own. The
-# DISABLE_INDEX tag can be used to turn on/off the condensed index (tabs) at top
-# of each HTML page. A value of NO enables the index and the value YES disables
-# it. Since the tabs in the index contain the same information as the navigation
-# tree, you can set this option to YES if you also set GENERATE_TREEVIEW to YES.
-# The default value is: NO.
-# This tag requires that the tag GENERATE_HTML is set to YES.
-
-DISABLE_INDEX = NO
-
-# The GENERATE_TREEVIEW tag is used to specify whether a tree-like index
-# structure should be generated to display hierarchical information. If the tag
-# value is set to YES, a side panel will be generated containing a tree-like
-# index structure (just like the one that is generated for HTML Help). For this
-# to work a browser that supports JavaScript, DHTML, CSS and frames is required
-# (i.e. any modern browser). Windows users are probably better off using the
-# HTML help feature. Via custom stylesheets (see HTML_EXTRA_STYLESHEET) one can
-# further fine-tune the look of the index. As an example, the default style
-# sheet generated by doxygen has an example that shows how to put an image at
-# the root of the tree instead of the PROJECT_NAME. Since the tree basically has
-# the same information as the tab index, you could consider setting
-# DISABLE_INDEX to YES when enabling this option.
-# The default value is: NO.
-# This tag requires that the tag GENERATE_HTML is set to YES.
-
-GENERATE_TREEVIEW = NO
-
-# The ENUM_VALUES_PER_LINE tag can be used to set the number of enum values that
-# doxygen will group on one line in the generated HTML documentation.
-#
-# Note that a value of 0 will completely suppress the enum values from appearing
-# in the overview section.
-# Minimum value: 0, maximum value: 20, default value: 4.
-# This tag requires that the tag GENERATE_HTML is set to YES.
-
-ENUM_VALUES_PER_LINE = 4
-
-# If the treeview is enabled (see GENERATE_TREEVIEW) then this tag can be used
-# to set the initial width (in pixels) of the frame in which the tree is shown.
-# Minimum value: 0, maximum value: 1500, default value: 250.
-# This tag requires that the tag GENERATE_HTML is set to YES.
-
-TREEVIEW_WIDTH = 250
-
-# When the EXT_LINKS_IN_WINDOW option is set to YES doxygen will open links to
-# external symbols imported via tag files in a separate window.
-# The default value is: NO.
-# This tag requires that the tag GENERATE_HTML is set to YES.
-
-EXT_LINKS_IN_WINDOW = NO
-
-# Use this tag to change the font size of LaTeX formulas included as images in
-# the HTML documentation. When you change the font size after a successful
-# doxygen run you need to manually remove any form_*.png images from the HTML
-# output directory to force them to be regenerated.
-# Minimum value: 8, maximum value: 50, default value: 10.
-# This tag requires that the tag GENERATE_HTML is set to YES.
-
-FORMULA_FONTSIZE = 10
-
-# Use the FORMULA_TRANPARENT tag to determine whether or not the images
-# generated for formulas are transparent PNGs. Transparent PNGs are not
-# supported properly for IE 6.0, but are supported on all modern browsers.
-#
-# Note that when changing this option you need to delete any form_*.png files in
-# the HTML output directory before the changes have effect.
-# The default value is: YES.
-# This tag requires that the tag GENERATE_HTML is set to YES.
-
-FORMULA_TRANSPARENT = YES
-
-# Enable the USE_MATHJAX option to render LaTeX formulas using MathJax (see
-# http://www.mathjax.org) which uses client side Javascript for the rendering
-# instead of using prerendered bitmaps. Use this if you do not have LaTeX
-# installed or if you want to formulas look prettier in the HTML output. When
-# enabled you may also need to install MathJax separately and configure the path
-# to it using the MATHJAX_RELPATH option.
-# The default value is: NO.
-# This tag requires that the tag GENERATE_HTML is set to YES.
-
-USE_MATHJAX = NO
-
-# When MathJax is enabled you can set the default output format to be used for
-# the MathJax output. See the MathJax site (see:
-# http://docs.mathjax.org/en/latest/output.html) for more details.
-# Possible values are: HTML-CSS (which is slower, but has the best
-# compatibility), NativeMML (i.e. MathML) and SVG.
-# The default value is: HTML-CSS.
-# This tag requires that the tag USE_MATHJAX is set to YES.
-
-MATHJAX_FORMAT = HTML-CSS
-
-# When MathJax is enabled you need to specify the location relative to the HTML
-# output directory using the MATHJAX_RELPATH option. The destination directory
-# should contain the MathJax.js script. For instance, if the mathjax directory
-# is located at the same level as the HTML output directory, then
-# MATHJAX_RELPATH should be ../mathjax. The default value points to the MathJax
-# Content Delivery Network so you can quickly see the result without installing
-# MathJax. However, it is strongly recommended to install a local copy of
-# MathJax from http://www.mathjax.org before deployment.
-# The default value is: http://cdn.mathjax.org/mathjax/latest.
-# This tag requires that the tag USE_MATHJAX is set to YES.
-
-MATHJAX_RELPATH = http://cdn.mathjax.org/mathjax/latest
-
-# The MATHJAX_EXTENSIONS tag can be used to specify one or more MathJax
-# extension names that should be enabled during MathJax rendering. For example
-# MATHJAX_EXTENSIONS = TeX/AMSmath TeX/AMSsymbols
-# This tag requires that the tag USE_MATHJAX is set to YES.
-
-MATHJAX_EXTENSIONS =
-
-# The MATHJAX_CODEFILE tag can be used to specify a file with javascript pieces
-# of code that will be used on startup of the MathJax code. See the MathJax site
-# (see: http://docs.mathjax.org/en/latest/output.html) for more details. For an
-# example see the documentation.
-# This tag requires that the tag USE_MATHJAX is set to YES.
-
-MATHJAX_CODEFILE =
-
-# When the SEARCHENGINE tag is enabled doxygen will generate a search box for
-# the HTML output. The underlying search engine uses javascript and DHTML and
-# should work on any modern browser. Note that when using HTML help
-# (GENERATE_HTMLHELP), Qt help (GENERATE_QHP), or docsets (GENERATE_DOCSET)
-# there is already a search function so this one should typically be disabled.
-# For large projects the javascript based search engine can be slow, then
-# enabling SERVER_BASED_SEARCH may provide a better solution. It is possible to
-# search using the keyboard; to jump to the search box use <access key> + S
-# (what the <access key> is depends on the OS and browser, but it is typically
-# <CTRL>, <ALT>/<option>, or both). Inside the search box use the <cursor down
-# key> to jump into the search results window, the results can be navigated
-# using the <cursor keys>. Press <Enter> to select an item or <escape> to cancel
-# the search. The filter options can be selected when the cursor is inside the
-# search box by pressing <Shift>+<cursor down>. Also here use the <cursor keys>
-# to select a filter and <Enter> or <escape> to activate or cancel the filter
-# option.
-# The default value is: YES.
-# This tag requires that the tag GENERATE_HTML is set to YES.
-
-SEARCHENGINE = YES
-
-# When the SERVER_BASED_SEARCH tag is enabled the search engine will be
-# implemented using a web server instead of a web client using Javascript. There
-# are two flavours of web server based searching depending on the
-# EXTERNAL_SEARCH setting. When disabled, doxygen will generate a PHP script for
-# searching and an index file used by the script. When EXTERNAL_SEARCH is
-# enabled the indexing and searching needs to be provided by external tools. See
-# the section "External Indexing and Searching" for details.
-# The default value is: NO.
-# This tag requires that the tag SEARCHENGINE is set to YES.
-
-SERVER_BASED_SEARCH = NO
-
-# When EXTERNAL_SEARCH tag is enabled doxygen will no longer generate the PHP
-# script for searching. Instead the search results are written to an XML file
-# which needs to be processed by an external indexer. Doxygen will invoke an
-# external search engine pointed to by the SEARCHENGINE_URL option to obtain the
-# search results.
-#
-# Doxygen ships with an example indexer ( doxyindexer) and search engine
-# (doxysearch.cgi) which are based on the open source search engine library
-# Xapian (see: http://xapian.org/).
-#
-# See the section "External Indexing and Searching" for details.
-# The default value is: NO.
-# This tag requires that the tag SEARCHENGINE is set to YES.
-
-EXTERNAL_SEARCH = NO
-
-# The SEARCHENGINE_URL should point to a search engine hosted by a web server
-# which will return the search results when EXTERNAL_SEARCH is enabled.
-#
-# Doxygen ships with an example indexer ( doxyindexer) and search engine
-# (doxysearch.cgi) which are based on the open source search engine library
-# Xapian (see: http://xapian.org/). See the section "External Indexing and
-# Searching" for details.
-# This tag requires that the tag SEARCHENGINE is set to YES.
-
-SEARCHENGINE_URL =
-
-# When SERVER_BASED_SEARCH and EXTERNAL_SEARCH are both enabled the unindexed
-# search data is written to a file for indexing by an external tool. With the
-# SEARCHDATA_FILE tag the name of this file can be specified.
-# The default file is: searchdata.xml.
-# This tag requires that the tag SEARCHENGINE is set to YES.
-
-SEARCHDATA_FILE = searchdata.xml
-
-# When SERVER_BASED_SEARCH and EXTERNAL_SEARCH are both enabled the
-# EXTERNAL_SEARCH_ID tag can be used as an identifier for the project. This is
-# useful in combination with EXTRA_SEARCH_MAPPINGS to search through multiple
-# projects and redirect the results back to the right project.
-# This tag requires that the tag SEARCHENGINE is set to YES.
-
-EXTERNAL_SEARCH_ID =
-
-# The EXTRA_SEARCH_MAPPINGS tag can be used to enable searching through doxygen
-# projects other than the one defined by this configuration file, but that are
-# all added to the same external search index. Each project needs to have a
-# unique id set via EXTERNAL_SEARCH_ID. The search mapping then maps the id of
-# to a relative location where the documentation can be found. The format is:
-# EXTRA_SEARCH_MAPPINGS = tagname1=loc1 tagname2=loc2 ...
-# This tag requires that the tag SEARCHENGINE is set to YES.
-
-EXTRA_SEARCH_MAPPINGS =
-
-#---------------------------------------------------------------------------
-# Configuration options related to the LaTeX output
-#---------------------------------------------------------------------------
-
-# If the GENERATE_LATEX tag is set to YES doxygen will generate LaTeX output.
-# The default value is: YES.
-
-GENERATE_LATEX = YES
-
-# The LATEX_OUTPUT tag is used to specify where the LaTeX docs will be put. If a
-# relative path is entered the value of OUTPUT_DIRECTORY will be put in front of
-# it.
-# The default directory is: latex.
-# This tag requires that the tag GENERATE_LATEX is set to YES.
-
-LATEX_OUTPUT = latex
-
-# The LATEX_CMD_NAME tag can be used to specify the LaTeX command name to be
-# invoked.
-#
-# Note that when enabling USE_PDFLATEX this option is only used for generating
-# bitmaps for formulas in the HTML output, but not in the Makefile that is
-# written to the output directory.
-# The default file is: latex.
-# This tag requires that the tag GENERATE_LATEX is set to YES.
-
-LATEX_CMD_NAME = latex
-
-# The MAKEINDEX_CMD_NAME tag can be used to specify the command name to generate
-# index for LaTeX.
-# The default file is: makeindex.
-# This tag requires that the tag GENERATE_LATEX is set to YES.
-
-MAKEINDEX_CMD_NAME = makeindex
-
-# If the COMPACT_LATEX tag is set to YES doxygen generates more compact LaTeX
-# documents. This may be useful for small projects and may help to save some
-# trees in general.
-# The default value is: NO.
-# This tag requires that the tag GENERATE_LATEX is set to YES.
-
-COMPACT_LATEX = NO
-
-# The PAPER_TYPE tag can be used to set the paper type that is used by the
-# printer.
-# Possible values are: a4 (210 x 297 mm), letter (8.5 x 11 inches), legal (8.5 x
-# 14 inches) and executive (7.25 x 10.5 inches).
-# The default value is: a4.
-# This tag requires that the tag GENERATE_LATEX is set to YES.
-
-PAPER_TYPE = a4
-
-# The EXTRA_PACKAGES tag can be used to specify one or more LaTeX package names
-# that should be included in the LaTeX output. To get the times font for
-# instance you can specify
-# EXTRA_PACKAGES=times
-# If left blank no extra packages will be included.
-# This tag requires that the tag GENERATE_LATEX is set to YES.
-
-EXTRA_PACKAGES =
-
-# The LATEX_HEADER tag can be used to specify a personal LaTeX header for the
-# generated LaTeX document. The header should contain everything until the first
-# chapter. If it is left blank doxygen will generate a standard header. See
-# section "Doxygen usage" for information on how to let doxygen write the
-# default header to a separate file.
-#
-# Note: Only use a user-defined header if you know what you are doing! The
-# following commands have a special meaning inside the header: $title,
-# $datetime, $date, $doxygenversion, $projectname, $projectnumber. Doxygen will
-# replace them by respectively the title of the page, the current date and time,
-# only the current date, the version number of doxygen, the project name (see
-# PROJECT_NAME), or the project number (see PROJECT_NUMBER).
-# This tag requires that the tag GENERATE_LATEX is set to YES.
-
-LATEX_HEADER =
-
-# The LATEX_FOOTER tag can be used to specify a personal LaTeX footer for the
-# generated LaTeX document. The footer should contain everything after the last
-# chapter. If it is left blank doxygen will generate a standard footer.
-#
-# Note: Only use a user-defined footer if you know what you are doing!
-# This tag requires that the tag GENERATE_LATEX is set to YES.
-
-LATEX_FOOTER =
-
-# The LATEX_EXTRA_FILES tag can be used to specify one or more extra images or
-# other source files which should be copied to the LATEX_OUTPUT output
-# directory. Note that the files will be copied as-is; there are no commands or
-# markers available.
-# This tag requires that the tag GENERATE_LATEX is set to YES.
-
-LATEX_EXTRA_FILES =
-
-# If the PDF_HYPERLINKS tag is set to YES, the LaTeX that is generated is
-# prepared for conversion to PDF (using ps2pdf or pdflatex). The PDF file will
-# contain links (just like the HTML output) instead of page references. This
-# makes the output suitable for online browsing using a PDF viewer.
-# The default value is: YES.
-# This tag requires that the tag GENERATE_LATEX is set to YES.
-
-PDF_HYPERLINKS = YES
-
-# If the LATEX_PDFLATEX tag is set to YES, doxygen will use pdflatex to generate
-# the PDF file directly from the LaTeX files. Set this option to YES to get a
-# higher quality PDF documentation.
-# The default value is: YES.
-# This tag requires that the tag GENERATE_LATEX is set to YES.
-
-USE_PDFLATEX = YES
-
-# If the LATEX_BATCHMODE tag is set to YES, doxygen will add the \batchmode
-# command to the generated LaTeX files. This will instruct LaTeX to keep running
-# if errors occur, instead of asking the user for help. This option is also used
-# when generating formulas in HTML.
-# The default value is: NO.
-# This tag requires that the tag GENERATE_LATEX is set to YES.
-
-LATEX_BATCHMODE = NO
-
-# If the LATEX_HIDE_INDICES tag is set to YES then doxygen will not include the
-# index chapters (such as File Index, Compound Index, etc.) in the output.
-# The default value is: NO.
-# This tag requires that the tag GENERATE_LATEX is set to YES.
-
-LATEX_HIDE_INDICES = NO
-
-# If the LATEX_SOURCE_CODE tag is set to YES then doxygen will include source
-# code with syntax highlighting in the LaTeX output.
-#
-# Note that which sources are shown also depends on other settings such as
-# SOURCE_BROWSER.
-# The default value is: NO.
-# This tag requires that the tag GENERATE_LATEX is set to YES.
-
-LATEX_SOURCE_CODE = NO
-
-# The LATEX_BIB_STYLE tag can be used to specify the style to use for the
-# bibliography, e.g. plainnat, or ieeetr. See
-# http://en.wikipedia.org/wiki/BibTeX and \cite for more info.
-# The default value is: plain.
-# This tag requires that the tag GENERATE_LATEX is set to YES.
-
-LATEX_BIB_STYLE = plain
-
-#---------------------------------------------------------------------------
-# Configuration options related to the RTF output
-#---------------------------------------------------------------------------
-
-# If the GENERATE_RTF tag is set to YES doxygen will generate RTF output. The
-# RTF output is optimized for Word 97 and may not look too pretty with other RTF
-# readers/editors.
-# The default value is: NO.
-
-GENERATE_RTF = NO
-
-# The RTF_OUTPUT tag is used to specify where the RTF docs will be put. If a
-# relative path is entered the value of OUTPUT_DIRECTORY will be put in front of
-# it.
-# The default directory is: rtf.
-# This tag requires that the tag GENERATE_RTF is set to YES.
-
-RTF_OUTPUT = rtf
-
-# If the COMPACT_RTF tag is set to YES doxygen generates more compact RTF
-# documents. This may be useful for small projects and may help to save some
-# trees in general.
-# The default value is: NO.
-# This tag requires that the tag GENERATE_RTF is set to YES.
-
-COMPACT_RTF = NO
-
-# If the RTF_HYPERLINKS tag is set to YES, the RTF that is generated will
-# contain hyperlink fields. The RTF file will contain links (just like the HTML
-# output) instead of page references. This makes the output suitable for online
-# browsing using Word or some other Word compatible readers that support those
-# fields.
-#
-# Note: WordPad (write) and others do not support links.
-# The default value is: NO.
-# This tag requires that the tag GENERATE_RTF is set to YES.
-
-RTF_HYPERLINKS = NO
-
-# Load stylesheet definitions from file. Syntax is similar to doxygen's config
-# file, i.e. a series of assignments. You only have to provide replacements,
-# missing definitions are set to their default value.
-#
-# See also section "Doxygen usage" for information on how to generate the
-# default style sheet that doxygen normally uses.
-# This tag requires that the tag GENERATE_RTF is set to YES.
-
-RTF_STYLESHEET_FILE =
-
-# Set optional variables used in the generation of an RTF document. Syntax is
-# similar to doxygen's config file. A template extensions file can be generated
-# using doxygen -e rtf extensionFile.
-# This tag requires that the tag GENERATE_RTF is set to YES.
-
-RTF_EXTENSIONS_FILE =
-
-#---------------------------------------------------------------------------
-# Configuration options related to the man page output
-#---------------------------------------------------------------------------
-
-# If the GENERATE_MAN tag is set to YES doxygen will generate man pages for
-# classes and files.
-# The default value is: NO.
-
-GENERATE_MAN = NO
-
-# The MAN_OUTPUT tag is used to specify where the man pages will be put. If a
-# relative path is entered the value of OUTPUT_DIRECTORY will be put in front of
-# it. A directory man3 will be created inside the directory specified by
-# MAN_OUTPUT.
-# The default directory is: man.
-# This tag requires that the tag GENERATE_MAN is set to YES.
-
-MAN_OUTPUT = man
-
-# The MAN_EXTENSION tag determines the extension that is added to the generated
-# man pages. In case the manual section does not start with a number, the number
-# 3 is prepended. The dot (.) at the beginning of the MAN_EXTENSION tag is
-# optional.
-# The default value is: .3.
-# This tag requires that the tag GENERATE_MAN is set to YES.
-
-MAN_EXTENSION = .3
-
-# If the MAN_LINKS tag is set to YES and doxygen generates man output, then it
-# will generate one additional man file for each entity documented in the real
-# man page(s). These additional files only source the real man page, but without
-# them the man command would be unable to find the correct page.
-# The default value is: NO.
-# This tag requires that the tag GENERATE_MAN is set to YES.
-
-MAN_LINKS = NO
-
-#---------------------------------------------------------------------------
-# Configuration options related to the XML output
-#---------------------------------------------------------------------------
-
-# If the GENERATE_XML tag is set to YES doxygen will generate an XML file that
-# captures the structure of the code including all documentation.
-# The default value is: NO.
-
-GENERATE_XML = NO
-
-# The XML_OUTPUT tag is used to specify where the XML pages will be put. If a
-# relative path is entered the value of OUTPUT_DIRECTORY will be put in front of
-# it.
-# The default directory is: xml.
-# This tag requires that the tag GENERATE_XML is set to YES.
-
-XML_OUTPUT = xml
-
-# The XML_SCHEMA tag can be used to specify a XML schema, which can be used by a
-# validating XML parser to check the syntax of the XML files.
-# This tag requires that the tag GENERATE_XML is set to YES.
-
-XML_SCHEMA =
-
-# The XML_DTD tag can be used to specify a XML DTD, which can be used by a
-# validating XML parser to check the syntax of the XML files.
-# This tag requires that the tag GENERATE_XML is set to YES.
-
-XML_DTD =
-
-# If the XML_PROGRAMLISTING tag is set to YES doxygen will dump the program
-# listings (including syntax highlighting and cross-referencing information) to
-# the XML output. Note that enabling this will significantly increase the size
-# of the XML output.
-# The default value is: YES.
-# This tag requires that the tag GENERATE_XML is set to YES.
-
-XML_PROGRAMLISTING = YES
-
-#---------------------------------------------------------------------------
-# Configuration options related to the DOCBOOK output
-#---------------------------------------------------------------------------
-
-# If the GENERATE_DOCBOOK tag is set to YES doxygen will generate Docbook files
-# that can be used to generate PDF.
-# The default value is: NO.
-
-GENERATE_DOCBOOK = NO
-
-# The DOCBOOK_OUTPUT tag is used to specify where the Docbook pages will be put.
-# If a relative path is entered the value of OUTPUT_DIRECTORY will be put in
-# front of it.
-# The default directory is: docbook.
-# This tag requires that the tag GENERATE_DOCBOOK is set to YES.
-
-DOCBOOK_OUTPUT = docbook
-
-#---------------------------------------------------------------------------
-# Configuration options for the AutoGen Definitions output
-#---------------------------------------------------------------------------
-
-# If the GENERATE_AUTOGEN_DEF tag is set to YES doxygen will generate an AutoGen
-# Definitions (see http://autogen.sf.net) file that captures the structure of
-# the code including all documentation. Note that this feature is still
-# experimental and incomplete at the moment.
-# The default value is: NO.
-
-GENERATE_AUTOGEN_DEF = NO
-
-#---------------------------------------------------------------------------
-# Configuration options related to the Perl module output
-#---------------------------------------------------------------------------
-
-# If the GENERATE_PERLMOD tag is set to YES doxygen will generate a Perl module
-# file that captures the structure of the code including all documentation.
-#
-# Note that this feature is still experimental and incomplete at the moment.
-# The default value is: NO.
-
-GENERATE_PERLMOD = NO
-
-# If the PERLMOD_LATEX tag is set to YES doxygen will generate the necessary
-# Makefile rules, Perl scripts and LaTeX code to be able to generate PDF and DVI
-# output from the Perl module output.
-# The default value is: NO.
-# This tag requires that the tag GENERATE_PERLMOD is set to YES.
-
-PERLMOD_LATEX = NO
-
-# If the PERLMOD_PRETTY tag is set to YES the Perl module output will be nicely
-# formatted so it can be parsed by a human reader. This is useful if you want to
-# understand what is going on. On the other hand, if this tag is set to NO the
-# size of the Perl module output will be much smaller and Perl will parse it
-# just the same.
-# The default value is: YES.
-# This tag requires that the tag GENERATE_PERLMOD is set to YES.
-
-PERLMOD_PRETTY = YES
-
-# The names of the make variables in the generated doxyrules.make file are
-# prefixed with the string contained in PERLMOD_MAKEVAR_PREFIX. This is useful
-# so different doxyrules.make files included by the same Makefile don't
-# overwrite each other's variables.
-# This tag requires that the tag GENERATE_PERLMOD is set to YES.
-
-PERLMOD_MAKEVAR_PREFIX =
-
-#---------------------------------------------------------------------------
-# Configuration options related to the preprocessor
-#---------------------------------------------------------------------------
-
-# If the ENABLE_PREPROCESSING tag is set to YES doxygen will evaluate all
-# C-preprocessor directives found in the sources and include files.
-# The default value is: YES.
-
-ENABLE_PREPROCESSING = YES
-
-# If the MACRO_EXPANSION tag is set to YES doxygen will expand all macro names
-# in the source code. If set to NO only conditional compilation will be
-# performed. Macro expansion can be done in a controlled way by setting
-# EXPAND_ONLY_PREDEF to YES.
-# The default value is: NO.
-# This tag requires that the tag ENABLE_PREPROCESSING is set to YES.
-
-MACRO_EXPANSION = NO
-
-# If the EXPAND_ONLY_PREDEF and MACRO_EXPANSION tags are both set to YES then
-# the macro expansion is limited to the macros specified with the PREDEFINED and
-# EXPAND_AS_DEFINED tags.
-# The default value is: NO.
-# This tag requires that the tag ENABLE_PREPROCESSING is set to YES.
-
-EXPAND_ONLY_PREDEF = NO
-
-# If the SEARCH_INCLUDES tag is set to YES the includes files in the
-# INCLUDE_PATH will be searched if a #include is found.
-# The default value is: YES.
-# This tag requires that the tag ENABLE_PREPROCESSING is set to YES.
-
-SEARCH_INCLUDES = YES
-
-# The INCLUDE_PATH tag can be used to specify one or more directories that
-# contain include files that are not input files but should be processed by the
-# preprocessor.
-# This tag requires that the tag SEARCH_INCLUDES is set to YES.
-
-INCLUDE_PATH =
-
-# You can use the INCLUDE_FILE_PATTERNS tag to specify one or more wildcard
-# patterns (like *.h and *.hpp) to filter out the header-files in the
-# directories. If left blank, the patterns specified with FILE_PATTERNS will be
-# used.
-# This tag requires that the tag ENABLE_PREPROCESSING is set to YES.
-
-INCLUDE_FILE_PATTERNS =
-
-# The PREDEFINED tag can be used to specify one or more macro names that are
-# defined before the preprocessor is started (similar to the -D option of e.g.
-# gcc). The argument of the tag is a list of macros of the form: name or
-# name=definition (no spaces). If the definition and the "=" are omitted, "=1"
-# is assumed. To prevent a macro definition from being undefined via #undef or
-# recursively expanded use the := operator instead of the = operator.
-# This tag requires that the tag ENABLE_PREPROCESSING is set to YES.
-
-PREDEFINED =
-
-# If the MACRO_EXPANSION and EXPAND_ONLY_PREDEF tags are set to YES then this
-# tag can be used to specify a list of macro names that should be expanded. The
-# macro definition that is found in the sources will be used. Use the PREDEFINED
-# tag if you want to use a different macro definition that overrules the
-# definition found in the source code.
-# This tag requires that the tag ENABLE_PREPROCESSING is set to YES.
-
-EXPAND_AS_DEFINED =
-
-# If the SKIP_FUNCTION_MACROS tag is set to YES then doxygen's preprocessor will
-# remove all refrences to function-like macros that are alone on a line, have an
-# all uppercase name, and do not end with a semicolon. Such function macros are
-# typically used for boiler-plate code, and will confuse the parser if not
-# removed.
-# The default value is: YES.
-# This tag requires that the tag ENABLE_PREPROCESSING is set to YES.
-
-SKIP_FUNCTION_MACROS = YES
-
-#---------------------------------------------------------------------------
-# Configuration options related to external references
-#---------------------------------------------------------------------------
-
-# The TAGFILES tag can be used to specify one or more tag files. For each tag
-# file the location of the external documentation should be added. The format of
-# a tag file without this location is as follows:
-# TAGFILES = file1 file2 ...
-# Adding location for the tag files is done as follows:
-# TAGFILES = file1=loc1 "file2 = loc2" ...
-# where loc1 and loc2 can be relative or absolute paths or URLs. See the
-# section "Linking to external documentation" for more information about the use
-# of tag files.
-# Note: Each tag file must have an unique name (where the name does NOT include
-# the path). If a tag file is not located in the directory in which doxygen is
-# run, you must also specify the path to the tagfile here.
-
-TAGFILES =
-
-# When a file name is specified after GENERATE_TAGFILE, doxygen will create a
-# tag file that is based on the input files it reads. See section "Linking to
-# external documentation" for more information about the usage of tag files.
-
-GENERATE_TAGFILE =
-
-# If the ALLEXTERNALS tag is set to YES all external class will be listed in the
-# class index. If set to NO only the inherited external classes will be listed.
-# The default value is: NO.
-
-ALLEXTERNALS = NO
-
-# If the EXTERNAL_GROUPS tag is set to YES all external groups will be listed in
-# the modules index. If set to NO, only the current project's groups will be
-# listed.
-# The default value is: YES.
-
-EXTERNAL_GROUPS = YES
-
-# If the EXTERNAL_PAGES tag is set to YES all external pages will be listed in
-# the related pages index. If set to NO, only the current project's pages will
-# be listed.
-# The default value is: YES.
-
-EXTERNAL_PAGES = YES
-
-# The PERL_PATH should be the absolute path and name of the perl script
-# interpreter (i.e. the result of 'which perl').
-# The default file (with absolute path) is: /usr/bin/perl.
-
-PERL_PATH = /usr/bin/perl
-
-#---------------------------------------------------------------------------
-# Configuration options related to the dot tool
-#---------------------------------------------------------------------------
-
-# If the CLASS_DIAGRAMS tag is set to YES doxygen will generate a class diagram
-# (in HTML and LaTeX) for classes with base or super classes. Setting the tag to
-# NO turns the diagrams off. Note that this option also works with HAVE_DOT
-# disabled, but it is recommended to install and use dot, since it yields more
-# powerful graphs.
-# The default value is: YES.
-
-CLASS_DIAGRAMS = YES
-
-# You can define message sequence charts within doxygen comments using the \msc
-# command. Doxygen will then run the mscgen tool (see:
-# http://www.mcternan.me.uk/mscgen/)) to produce the chart and insert it in the
-# documentation. The MSCGEN_PATH tag allows you to specify the directory where
-# the mscgen tool resides. If left empty the tool is assumed to be found in the
-# default search path.
-
-MSCGEN_PATH =
-
-# You can include diagrams made with dia in doxygen documentation. Doxygen will
-# then run dia to produce the diagram and insert it in the documentation. The
-# DIA_PATH tag allows you to specify the directory where the dia binary resides.
-# If left empty dia is assumed to be found in the default search path.
-
-DIA_PATH =
-
-# If set to YES, the inheritance and collaboration graphs will hide inheritance
-# and usage relations if the target is undocumented or is not a class.
-# The default value is: YES.
-
-HIDE_UNDOC_RELATIONS = YES
-
-# If you set the HAVE_DOT tag to YES then doxygen will assume the dot tool is
-# available from the path. This tool is part of Graphviz (see:
-# http://www.graphviz.org/), a graph visualization toolkit from AT&T and Lucent
-# Bell Labs. The other options in this section have no effect if this option is
-# set to NO
-# The default value is: NO.
-
-HAVE_DOT = NO
-
-# The DOT_NUM_THREADS specifies the number of dot invocations doxygen is allowed
-# to run in parallel. When set to 0 doxygen will base this on the number of
-# processors available in the system. You can set it explicitly to a value
-# larger than 0 to get control over the balance between CPU load and processing
-# speed.
-# Minimum value: 0, maximum value: 32, default value: 0.
-# This tag requires that the tag HAVE_DOT is set to YES.
-
-DOT_NUM_THREADS = 0
-
-# When you want a differently looking font n the dot files that doxygen
-# generates you can specify the font name using DOT_FONTNAME. You need to make
-# sure dot is able to find the font, which can be done by putting it in a
-# standard location or by setting the DOTFONTPATH environment variable or by
-# setting DOT_FONTPATH to the directory containing the font.
-# The default value is: Helvetica.
-# This tag requires that the tag HAVE_DOT is set to YES.
-
-DOT_FONTNAME = Helvetica
-
-# The DOT_FONTSIZE tag can be used to set the size (in points) of the font of
-# dot graphs.
-# Minimum value: 4, maximum value: 24, default value: 10.
-# This tag requires that the tag HAVE_DOT is set to YES.
-
-DOT_FONTSIZE = 10
-
-# By default doxygen will tell dot to use the default font as specified with
-# DOT_FONTNAME. If you specify a different font using DOT_FONTNAME you can set
-# the path where dot can find it using this tag.
-# This tag requires that the tag HAVE_DOT is set to YES.
-
-DOT_FONTPATH =
-
-# If the CLASS_GRAPH tag is set to YES then doxygen will generate a graph for
-# each documented class showing the direct and indirect inheritance relations.
-# Setting this tag to YES will force the CLASS_DIAGRAMS tag to NO.
-# The default value is: YES.
-# This tag requires that the tag HAVE_DOT is set to YES.
-
-CLASS_GRAPH = YES
-
-# If the COLLABORATION_GRAPH tag is set to YES then doxygen will generate a
-# graph for each documented class showing the direct and indirect implementation
-# dependencies (inheritance, containment, and class references variables) of the
-# class with other documented classes.
-# The default value is: YES.
-# This tag requires that the tag HAVE_DOT is set to YES.
-
-COLLABORATION_GRAPH = YES
-
-# If the GROUP_GRAPHS tag is set to YES then doxygen will generate a graph for
-# groups, showing the direct groups dependencies.
-# The default value is: YES.
-# This tag requires that the tag HAVE_DOT is set to YES.
-
-GROUP_GRAPHS = YES
-
-# If the UML_LOOK tag is set to YES doxygen will generate inheritance and
-# collaboration diagrams in a style similar to the OMG's Unified Modeling
-# Language.
-# The default value is: NO.
-# This tag requires that the tag HAVE_DOT is set to YES.
-
-UML_LOOK = NO
-
-# If the UML_LOOK tag is enabled, the fields and methods are shown inside the
-# class node. If there are many fields or methods and many nodes the graph may
-# become too big to be useful. The UML_LIMIT_NUM_FIELDS threshold limits the
-# number of items for each type to make the size more manageable. Set this to 0
-# for no limit. Note that the threshold may be exceeded by 50% before the limit
-# is enforced. So when you set the threshold to 10, up to 15 fields may appear,
-# but if the number exceeds 15, the total amount of fields shown is limited to
-# 10.
-# Minimum value: 0, maximum value: 100, default value: 10.
-# This tag requires that the tag HAVE_DOT is set to YES.
-
-UML_LIMIT_NUM_FIELDS = 10
-
-# If the TEMPLATE_RELATIONS tag is set to YES then the inheritance and
-# collaboration graphs will show the relations between templates and their
-# instances.
-# The default value is: NO.
-# This tag requires that the tag HAVE_DOT is set to YES.
-
-TEMPLATE_RELATIONS = NO
-
-# If the INCLUDE_GRAPH, ENABLE_PREPROCESSING and SEARCH_INCLUDES tags are set to
-# YES then doxygen will generate a graph for each documented file showing the
-# direct and indirect include dependencies of the file with other documented
-# files.
-# The default value is: YES.
-# This tag requires that the tag HAVE_DOT is set to YES.
-
-INCLUDE_GRAPH = YES
-
-# If the INCLUDED_BY_GRAPH, ENABLE_PREPROCESSING and SEARCH_INCLUDES tags are
-# set to YES then doxygen will generate a graph for each documented file showing
-# the direct and indirect include dependencies of the file with other documented
-# files.
-# The default value is: YES.
-# This tag requires that the tag HAVE_DOT is set to YES.
-
-INCLUDED_BY_GRAPH = YES
-
-# If the CALL_GRAPH tag is set to YES then doxygen will generate a call
-# dependency graph for every global function or class method.
-#
-# Note that enabling this option will significantly increase the time of a run.
-# So in most cases it will be better to enable call graphs for selected
-# functions only using the \callgraph command.
-# The default value is: NO.
-# This tag requires that the tag HAVE_DOT is set to YES.
-
-CALL_GRAPH = NO
-
-# If the CALLER_GRAPH tag is set to YES then doxygen will generate a caller
-# dependency graph for every global function or class method.
-#
-# Note that enabling this option will significantly increase the time of a run.
-# So in most cases it will be better to enable caller graphs for selected
-# functions only using the \callergraph command.
-# The default value is: NO.
-# This tag requires that the tag HAVE_DOT is set to YES.
-
-CALLER_GRAPH = NO
-
-# If the GRAPHICAL_HIERARCHY tag is set to YES then doxygen will graphical
-# hierarchy of all classes instead of a textual one.
-# The default value is: YES.
-# This tag requires that the tag HAVE_DOT is set to YES.
-
-GRAPHICAL_HIERARCHY = YES
-
-# If the DIRECTORY_GRAPH tag is set to YES then doxygen will show the
-# dependencies a directory has on other directories in a graphical way. The
-# dependency relations are determined by the #include relations between the
-# files in the directories.
-# The default value is: YES.
-# This tag requires that the tag HAVE_DOT is set to YES.
-
-DIRECTORY_GRAPH = YES
-
-# The DOT_IMAGE_FORMAT tag can be used to set the image format of the images
-# generated by dot.
-# Note: If you choose svg you need to set HTML_FILE_EXTENSION to xhtml in order
-# to make the SVG files visible in IE 9+ (other browsers do not have this
-# requirement).
-# Possible values are: png, jpg, gif and svg.
-# The default value is: png.
-# This tag requires that the tag HAVE_DOT is set to YES.
-
-DOT_IMAGE_FORMAT = png
-
-# If DOT_IMAGE_FORMAT is set to svg, then this option can be set to YES to
-# enable generation of interactive SVG images that allow zooming and panning.
-#
-# Note that this requires a modern browser other than Internet Explorer. Tested
-# and working are Firefox, Chrome, Safari, and Opera.
-# Note: For IE 9+ you need to set HTML_FILE_EXTENSION to xhtml in order to make
-# the SVG files visible. Older versions of IE do not have SVG support.
-# The default value is: NO.
-# This tag requires that the tag HAVE_DOT is set to YES.
-
-INTERACTIVE_SVG = NO
-
-# The DOT_PATH tag can be used to specify the path where the dot tool can be
-# found. If left blank, it is assumed the dot tool can be found in the path.
-# This tag requires that the tag HAVE_DOT is set to YES.
-
-DOT_PATH =
-
-# The DOTFILE_DIRS tag can be used to specify one or more directories that
-# contain dot files that are included in the documentation (see the \dotfile
-# command).
-# This tag requires that the tag HAVE_DOT is set to YES.
-
-DOTFILE_DIRS =
-
-# The MSCFILE_DIRS tag can be used to specify one or more directories that
-# contain msc files that are included in the documentation (see the \mscfile
-# command).
-
-MSCFILE_DIRS =
-
-# The DIAFILE_DIRS tag can be used to specify one or more directories that
-# contain dia files that are included in the documentation (see the \diafile
-# command).
-
-DIAFILE_DIRS =
-
-# The DOT_GRAPH_MAX_NODES tag can be used to set the maximum number of nodes
-# that will be shown in the graph. If the number of nodes in a graph becomes
-# larger than this value, doxygen will truncate the graph, which is visualized
-# by representing a node as a red box. Note that doxygen if the number of direct
-# children of the root node in a graph is already larger than
-# DOT_GRAPH_MAX_NODES then the graph will not be shown at all. Also note that
-# the size of a graph can be further restricted by MAX_DOT_GRAPH_DEPTH.
-# Minimum value: 0, maximum value: 10000, default value: 50.
-# This tag requires that the tag HAVE_DOT is set to YES.
-
-DOT_GRAPH_MAX_NODES = 50
-
-# The MAX_DOT_GRAPH_DEPTH tag can be used to set the maximum depth of the graphs
-# generated by dot. A depth value of 3 means that only nodes reachable from the
-# root by following a path via at most 3 edges will be shown. Nodes that lay
-# further from the root node will be omitted. Note that setting this option to 1
-# or 2 may greatly reduce the computation time needed for large code bases. Also
-# note that the size of a graph can be further restricted by
-# DOT_GRAPH_MAX_NODES. Using a depth of 0 means no depth restriction.
-# Minimum value: 0, maximum value: 1000, default value: 0.
-# This tag requires that the tag HAVE_DOT is set to YES.
-
-MAX_DOT_GRAPH_DEPTH = 0
-
-# Set the DOT_TRANSPARENT tag to YES to generate images with a transparent
-# background. This is disabled by default, because dot on Windows does not seem
-# to support this out of the box.
-#
-# Warning: Depending on the platform used, enabling this option may lead to
-# badly anti-aliased labels on the edges of a graph (i.e. they become hard to
-# read).
-# The default value is: NO.
-# This tag requires that the tag HAVE_DOT is set to YES.
-
-DOT_TRANSPARENT = NO
-
-# Set the DOT_MULTI_TARGETS tag to YES allow dot to generate multiple output
-# files in one run (i.e. multiple -o and -T options on the command line). This
-# makes dot run faster, but since only newer versions of dot (>1.8.10) support
-# this, this feature is disabled by default.
-# The default value is: NO.
-# This tag requires that the tag HAVE_DOT is set to YES.
-
-DOT_MULTI_TARGETS = YES
-
-# If the GENERATE_LEGEND tag is set to YES doxygen will generate a legend page
-# explaining the meaning of the various boxes and arrows in the dot generated
-# graphs.
-# The default value is: YES.
-# This tag requires that the tag HAVE_DOT is set to YES.
-
-GENERATE_LEGEND = YES
-
-# If the DOT_CLEANUP tag is set to YES doxygen will remove the intermediate dot
-# files that are used to generate the various graphs.
-# The default value is: YES.
-# This tag requires that the tag HAVE_DOT is set to YES.
-
-DOT_CLEANUP = YES
-// Copyright (c) 2016 Samsung Electronics Co., Ltd All Rights Reserved
-// PROPRIETARY/CONFIDENTIAL
-// This software is the confidential and proprietary
-// information of SAMSUNG ELECTRONICS ("Confidential Information"). You shall
-// not disclose such Confidential Information and shall use it only in
-// accordance with the terms of the license agreement you entered into with
-// SAMSUNG ELECTRONICS. SAMSUNG make no representations or warranties about the
-// suitability of the software, either express or implied, including but not
-// limited to the implied warranties of merchantability, fitness for a
-// particular purpose, or non-infringement. SAMSUNG shall not be liable for any
-// damages suffered by licensee as a result of using, modifying or distributing
-// this software or its derivatives.
-
-// 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.
-//
-
-// This File has been auto-generated by SWIG and then modified using DALi Ruby Scripts
-// Some have been manually changed
-
-namespace Tizen.NUI
-{
-
- public class FlexContainer : View
- {
- private global::System.Runtime.InteropServices.HandleRef swigCPtr;
-
- internal FlexContainer(global::System.IntPtr cPtr, bool cMemoryOwn) : base(NDalicPINVOKE.FlexContainer_SWIGUpcast(cPtr), cMemoryOwn)
- {
- swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
- }
-
- internal static global::System.Runtime.InteropServices.HandleRef getCPtr(FlexContainer obj)
- {
- return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
- }
-
- ~FlexContainer()
- {
- DisposeQueue.Instance.Add(this);
- }
-
- public override void Dispose()
- {
- if (!Stage.IsInstalled())
- {
- DisposeQueue.Instance.Add(this);
- return;
- }
-
- lock (this)
- {
- if (swigCPtr.Handle != global::System.IntPtr.Zero)
- {
- if (swigCMemOwn)
- {
- swigCMemOwn = false;
- NDalicPINVOKE.delete_FlexContainer(swigCPtr);
- }
- swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
- }
- global::System.GC.SuppressFinalize(this);
- base.Dispose();
- }
- }
-
-
- internal class Property : global::System.IDisposable
- {
- private global::System.Runtime.InteropServices.HandleRef swigCPtr;
- protected bool swigCMemOwn;
-
- internal Property(global::System.IntPtr cPtr, bool cMemoryOwn)
- {
- swigCMemOwn = cMemoryOwn;
- swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
- }
-
- internal static global::System.Runtime.InteropServices.HandleRef getCPtr(Property obj)
- {
- return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
- }
-
- ~Property()
- {
- Dispose();
- }
-
- public virtual void Dispose()
- {
- lock (this)
- {
- if (swigCPtr.Handle != global::System.IntPtr.Zero)
- {
- if (swigCMemOwn)
- {
- swigCMemOwn = false;
- NDalicPINVOKE.delete_FlexContainer_Property(swigCPtr);
- }
- swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
- }
- global::System.GC.SuppressFinalize(this);
- }
- }
-
- internal Property() : this(NDalicPINVOKE.new_FlexContainer_Property(), true)
- {
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- }
-
- internal static readonly int CONTENT_DIRECTION = NDalicPINVOKE.FlexContainer_Property_CONTENT_DIRECTION_get();
- internal static readonly int FLEX_DIRECTION = NDalicPINVOKE.FlexContainer_Property_FLEX_DIRECTION_get();
- internal static readonly int FLEX_WRAP = NDalicPINVOKE.FlexContainer_Property_FLEX_WRAP_get();
- internal static readonly int JUSTIFY_CONTENT = NDalicPINVOKE.FlexContainer_Property_JUSTIFY_CONTENT_get();
- internal static readonly int ALIGN_ITEMS = NDalicPINVOKE.FlexContainer_Property_ALIGN_ITEMS_get();
- internal static readonly int ALIGN_CONTENT = NDalicPINVOKE.FlexContainer_Property_ALIGN_CONTENT_get();
-
- }
-
- public class ChildProperty : global::System.IDisposable
- {
- private global::System.Runtime.InteropServices.HandleRef swigCPtr;
- protected bool swigCMemOwn;
-
- internal ChildProperty(global::System.IntPtr cPtr, bool cMemoryOwn)
- {
- swigCMemOwn = cMemoryOwn;
- swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
- }
-
- internal static global::System.Runtime.InteropServices.HandleRef getCPtr(ChildProperty obj)
- {
- return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
- }
-
- ~ChildProperty()
- {
- Dispose();
- }
-
- public virtual void Dispose()
- {
- lock (this)
- {
- if (swigCPtr.Handle != global::System.IntPtr.Zero)
- {
- if (swigCMemOwn)
- {
- swigCMemOwn = false;
- NDalicPINVOKE.delete_FlexContainer_ChildProperty(swigCPtr);
- }
- swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
- }
- global::System.GC.SuppressFinalize(this);
- }
- }
-
- internal ChildProperty() : this(NDalicPINVOKE.new_FlexContainer_ChildProperty(), true)
- {
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- }
-
- internal static readonly int FLEX = NDalicPINVOKE.FlexContainer_ChildProperty_FLEX_get();
- internal static readonly int ALIGN_SELF = NDalicPINVOKE.FlexContainer_ChildProperty_ALIGN_SELF_get();
- internal static readonly int FLEX_MARGIN = NDalicPINVOKE.FlexContainer_ChildProperty_FLEX_MARGIN_get();
-
- }
-
- public FlexContainer() : this(NDalicPINVOKE.FlexContainer_New(), true)
- {
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
-
- }
- internal FlexContainer(FlexContainer handle) : this(NDalicPINVOKE.new_FlexContainer__SWIG_1(FlexContainer.getCPtr(handle)), true)
- {
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- }
-
- internal FlexContainer Assign(FlexContainer handle)
- {
- FlexContainer ret = new FlexContainer(NDalicPINVOKE.FlexContainer_Assign(swigCPtr, FlexContainer.getCPtr(handle)), false);
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- return ret;
- }
-
- internal new static FlexContainer DownCast(BaseHandle handle)
- {
- FlexContainer ret = new FlexContainer(NDalicPINVOKE.FlexContainer_DownCast(BaseHandle.getCPtr(handle)), true);
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- return ret;
- }
-
- /// <summary>
- /// Enumeration for the direction of the main axis in the flex container. This determines
- /// the direction that flex items are laid out in the flex container.
- /// </summary>
- public enum FlexDirectionType
- {
- Column,
- ColumnReverse,
- Row,
- RowReverse
- }
-
- public enum ContentDirectionType
- {
- Inherit,
- LTR,
- RTL
- }
-
- /// <summary>
- /// Enumeration for the alignment of the flex items when the items do not use all available
- /// space on the main-axis.
- /// </summary>
- public enum Justification
- {
- JustifyFlexStart,
- JustifyCenter,
- JustifyFlexEnd,
- JustifySpaceBetween,
- JustifySpaceAround
- }
-
- /// <summary>
- /// Enumeration for the alignment of the flex items or lines when the items or lines do not
- /// use all the available space on the cross-axis.
- /// </summary>
- public enum Alignment
- {
- AlignAuto,
- AlignFlexStart,
- AlignCenter,
- AlignFlexEnd,
- AlignStretch
- }
-
- /// <summary>
- /// Enumeration for the wrap type of the flex container when there is no enough room for
- /// all the items on one flex line.
- /// </summary>
- public enum WrapType
- {
- NoWrap,
- Wrap
- }
-
- internal enum PropertyRange
- {
- PROPERTY_START_INDEX = PropertyRanges.PROPERTY_REGISTRATION_START_INDEX,
- PROPERTY_END_INDEX = View.PropertyRange.PROPERTY_START_INDEX + 1000,
- CHILD_PROPERTY_START_INDEX = PropertyRanges.CHILD_PROPERTY_REGISTRATION_START_INDEX,
- CHILD_PROPERTY_END_INDEX = PropertyRanges.CHILD_PROPERTY_REGISTRATION_START_INDEX + 1000
- }
-
- /// <summary>
- /// The primary direction in which content is ordered
- /// </summary>
- public ContentDirectionType ContentDirection
- {
- get
- {
- int temp = 0;
- GetProperty(FlexContainer.Property.CONTENT_DIRECTION).Get(ref temp);
- return (ContentDirectionType)temp;
- }
- set
- {
- SetProperty(FlexContainer.Property.CONTENT_DIRECTION, new Tizen.NUI.PropertyValue((int)value));
- }
- }
-
- /// <summary>
- /// The direction of the main-axis which determines the direction that flex items are laid out
- /// </summary>
- public FlexDirectionType FlexDirection
- {
- get
- {
- int temp = 0;
- GetProperty(FlexContainer.Property.FLEX_DIRECTION).Get(ref temp);
- return (FlexDirectionType)temp;
- }
- set
- {
- SetProperty(FlexContainer.Property.FLEX_DIRECTION, new Tizen.NUI.PropertyValue((int)value));
- }
- }
-
- /// <summary>
- /// Whether the flex items should wrap or not if there is no enough room for them on one flex line
- /// </summary>
- public WrapType FlexWrap
- {
- get
- {
- int temp = 0;
- GetProperty(FlexContainer.Property.FLEX_WRAP).Get(ref temp);
- return (WrapType)temp;
- }
- set
- {
- SetProperty(FlexContainer.Property.FLEX_WRAP, new Tizen.NUI.PropertyValue((int)value));
- }
- }
-
- /// <summary>
- /// The alignment of flex items when the items do not use all available space on the main-axis
- /// </summary>
- public Justification JustifyContent
- {
- get
- {
- int temp = 0;
- GetProperty(FlexContainer.Property.JUSTIFY_CONTENT).Get(ref temp);
- return (Justification)temp;
- }
- set
- {
- SetProperty(FlexContainer.Property.JUSTIFY_CONTENT, new Tizen.NUI.PropertyValue((int)value));
- }
- }
-
- /// <summary>
- /// The alignment of flex items when the items do not use all available space on the cross-axis
- /// </summary>
- public Alignment AlignItems
- {
- get
- {
- int temp = 0;
- GetProperty(FlexContainer.Property.ALIGN_ITEMS).Get(ref temp);
- return (Alignment)temp;
- }
- set
- {
- SetProperty(FlexContainer.Property.ALIGN_ITEMS, new Tizen.NUI.PropertyValue((int)value));
- }
- }
-
- /// <summary>
- /// Similar to "alignItems", but it aligns flex lines, so only works when there are multiple lines
- /// </summary>
- public Alignment AlignContent
- {
- get
- {
- int temp = 0;
- GetProperty(FlexContainer.Property.ALIGN_CONTENT).Get(ref temp);
- return (Alignment)temp;
- }
- set
- {
- SetProperty(FlexContainer.Property.ALIGN_CONTENT, new Tizen.NUI.PropertyValue((int)value));
- }
- }
-
- }
-
-}
+/** Copyright (c) 2017 Samsung Electronics Co., Ltd.\r
+*\r
+* Licensed under the Apache License, Version 2.0 (the "License");\r
+* you may not use this file except in compliance with the License.\r
+* You may obtain a copy of the License at\r
+*\r
+* http://www.apache.org/licenses/LICENSE-2.0\r
+*\r
+* Unless required by applicable law or agreed to in writing, software\r
+* distributed under the License is distributed on an "AS IS" BASIS,\r
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
+* See the License for the specific language governing permissions and\r
+* limitations under the License.\r
+*\r
+*/\r
+// This File has been auto-generated by SWIG and then modified using DALi Ruby Scripts\r
+//------------------------------------------------------------------------------\r
+// <auto-generated />\r
+//\r
+// This file was automatically generated by SWIG (http://www.swig.org).\r
+// Version 3.0.9\r
+//\r
+// Do not make changes to this file unless you know what you are doing--modify\r
+// the SWIG interface file instead.\r
+//------------------------------------------------------------------------------\r
+\r
+namespace Tizen.NUI\r
+{\r
+\r
+ public class FlexContainer : View\r
+ {\r
+ private global::System.Runtime.InteropServices.HandleRef swigCPtr;\r
+\r
+ internal FlexContainer(global::System.IntPtr cPtr, bool cMemoryOwn) : base(NDalicPINVOKE.FlexContainer_SWIGUpcast(cPtr), cMemoryOwn)\r
+ {\r
+ swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);\r
+ }\r
+\r
+ internal static global::System.Runtime.InteropServices.HandleRef getCPtr(FlexContainer obj)\r
+ {\r
+ return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;\r
+ }\r
+\r
+ ~FlexContainer()\r
+ {\r
+ DisposeQueue.Instance.Add(this);\r
+ }\r
+\r
+ public override void Dispose()\r
+ {\r
+ if (!Stage.IsInstalled())\r
+ {\r
+ DisposeQueue.Instance.Add(this);\r
+ return;\r
+ }\r
+\r
+ lock (this)\r
+ {\r
+ if (swigCPtr.Handle != global::System.IntPtr.Zero)\r
+ {\r
+ if (swigCMemOwn)\r
+ {\r
+ swigCMemOwn = false;\r
+ NDalicPINVOKE.delete_FlexContainer(swigCPtr);\r
+ }\r
+ swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);\r
+ }\r
+ global::System.GC.SuppressFinalize(this);\r
+ base.Dispose();\r
+ }\r
+ }\r
+\r
+\r
+ internal class Property : global::System.IDisposable\r
+ {\r
+ private global::System.Runtime.InteropServices.HandleRef swigCPtr;\r
+ protected bool swigCMemOwn;\r
+\r
+ internal Property(global::System.IntPtr cPtr, bool cMemoryOwn)\r
+ {\r
+ swigCMemOwn = cMemoryOwn;\r
+ swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);\r
+ }\r
+\r
+ internal static global::System.Runtime.InteropServices.HandleRef getCPtr(Property obj)\r
+ {\r
+ return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;\r
+ }\r
+\r
+ ~Property()\r
+ {\r
+ Dispose();\r
+ }\r
+\r
+ public virtual void Dispose()\r
+ {\r
+ lock (this)\r
+ {\r
+ if (swigCPtr.Handle != global::System.IntPtr.Zero)\r
+ {\r
+ if (swigCMemOwn)\r
+ {\r
+ swigCMemOwn = false;\r
+ NDalicPINVOKE.delete_FlexContainer_Property(swigCPtr);\r
+ }\r
+ swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);\r
+ }\r
+ global::System.GC.SuppressFinalize(this);\r
+ }\r
+ }\r
+\r
+ internal Property() : this(NDalicPINVOKE.new_FlexContainer_Property(), true)\r
+ {\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ }\r
+\r
+ internal static readonly int CONTENT_DIRECTION = NDalicPINVOKE.FlexContainer_Property_CONTENT_DIRECTION_get();\r
+ internal static readonly int FLEX_DIRECTION = NDalicPINVOKE.FlexContainer_Property_FLEX_DIRECTION_get();\r
+ internal static readonly int FLEX_WRAP = NDalicPINVOKE.FlexContainer_Property_FLEX_WRAP_get();\r
+ internal static readonly int JUSTIFY_CONTENT = NDalicPINVOKE.FlexContainer_Property_JUSTIFY_CONTENT_get();\r
+ internal static readonly int ALIGN_ITEMS = NDalicPINVOKE.FlexContainer_Property_ALIGN_ITEMS_get();\r
+ internal static readonly int ALIGN_CONTENT = NDalicPINVOKE.FlexContainer_Property_ALIGN_CONTENT_get();\r
+\r
+ }\r
+\r
+ public class ChildProperty : global::System.IDisposable\r
+ {\r
+ private global::System.Runtime.InteropServices.HandleRef swigCPtr;\r
+ protected bool swigCMemOwn;\r
+\r
+ internal ChildProperty(global::System.IntPtr cPtr, bool cMemoryOwn)\r
+ {\r
+ swigCMemOwn = cMemoryOwn;\r
+ swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);\r
+ }\r
+\r
+ internal static global::System.Runtime.InteropServices.HandleRef getCPtr(ChildProperty obj)\r
+ {\r
+ return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;\r
+ }\r
+\r
+ ~ChildProperty()\r
+ {\r
+ Dispose();\r
+ }\r
+\r
+ public virtual void Dispose()\r
+ {\r
+ lock (this)\r
+ {\r
+ if (swigCPtr.Handle != global::System.IntPtr.Zero)\r
+ {\r
+ if (swigCMemOwn)\r
+ {\r
+ swigCMemOwn = false;\r
+ NDalicPINVOKE.delete_FlexContainer_ChildProperty(swigCPtr);\r
+ }\r
+ swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);\r
+ }\r
+ global::System.GC.SuppressFinalize(this);\r
+ }\r
+ }\r
+\r
+ internal ChildProperty() : this(NDalicPINVOKE.new_FlexContainer_ChildProperty(), true)\r
+ {\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ }\r
+\r
+ internal static readonly int FLEX = NDalicPINVOKE.FlexContainer_ChildProperty_FLEX_get();\r
+ internal static readonly int ALIGN_SELF = NDalicPINVOKE.FlexContainer_ChildProperty_ALIGN_SELF_get();\r
+ internal static readonly int FLEX_MARGIN = NDalicPINVOKE.FlexContainer_ChildProperty_FLEX_MARGIN_get();\r
+\r
+ }\r
+\r
+ public FlexContainer() : this(NDalicPINVOKE.FlexContainer_New(), true)\r
+ {\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+\r
+ }\r
+ internal FlexContainer(FlexContainer handle) : this(NDalicPINVOKE.new_FlexContainer__SWIG_1(FlexContainer.getCPtr(handle)), true)\r
+ {\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ }\r
+\r
+ internal FlexContainer Assign(FlexContainer handle)\r
+ {\r
+ FlexContainer ret = new FlexContainer(NDalicPINVOKE.FlexContainer_Assign(swigCPtr, FlexContainer.getCPtr(handle)), false);\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ return ret;\r
+ }\r
+\r
+ internal new static FlexContainer DownCast(BaseHandle handle)\r
+ {\r
+ FlexContainer ret = new FlexContainer(NDalicPINVOKE.FlexContainer_DownCast(BaseHandle.getCPtr(handle)), true);\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ return ret;\r
+ }\r
+\r
+ /// <summary>\r
+ /// Enumeration for the direction of the main axis in the flex container. This determines\r
+ /// the direction that flex items are laid out in the flex container.\r
+ /// </summary>\r
+ public enum FlexDirectionType\r
+ {\r
+ Column,\r
+ ColumnReverse,\r
+ Row,\r
+ RowReverse\r
+ }\r
+\r
+ public enum ContentDirectionType\r
+ {\r
+ Inherit,\r
+ LTR,\r
+ RTL\r
+ }\r
+\r
+ /// <summary>\r
+ /// Enumeration for the alignment of the flex items when the items do not use all available\r
+ /// space on the main-axis.\r
+ /// </summary>\r
+ public enum Justification\r
+ {\r
+ JustifyFlexStart,\r
+ JustifyCenter,\r
+ JustifyFlexEnd,\r
+ JustifySpaceBetween,\r
+ JustifySpaceAround\r
+ }\r
+\r
+ /// <summary>\r
+ /// Enumeration for the alignment of the flex items or lines when the items or lines do not\r
+ /// use all the available space on the cross-axis.\r
+ /// </summary>\r
+ public enum Alignment\r
+ {\r
+ AlignAuto,\r
+ AlignFlexStart,\r
+ AlignCenter,\r
+ AlignFlexEnd,\r
+ AlignStretch\r
+ }\r
+\r
+ /// <summary>\r
+ /// Enumeration for the wrap type of the flex container when there is no enough room for\r
+ /// all the items on one flex line.\r
+ /// </summary>\r
+ public enum WrapType\r
+ {\r
+ NoWrap,\r
+ Wrap\r
+ }\r
+\r
+ internal enum PropertyRange\r
+ {\r
+ PROPERTY_START_INDEX = PropertyRanges.PROPERTY_REGISTRATION_START_INDEX,\r
+ PROPERTY_END_INDEX = View.PropertyRange.PROPERTY_START_INDEX + 1000,\r
+ CHILD_PROPERTY_START_INDEX = PropertyRanges.CHILD_PROPERTY_REGISTRATION_START_INDEX,\r
+ CHILD_PROPERTY_END_INDEX = PropertyRanges.CHILD_PROPERTY_REGISTRATION_START_INDEX + 1000\r
+ }\r
+\r
+ /// <summary>\r
+ /// The primary direction in which content is ordered\r
+ /// </summary>\r
+ public ContentDirectionType ContentDirection\r
+ {\r
+ get\r
+ {\r
+ int temp = 0;\r
+ GetProperty(FlexContainer.Property.CONTENT_DIRECTION).Get(ref temp);\r
+ return (ContentDirectionType)temp;\r
+ }\r
+ set\r
+ {\r
+ SetProperty(FlexContainer.Property.CONTENT_DIRECTION, new Tizen.NUI.PropertyValue((int)value));\r
+ }\r
+ }\r
+\r
+ /// <summary>\r
+ /// The direction of the main-axis which determines the direction that flex items are laid out\r
+ /// </summary>\r
+ public FlexDirectionType FlexDirection\r
+ {\r
+ get\r
+ {\r
+ int temp = 0;\r
+ GetProperty(FlexContainer.Property.FLEX_DIRECTION).Get(ref temp);\r
+ return (FlexDirectionType)temp;\r
+ }\r
+ set\r
+ {\r
+ SetProperty(FlexContainer.Property.FLEX_DIRECTION, new Tizen.NUI.PropertyValue((int)value));\r
+ }\r
+ }\r
+\r
+ /// <summary>\r
+ /// Whether the flex items should wrap or not if there is no enough room for them on one flex line\r
+ /// </summary>\r
+ public WrapType FlexWrap\r
+ {\r
+ get\r
+ {\r
+ int temp = 0;\r
+ GetProperty(FlexContainer.Property.FLEX_WRAP).Get(ref temp);\r
+ return (WrapType)temp;\r
+ }\r
+ set\r
+ {\r
+ SetProperty(FlexContainer.Property.FLEX_WRAP, new Tizen.NUI.PropertyValue((int)value));\r
+ }\r
+ }\r
+\r
+ /// <summary>\r
+ /// The alignment of flex items when the items do not use all available space on the main-axis\r
+ /// </summary>\r
+ public Justification JustifyContent\r
+ {\r
+ get\r
+ {\r
+ int temp = 0;\r
+ GetProperty(FlexContainer.Property.JUSTIFY_CONTENT).Get(ref temp);\r
+ return (Justification)temp;\r
+ }\r
+ set\r
+ {\r
+ SetProperty(FlexContainer.Property.JUSTIFY_CONTENT, new Tizen.NUI.PropertyValue((int)value));\r
+ }\r
+ }\r
+\r
+ /// <summary>\r
+ /// The alignment of flex items when the items do not use all available space on the cross-axis\r
+ /// </summary>\r
+ public Alignment AlignItems\r
+ {\r
+ get\r
+ {\r
+ int temp = 0;\r
+ GetProperty(FlexContainer.Property.ALIGN_ITEMS).Get(ref temp);\r
+ return (Alignment)temp;\r
+ }\r
+ set\r
+ {\r
+ SetProperty(FlexContainer.Property.ALIGN_ITEMS, new Tizen.NUI.PropertyValue((int)value));\r
+ }\r
+ }\r
+\r
+ /// <summary>\r
+ /// Similar to "alignItems", but it aligns flex lines, so only works when there are multiple lines\r
+ /// </summary>\r
+ public Alignment AlignContent\r
+ {\r
+ get\r
+ {\r
+ int temp = 0;\r
+ GetProperty(FlexContainer.Property.ALIGN_CONTENT).Get(ref temp);\r
+ return (Alignment)temp;\r
+ }\r
+ set\r
+ {\r
+ SetProperty(FlexContainer.Property.ALIGN_CONTENT, new Tizen.NUI.PropertyValue((int)value));\r
+ }\r
+ }\r
+\r
+ }\r
+\r
+}\r
-// Copyright (c) 2016 Samsung Electronics Co., Ltd All Rights Reserved\r
-// PROPRIETARY/CONFIDENTIAL \r
-// This software is the confidential and proprietary\r
-// information of SAMSUNG ELECTRONICS ("Confidential Information"). You shall\r
-// not disclose such Confidential Information and shall use it only in\r
-// accordance with the terms of the license agreement you entered into with\r
-// SAMSUNG ELECTRONICS. SAMSUNG make no representations or warranties about the\r
-// suitability of the software, either express or implied, including but not\r
-// limited to the implied warranties of merchantability, fitness for a\r
-// particular purpose, or non-infringement. SAMSUNG shall not be liable for any\r
-// damages suffered by licensee as a result of using, modifying or distributing\r
-// this software or its derivatives.\r
-\r
-// Copyright (c) 2017 Samsung Electronics Co., Ltd.\r
-//\r
-// Licensed under the Apache License, Version 2.0 (the "License");\r
-// you may not use this file except in compliance with the License.\r
-// You may obtain a copy of the License at\r
-//\r
-// http://www.apache.org/licenses/LICENSE-2.0\r
-//\r
-// Unless required by applicable law or agreed to in writing, software\r
-// distributed under the License is distributed on an "AS IS" BASIS,\r
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
-// See the License for the specific language governing permissions and\r
-// limitations under the License.\r
-//\r
-\r
-// This File has been auto-generated by SWIG and then modified using DALi Ruby Scripts\r
-// Some have been manually changed\r
-\r
+/*\r
+ * Copyright (c) 2016 Samsung Electronics Co., Ltd.\r
+ *\r
+ * Licensed under the Apache License, Version 2.0 (the "License");\r
+ * you may not use this file except in compliance with the License.\r
+ * You may obtain a copy of the License at\r
+ *\r
+ * http://www.apache.org/licenses/LICENSE-2.0\r
+ *\r
+ * Unless required by applicable law or agreed to in writing, software\r
+ * distributed under the License is distributed on an "AS IS" BASIS,\r
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
+ * See the License for the specific language governing permissions and\r
+ * limitations under the License.\r
+ *\r
+ */\r
\r
namespace Tizen.NUI\r
{\r
\r
\r
/**\r
- * @brief Event arguments that passed via PreFocusChange signal\r
+ * @brief Event arguments that passed via FocusChanged signal\r
*\r
*/\r
- public class PreFocusChangeEventArgs : EventArgs\r
+ public class FocusChangedEventArgs : EventArgs\r
{\r
- private View _current;\r
- private View _proposed;\r
- private View.FocusDirection _direction;\r
+ private Actor _actorCurrent;\r
+ private Actor _actorNext;\r
\r
- public View CurrentView\r
+ /**\r
+ * @brief Actor - is the original focused Actor\r
+ *\r
+ */\r
+ public Actor ActorCurrent\r
{\r
get\r
{\r
- return _current;\r
+ return _actorCurrent;\r
}\r
set\r
{\r
- _current = value;\r
+ _actorCurrent = value;\r
}\r
}\r
\r
- public View ProposedView\r
+ /**\r
+ * @brief Actor - is the current focused Actor\r
+ *\r
+ */\r
+ public Actor ActorNext\r
{\r
get\r
{\r
- return _proposed;\r
+ return _actorNext;\r
}\r
set\r
{\r
- _proposed = value;\r
+ _actorNext = value;\r
}\r
}\r
+ }\r
\r
- public View.FocusDirection Direction\r
+ /**\r
+ * @brief Event arguments that passed via FocusGroupChanged signal\r
+ *\r
+ */\r
+ public class FocusGroupChangedEventArgs : EventArgs\r
+ {\r
+ private Actor _currentFocusedActor;\r
+ private bool _forwardDirection;\r
+\r
+ /**\r
+ * @brief Actor - is the current focused Actor\r
+ *\r
+ */\r
+ public Actor CurrentFocusedActor\r
{\r
get\r
{\r
- return _direction;\r
+ return _currentFocusedActor;\r
}\r
set\r
{\r
- _direction = value;\r
+ _currentFocusedActor = value;\r
}\r
}\r
- }\r
\r
- private EventHandlerWithReturnType<object, PreFocusChangeEventArgs, View> _preFocusChangeEventHandler;\r
- [UnmanagedFunctionPointer(CallingConvention.StdCall)]\r
- internal delegate IntPtr PreFocusChangeEventCallback(IntPtr current, IntPtr proposed, View.FocusDirection direction);\r
- private PreFocusChangeEventCallback _preFocusChangeCallback;\r
-\r
- public event EventHandlerWithReturnType<object, PreFocusChangeEventArgs, View> PreFocusChange\r
- {\r
- add\r
+ /**\r
+ * @brief ForwardDirection - is the direction (forward or backward) in which to move the focus next\r
+ *\r
+ */\r
+ public bool ForwardDirection\r
{\r
- if (_preFocusChangeEventHandler == null)\r
+ get\r
{\r
- _preFocusChangeCallback = OnPreFocusChange;\r
- PreFocusChangeSignal().Connect(_preFocusChangeCallback);\r
+ return _forwardDirection;\r
}\r
- _preFocusChangeEventHandler += value;\r
- }\r
- remove\r
- {\r
- _preFocusChangeEventHandler -= value;\r
- if (_preFocusChangeEventHandler == null && _preFocusChangeCallback != null)\r
+ set\r
{\r
- PreFocusChangeSignal().Disconnect(_preFocusChangeCallback);\r
+ _forwardDirection = value;\r
}\r
}\r
}\r
\r
- private IntPtr OnPreFocusChange(IntPtr current, IntPtr proposed, View.FocusDirection direction)\r
+ /**\r
+ * @brief Event arguments that passed via FocusedActorEnterKey signal\r
+ *\r
+ */\r
+ public class FocusedActorEnterKeyEventArgs : EventArgs\r
{\r
- View view = null;\r
- PreFocusChangeEventArgs e = new PreFocusChangeEventArgs();\r
+ private Actor _actor;\r
\r
- e.CurrentView = View.DownCast(Actor.GetActorFromPtr(current));\r
- e.ProposedView = View.DownCast(Actor.GetActorFromPtr(proposed));\r
- e.Direction = direction;\r
-\r
- if (_preFocusChangeEventHandler != null)\r
+ /**\r
+ * @brief Actor - is the current focused Actor which has the enter key pressed on it.\r
+ *\r
+ */\r
+ public Actor Actor\r
{\r
- view = _preFocusChangeEventHandler(this, e);\r
+ get\r
+ {\r
+ return _actor;\r
+ }\r
+ set\r
+ {\r
+ _actor = value;\r
+ }\r
}\r
- return view.GetPtrfromView();\r
}\r
\r
-\r
/**\r
- * @brief Event arguments that passed via FocusChanged signal\r
+ * @brief Event arguments that passed via PreFocusChange signal\r
*\r
*/\r
- public class FocusChangedEventArgs : EventArgs\r
+ public class PreFocusChangeEventArgs : EventArgs\r
{\r
- private View _current;\r
- private View _next;\r
+ private Actor _current;\r
+ private Actor _proposed;\r
+ private View.FocusDirection _direction;\r
\r
- public View CurrentView\r
+ /**\r
+ * @brief Actor - is the current focused Actor.\r
+ *\r
+ */\r
+ public Actor Current\r
{\r
get\r
{\r
}\r
}\r
\r
- public View NextView\r
+ /**\r
+ * @brief Actor - is the proposed focused Actor.\r
+ *\r
+ */\r
+ public Actor Proposed\r
{\r
get\r
{\r
- return _next;\r
+ return _proposed;\r
+ }\r
+ set\r
+ {\r
+ _proposed = value;\r
+ }\r
+ }\r
+\r
+ /**\r
+ * @brief Direction - is the direction of Focus change.\r
+ *\r
+ */\r
+ public View.FocusDirection Direction\r
+ {\r
+ get\r
+ {\r
+ return _direction;\r
}\r
set\r
{\r
- _next = value;\r
+ _direction = value;\r
}\r
}\r
}\r
\r
- private EventHandler<FocusChangedEventArgs> _focusChangedEventHandler;\r
[UnmanagedFunctionPointer(CallingConvention.StdCall)]\r
- internal delegate void FocusChangedEventCallback(IntPtr current, IntPtr next);\r
- private FocusChangedEventCallback _focusChangedEventCallback;\r
+ public delegate void FocusChangedEventHandler(object source, FocusChangedEventArgs e);\r
+\r
+ [UnmanagedFunctionPointer(CallingConvention.StdCall)]\r
+ public delegate void FocusGroupChangedEventHandler(object source, FocusGroupChangedEventArgs e);\r
+\r
+ [UnmanagedFunctionPointer(CallingConvention.StdCall)]\r
+ public delegate void FocusedActorEnterKeyEventHandler(object source, FocusedActorEnterKeyEventArgs e);\r
\r
- public event EventHandler<FocusChangedEventArgs> FocusChanged\r
+ [UnmanagedFunctionPointer(CallingConvention.StdCall)]\r
+ public delegate Actor PreFocusChangeEventHandler(object source, PreFocusChangeEventArgs e);\r
+\r
+ [UnmanagedFunctionPointer(CallingConvention.StdCall)]\r
+ public delegate IntPtr PreFocusChangeEventCallbackDelegate(IntPtr current, IntPtr proposed, View.FocusDirection direction);\r
+ private PreFocusChangeEventHandler _FocusManagerPreFocusChangeEventHandler;\r
+ private PreFocusChangeEventCallbackDelegate _FocusManagerPreFocusChangeEventCallbackDelegate;\r
+\r
+ [UnmanagedFunctionPointer(CallingConvention.StdCall)]\r
+ private delegate void FocusChangedEventCallbackDelegate(IntPtr actorCurrent, IntPtr actorNext);\r
+ private FocusChangedEventHandler _FocusManagerFocusChangedEventHandler;\r
+ private FocusChangedEventCallbackDelegate _FocusManagerFocusChangedEventCallbackDelegate;\r
+\r
+ [UnmanagedFunctionPointer(CallingConvention.StdCall)]\r
+ private delegate void FocusGroupChangedEventCallbackDelegate(IntPtr currentFocusedActor, bool forwardDirection);\r
+ private FocusGroupChangedEventHandler _FocusManagerFocusGroupChangedEventHandler;\r
+ private FocusGroupChangedEventCallbackDelegate _FocusManagerFocusGroupChangedEventCallbackDelegate;\r
+\r
+ [UnmanagedFunctionPointer(CallingConvention.StdCall)]\r
+ private delegate void FocusedActorEnterKeyEventCallbackDelegate(IntPtr actor);\r
+ private FocusedActorEnterKeyEventHandler _FocusManagerFocusedActorEnterKeyEventHandler;\r
+ private FocusedActorEnterKeyEventCallbackDelegate _FocusManagerFocusedActorEnterKeyEventCallbackDelegate;\r
+\r
+ public event PreFocusChangeEventHandler PreFocusChange\r
{\r
add\r
{\r
- if (_focusChangedEventCallback == null)\r
+ if (_FocusManagerPreFocusChangeEventHandler == null)\r
{\r
- _focusChangedEventCallback = OnFocusChanged;\r
- FocusChangedSignal().Connect(_focusChangedEventCallback);\r
+ _FocusManagerPreFocusChangeEventCallbackDelegate = (OnPreFocusChange);\r
+ PreFocusChangeSignal().Connect(_FocusManagerPreFocusChangeEventCallbackDelegate);\r
}\r
- _focusChangedEventHandler += value;\r
+ _FocusManagerPreFocusChangeEventHandler += value;\r
}\r
remove\r
{\r
- _focusChangedEventHandler -= value;\r
-\r
- if (_focusChangedEventCallback == null && _focusChangedEventCallback != null)\r
+ _FocusManagerPreFocusChangeEventHandler -= value;\r
+ if (_FocusManagerPreFocusChangeEventHandler == null && _FocusManagerPreFocusChangeEventCallbackDelegate != null)\r
{\r
- FocusChangedSignal().Disconnect(_focusChangedEventCallback);\r
+ PreFocusChangeSignal().Disconnect(_FocusManagerPreFocusChangeEventCallbackDelegate);\r
}\r
}\r
}\r
\r
- private void OnFocusChanged(IntPtr current, IntPtr next)\r
+ // Callback for FocusManager PreFocusChangeSignal\r
+ private IntPtr OnPreFocusChange(IntPtr current, IntPtr proposed, View.FocusDirection direction)\r
{\r
- FocusChangedEventArgs e = new FocusChangedEventArgs();\r
+ Actor actor = null;\r
+ PreFocusChangeEventArgs e = new PreFocusChangeEventArgs();\r
\r
- e.CurrentView = View.DownCast(Actor.GetActorFromPtr(current));\r
- e.NextView = View.DownCast(Actor.GetActorFromPtr(next));\r
+ // Populate all members of "e" (PreFocusChangeEventArgs) with real data\r
+ e.Current = Actor.GetActorFromPtr(current);\r
+ e.Proposed = Actor.GetActorFromPtr(proposed);\r
+ e.Direction = direction;\r
\r
- if (_focusChangedEventHandler != null)\r
+ if (_FocusManagerPreFocusChangeEventHandler != null)\r
{\r
- _focusChangedEventHandler(this, e);\r
+ //here we send all data to user event handlers\r
+ actor = _FocusManagerPreFocusChangeEventHandler(this, e);\r
}\r
- }\r
\r
+ return actor.GetPtrfromActor();\r
+ }\r
\r
/**\r
- * @brief Event arguments that passed via FocusGroupChanged signal\r
- *\r
+ * @brief Event for FocusChanged signal which can be used to subscribe/unsubscribe the event handler\r
+ * (in the type of FocusChangedEventHandler) provided by the user.\r
+ * FocusChanged signal is emitted after the current focused actor has been changed.\r
*/\r
- public class FocusGroupChangedEventArgs : EventArgs\r
+ public event FocusChangedEventHandler FocusChanged\r
{\r
- private View _current;\r
- private bool _forwardDirection;\r
-\r
- public View CurrentView\r
+ add\r
{\r
- get\r
- {\r
- return _current;\r
- }\r
- set\r
+ if (_FocusManagerFocusChangedEventHandler == null)\r
{\r
- _current = value;\r
+ _FocusManagerFocusChangedEventCallbackDelegate = (OnFocusChanged);\r
+ FocusChangedSignal().Connect(_FocusManagerFocusChangedEventCallbackDelegate);\r
}\r
+ _FocusManagerFocusChangedEventHandler += value;\r
}\r
-\r
- public bool ForwardDirection\r
+ remove\r
{\r
- get\r
- {\r
- return _forwardDirection;\r
- }\r
- set\r
+ _FocusManagerFocusChangedEventHandler -= value;\r
+\r
+ if (_FocusManagerFocusChangedEventHandler == null && _FocusManagerFocusChangedEventCallbackDelegate != null)\r
{\r
- _forwardDirection = value;\r
+ FocusChangedSignal().Disconnect(_FocusManagerFocusChangedEventCallbackDelegate);\r
}\r
}\r
}\r
\r
- private EventHandler<FocusGroupChangedEventArgs> _focusGroupChangedEventHandler;\r
- [UnmanagedFunctionPointer(CallingConvention.StdCall)]\r
- private delegate void FocusGroupChangedEventCallback(IntPtr current, bool forwardDirection);\r
- private FocusGroupChangedEventCallback _focusGroupChangedEventCallback;\r
+ // Callback for FocusManager FocusChangedSignal\r
+ private void OnFocusChanged(IntPtr actorCurrent, IntPtr actorNext)\r
+ {\r
+ FocusChangedEventArgs e = new FocusChangedEventArgs();\r
+\r
+ // Populate all members of "e" (FocusChangedEventArgs) with real data\r
+ e.ActorCurrent = Actor.GetActorFromPtr(actorCurrent);\r
+ e.ActorNext = Actor.GetActorFromPtr(actorNext);\r
+\r
+ if (_FocusManagerFocusChangedEventHandler != null)\r
+ {\r
+ //here we send all data to user event handlers\r
+ _FocusManagerFocusChangedEventHandler(this, e);\r
+ }\r
+ }\r
\r
- public event EventHandler<FocusGroupChangedEventArgs> FocusGroupChanged\r
+ /**\r
+ * @brief Event for FocusGroupChanged signal which can be used to subscribe/unsubscribe the event handler\r
+ * (in the type of FocusGroupChangedEventHandler) provided by the user.\r
+ * FocusGroupChanged signal is emitted when the focus group has been changed.\r
+ */\r
+ public event FocusGroupChangedEventHandler FocusGroupChanged\r
{\r
add\r
{\r
- if (_focusGroupChangedEventCallback == null)\r
+ // Restricted to only one listener\r
+ if (_FocusManagerFocusGroupChangedEventHandler == null)\r
{\r
- _focusGroupChangedEventCallback = OnFocusGroupChanged;\r
- FocusGroupChangedSignal().Connect(_focusGroupChangedEventCallback);\r
+ _FocusManagerFocusGroupChangedEventCallbackDelegate = (OnFocusGroupChanged);\r
+ this.FocusGroupChangedSignal().Connect(_FocusManagerFocusGroupChangedEventCallbackDelegate);\r
}\r
- _focusGroupChangedEventHandler += value;\r
+ _FocusManagerFocusGroupChangedEventHandler += value;\r
}\r
remove\r
{\r
- _focusGroupChangedEventHandler -= value;\r
-\r
- if (_focusGroupChangedEventCallback == null && _focusGroupChangedEventCallback != null)\r
+ _FocusManagerFocusGroupChangedEventHandler -= value;\r
+ if (_FocusManagerFocusGroupChangedEventHandler == null && _FocusManagerFocusGroupChangedEventCallbackDelegate != null)\r
{\r
- FocusGroupChangedSignal().Disconnect(_focusGroupChangedEventCallback);\r
+ this.FocusGroupChangedSignal().Disconnect(_FocusManagerFocusGroupChangedEventCallbackDelegate);\r
}\r
}\r
}\r
\r
- private void OnFocusGroupChanged(IntPtr current, bool forwardDirection)\r
+ // Callback for FocusManager FocusGroupChangedSignal\r
+ private void OnFocusGroupChanged(IntPtr currentFocusedActor, bool forwardDirection)\r
{\r
FocusGroupChangedEventArgs e = new FocusGroupChangedEventArgs();\r
\r
- e.CurrentView = View.DownCast(Actor.GetActorFromPtr(current));\r
+ // Populate all members of "e" (FocusGroupChangedEventArgs) with real data\r
+ e.CurrentFocusedActor = Actor.GetActorFromPtr(currentFocusedActor);\r
e.ForwardDirection = forwardDirection;\r
\r
- if (_focusGroupChangedEventHandler != null)\r
+ if (_FocusManagerFocusGroupChangedEventHandler != null)\r
{\r
- _focusGroupChangedEventHandler(this, e);\r
+ //here we send all data to user event handlers\r
+ _FocusManagerFocusGroupChangedEventHandler(this, e);\r
}\r
}\r
\r
-\r
/**\r
- * @brief Event arguments that passed via FocusedActorEnterKey signal\r
- *\r
+ * @brief Event for FocusedActorEnterKeyPressed signal which can be used to subscribe/unsubscribe the event handler\r
+ * (in the type of FocusedActorEnterKeyEventHandler) provided by the user.\r
+ * FocusedActorEnterKeyPressed signal is emitted when the current focused actor has the enter key pressed on it.\r
*/\r
- public class FocusedViewEnterKeyEventArgs : EventArgs\r
- {\r
- private View _view;\r
-\r
- public View View\r
- {\r
- get\r
- {\r
- return _view;\r
- }\r
- set\r
- {\r
- _view = value;\r
- }\r
- }\r
- }\r
-\r
- private EventHandler<FocusedViewEnterKeyEventArgs> _focusedViewEnterKeyEventHandler;\r
- [UnmanagedFunctionPointer(CallingConvention.StdCall)]\r
- private delegate void FocusedViewEnterKeyEventCallback(IntPtr view);\r
- private FocusedViewEnterKeyEventCallback _focusedViewEnterKeyEventCallback;\r
-\r
- public event EventHandler<FocusedViewEnterKeyEventArgs> FocusedViewEnterKeyPressed\r
+ public event FocusedActorEnterKeyEventHandler FocusedActorEnterKeyPressed\r
{\r
add\r
{\r
- if (_focusedViewEnterKeyEventCallback == null)\r
+ if (_FocusManagerFocusedActorEnterKeyEventHandler == null)\r
{\r
- _focusedViewEnterKeyEventCallback = OnFocusedViewEnterKey;\r
- FocusedActorEnterKeySignal().Connect(_focusedViewEnterKeyEventCallback);\r
+ _FocusManagerFocusedActorEnterKeyEventCallbackDelegate = (OnFocusedActorEnterKey);\r
+ FocusedActorEnterKeySignal().Connect(_FocusManagerFocusedActorEnterKeyEventCallbackDelegate);\r
}\r
- _focusedViewEnterKeyEventHandler += value;\r
+ _FocusManagerFocusedActorEnterKeyEventHandler += value;\r
}\r
remove\r
{\r
- _focusedViewEnterKeyEventHandler -= value;\r
-\r
- if (_focusedViewEnterKeyEventCallback == null && _focusedViewEnterKeyEventCallback != null)\r
+ _FocusManagerFocusedActorEnterKeyEventHandler -= value;\r
+ if (_FocusManagerFocusedActorEnterKeyEventHandler == null && _FocusManagerFocusedActorEnterKeyEventCallbackDelegate != null)\r
{\r
- FocusedActorEnterKeySignal().Disconnect(_focusedViewEnterKeyEventCallback);\r
+ this.FocusedActorEnterKeySignal().Disconnect(_FocusManagerFocusedActorEnterKeyEventCallbackDelegate);\r
}\r
}\r
}\r
\r
- private void OnFocusedViewEnterKey(IntPtr view)\r
+ // Callback for FocusManager FocusedActorEnterKeySignal\r
+ private void OnFocusedActorEnterKey(IntPtr actor)\r
{\r
- FocusedViewEnterKeyEventArgs e = new FocusedViewEnterKeyEventArgs();\r
+ FocusedActorEnterKeyEventArgs e = new FocusedActorEnterKeyEventArgs();\r
\r
- e.View = View.DownCast(Actor.GetActorFromPtr(view));\r
+ // Populate all members of "e" (FocusedActorEnterKeyEventArgs) with real data\r
+ e.Actor = Actor.GetActorFromPtr(actor);\r
\r
- if (_focusedViewEnterKeyEventHandler != null)\r
+ if (_FocusManagerFocusedActorEnterKeyEventHandler != null)\r
{\r
- _focusedViewEnterKeyEventHandler(this, e);\r
+ //here we send all data to user event handlers\r
+ _FocusManagerFocusedActorEnterKeyEventHandler(this, e);\r
}\r
}\r
\r
-\r
internal FocusManager() : this(NDalicManualPINVOKE.new_FocusManager(), true)\r
{\r
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
return ret;\r
}\r
\r
- public bool SetCurrentFocusView(View view)\r
+ public bool SetCurrentFocusActor(Actor actor)\r
{\r
- Actor actor = (Tizen.NUI.Actor)view;\r
bool ret = NDalicManualPINVOKE.FocusManager_SetCurrentFocusActor(swigCPtr, Actor.getCPtr(actor));\r
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
return ret;\r
}\r
\r
- public View GetCurrentFocusView()\r
+ public Actor GetCurrentFocusActor()\r
{\r
Actor ret = new Actor(NDalicManualPINVOKE.FocusManager_GetCurrentFocusActor(swigCPtr), true);\r
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
- return View.DownCast(ret);\r
+ return ret;\r
}\r
\r
public bool MoveFocus(View.FocusDirection direction)\r
return ret;\r
}\r
\r
- public void SetAsFocusGroup(View view, bool isFocusGroup)\r
+ public void SetAsFocusGroup(Actor actor, bool isFocusGroup)\r
{\r
- Actor actor = (Tizen.NUI.Actor)view;\r
NDalicManualPINVOKE.FocusManager_SetAsFocusGroup(swigCPtr, Actor.getCPtr(actor), isFocusGroup);\r
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
}\r
\r
- public bool IsFocusGroup(View view)\r
+ public bool IsFocusGroup(Actor actor)\r
{\r
- Actor actor = (Tizen.NUI.Actor)view;\r
bool ret = NDalicManualPINVOKE.FocusManager_IsFocusGroup(swigCPtr, Actor.getCPtr(actor));\r
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
return ret;\r
}\r
\r
- public View GetFocusGroup(View view)\r
+ public Actor GetFocusGroup(Actor actor)\r
{\r
- Actor actor = (Tizen.NUI.Actor)view;\r
Actor ret = new Actor(NDalicManualPINVOKE.FocusManager_GetFocusGroup(swigCPtr, Actor.getCPtr(actor)), true);\r
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
- return View.DownCast(ret);\r
+ return ret;\r
}\r
\r
- public View FocusIndicator\r
+ public Actor FocusIndicator\r
{\r
set\r
{\r
- SetFocusIndicatorView(value);\r
+ SetFocusIndicatorActor(value);\r
}\r
get\r
{\r
- return GetFocusIndicatorView();\r
+ return GetFocusIndicatorActor();\r
}\r
}\r
\r
- internal void SetFocusIndicatorView(View indicator)\r
+ internal void SetFocusIndicatorActor(Actor indicator)\r
{\r
- Actor actor = (Tizen.NUI.Actor)indicator;\r
- NDalicManualPINVOKE.FocusManager_SetFocusIndicatorActor(swigCPtr, Actor.getCPtr(actor));\r
+ NDalicManualPINVOKE.FocusManager_SetFocusIndicatorActor(swigCPtr, Actor.getCPtr(indicator));\r
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
}\r
\r
- internal View GetFocusIndicatorView()\r
+ internal Actor GetFocusIndicatorActor()\r
{\r
Actor ret = new Actor(NDalicManualPINVOKE.FocusManager_GetFocusIndicatorActor(swigCPtr), true);\r
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
- return View.DownCast(ret);\r
+ return ret;\r
}\r
\r
internal PreFocusChangeSignal PreFocusChangeSignal()\r
}\r
}\r
\r
+\r
}\r
\r
}\r
-//------------------------------------------------------------------------------
-// <auto-generated />
-//
-// This file was automatically generated by SWIG (http://www.swig.org).
-// Version 3.0.9
-//
-// Do not make changes to this file unless you know what you are doing--modify
-// the SWIG interface file instead.
-//------------------------------------------------------------------------------
-
-namespace Tizen.NUI {
-
-public class Gesture : global::System.IDisposable {
- private global::System.Runtime.InteropServices.HandleRef swigCPtr;
- protected bool swigCMemOwn;
-
- internal Gesture(global::System.IntPtr cPtr, bool cMemoryOwn) {
- swigCMemOwn = cMemoryOwn;
- swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
- }
-
- internal static global::System.Runtime.InteropServices.HandleRef getCPtr(Gesture obj) {
- return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
- }
-
- ~Gesture() {
- DisposeQueue.Instance.Add(this);
- }
-
- public virtual void Dispose() {
- if (!Stage.IsInstalled()) {
- DisposeQueue.Instance.Add(this);
- return;
- }
-
- lock(this) {
- if (swigCPtr.Handle != global::System.IntPtr.Zero) {
- if (swigCMemOwn) {
- swigCMemOwn = false;
- NDalicPINVOKE.delete_Gesture(swigCPtr);
- }
- swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
- }
- global::System.GC.SuppressFinalize(this);
- }
- }
-
-
- public Gesture.GestureType Type
- {
- get
- {
- return type;
- }
- }
-
- public Gesture.StateType State
- {
- get
- {
- return state;
- }
- }
-
- public uint Time
- {
- get
- {
- return time;
- }
- }
-
- public Gesture(Gesture rhs) : this(NDalicPINVOKE.new_Gesture(Gesture.getCPtr(rhs)), true) {
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- }
-
- public Gesture Assign(Gesture rhs) {
- Gesture ret = new Gesture(NDalicPINVOKE.Gesture_Assign(swigCPtr, Gesture.getCPtr(rhs)), false);
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- return ret;
- }
-
- private Gesture.GestureType type {
- set {
- NDalicPINVOKE.Gesture_type_set(swigCPtr, (int)value);
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- }
- get {
- Gesture.GestureType ret = (Gesture.GestureType)NDalicPINVOKE.Gesture_type_get(swigCPtr);
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- return ret;
- }
- }
-
- private Gesture.StateType state {
- set {
- NDalicPINVOKE.Gesture_state_set(swigCPtr, (int)value);
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- }
- get {
- Gesture.StateType ret = (Gesture.StateType)NDalicPINVOKE.Gesture_state_get(swigCPtr);
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- return ret;
- }
- }
-
- private uint time {
- set {
- NDalicPINVOKE.Gesture_time_set(swigCPtr, value);
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- }
- get {
- uint ret = NDalicPINVOKE.Gesture_time_get(swigCPtr);
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- return ret;
- }
- }
-
- public enum GestureType {
- Pinch = 1 << 0,
- Pan = 1 << 1,
- Tap = 1 << 2,
- LongPress = 1 << 3
- }
-
- public enum StateType {
- Clear,
- Started,
- Continuing,
- Finished,
- Cancelled,
- Possible
- }
-
-}
-
-}
+//------------------------------------------------------------------------------\r
+// <auto-generated />\r
+//\r
+// This file was automatically generated by SWIG (http://www.swig.org).\r
+// Version 3.0.9\r
+//\r
+// Do not make changes to this file unless you know what you are doing--modify\r
+// the SWIG interface file instead.\r
+//------------------------------------------------------------------------------\r
+\r
+namespace Tizen.NUI\r
+{\r
+\r
+ public class Gesture : global::System.IDisposable\r
+ {\r
+ private global::System.Runtime.InteropServices.HandleRef swigCPtr;\r
+ protected bool swigCMemOwn;\r
+\r
+ internal Gesture(global::System.IntPtr cPtr, bool cMemoryOwn)\r
+ {\r
+ swigCMemOwn = cMemoryOwn;\r
+ swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);\r
+ }\r
+\r
+ internal static global::System.Runtime.InteropServices.HandleRef getCPtr(Gesture obj)\r
+ {\r
+ return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;\r
+ }\r
+\r
+ ~Gesture()\r
+ {\r
+ DisposeQueue.Instance.Add(this);\r
+ }\r
+\r
+ public virtual void Dispose()\r
+ {\r
+ if (!Stage.IsInstalled())\r
+ {\r
+ DisposeQueue.Instance.Add(this);\r
+ return;\r
+ }\r
+\r
+ lock (this)\r
+ {\r
+ if (swigCPtr.Handle != global::System.IntPtr.Zero)\r
+ {\r
+ if (swigCMemOwn)\r
+ {\r
+ swigCMemOwn = false;\r
+ NDalicPINVOKE.delete_Gesture(swigCPtr);\r
+ }\r
+ swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);\r
+ }\r
+ global::System.GC.SuppressFinalize(this);\r
+ }\r
+ }\r
+\r
+\r
+ public Gesture.GestureType Type\r
+ {\r
+ get\r
+ {\r
+ return type;\r
+ }\r
+ }\r
+\r
+ public Gesture.StateType State\r
+ {\r
+ get\r
+ {\r
+ return state;\r
+ }\r
+ }\r
+\r
+ public uint Time\r
+ {\r
+ get\r
+ {\r
+ return time;\r
+ }\r
+ }\r
+\r
+ public Gesture(Gesture rhs) : this(NDalicPINVOKE.new_Gesture(Gesture.getCPtr(rhs)), true)\r
+ {\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ }\r
+\r
+ public Gesture Assign(Gesture rhs)\r
+ {\r
+ Gesture ret = new Gesture(NDalicPINVOKE.Gesture_Assign(swigCPtr, Gesture.getCPtr(rhs)), false);\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ return ret;\r
+ }\r
+\r
+ private Gesture.GestureType type\r
+ {\r
+ set\r
+ {\r
+ NDalicPINVOKE.Gesture_type_set(swigCPtr, (int)value);\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ }\r
+ get\r
+ {\r
+ Gesture.GestureType ret = (Gesture.GestureType)NDalicPINVOKE.Gesture_type_get(swigCPtr);\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ return ret;\r
+ }\r
+ }\r
+\r
+ private Gesture.StateType state\r
+ {\r
+ set\r
+ {\r
+ NDalicPINVOKE.Gesture_state_set(swigCPtr, (int)value);\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ }\r
+ get\r
+ {\r
+ Gesture.StateType ret = (Gesture.StateType)NDalicPINVOKE.Gesture_state_get(swigCPtr);\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ return ret;\r
+ }\r
+ }\r
+\r
+ private uint time\r
+ {\r
+ set\r
+ {\r
+ NDalicPINVOKE.Gesture_time_set(swigCPtr, value);\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ }\r
+ get\r
+ {\r
+ uint ret = NDalicPINVOKE.Gesture_time_get(swigCPtr);\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ return ret;\r
+ }\r
+ }\r
+\r
+ public enum GestureType\r
+ {\r
+ Pinch = 1 << 0,\r
+ Pan = 1 << 1,\r
+ Tap = 1 << 2,\r
+ LongPress = 1 << 3\r
+ }\r
+\r
+ public enum StateType\r
+ {\r
+ Clear,\r
+ Started,\r
+ Continuing,\r
+ Finished,\r
+ Cancelled,\r
+ Possible\r
+ }\r
+\r
+ }\r
+\r
+}\r
-// Copyright (c) 2016 Samsung Electronics Co., Ltd All Rights Reserved\r
-// PROPRIETARY/CONFIDENTIAL \r
-// This software is the confidential and proprietary\r
-// information of SAMSUNG ELECTRONICS ("Confidential Information"). You shall\r
-// not disclose such Confidential Information and shall use it only in\r
-// accordance with the terms of the license agreement you entered into with\r
-// SAMSUNG ELECTRONICS. SAMSUNG make no representations or warranties about the\r
-// suitability of the software, either express or implied, including but not\r
-// limited to the implied warranties of merchantability, fitness for a\r
-// particular purpose, or non-infringement. SAMSUNG shall not be liable for any\r
-// damages suffered by licensee as a result of using, modifying or distributing\r
-// this software or its derivatives.\r
-\r
-// Copyright (c) 2017 Samsung Electronics Co., Ltd.\r
+//------------------------------------------------------------------------------\r
+// <auto-generated />\r
//\r
-// Licensed under the Apache License, Version 2.0 (the "License");\r
-// you may not use this file except in compliance with the License.\r
-// You may obtain a copy of the License at\r
+// This file was automatically generated by SWIG (http://www.swig.org).\r
+// Version 3.0.9\r
//\r
-// http://www.apache.org/licenses/LICENSE-2.0\r
-//\r
-// Unless required by applicable law or agreed to in writing, software\r
-// distributed under the License is distributed on an "AS IS" BASIS,\r
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
-// See the License for the specific language governing permissions and\r
-// limitations under the License.\r
-//\r
-\r
-// This File has been auto-generated by SWIG and then modified using DALi Ruby Scripts\r
-// Some have been manually changed\r
-\r
+// Do not make changes to this file unless you know what you are doing--modify\r
+// the SWIG interface file instead.\r
+//------------------------------------------------------------------------------\r
\r
namespace Tizen.NUI\r
{\r
-// Copyright (c) 2016 Samsung Electronics Co., Ltd All Rights Reserved\r
-// PROPRIETARY/CONFIDENTIAL \r
-// This software is the confidential and proprietary\r
-// information of SAMSUNG ELECTRONICS ("Confidential Information"). You shall\r
-// not disclose such Confidential Information and shall use it only in\r
-// accordance with the terms of the license agreement you entered into with\r
-// SAMSUNG ELECTRONICS. SAMSUNG make no representations or warranties about the\r
-// suitability of the software, either express or implied, including but not\r
-// limited to the implied warranties of merchantability, fitness for a\r
-// particular purpose, or non-infringement. SAMSUNG shall not be liable for any\r
-// damages suffered by licensee as a result of using, modifying or distributing\r
-// this software or its derivatives.\r
-\r
-// Copyright (c) 2017 Samsung Electronics Co., Ltd.\r
-//\r
-// Licensed under the Apache License, Version 2.0 (the "License");\r
-// you may not use this file except in compliance with the License.\r
-// You may obtain a copy of the License at\r
-//\r
-// http://www.apache.org/licenses/LICENSE-2.0\r
+/** Copyright (c) 2017 Samsung Electronics Co., Ltd.\r
+*\r
+* Licensed under the Apache License, Version 2.0 (the "License");\r
+* you may not use this file except in compliance with the License.\r
+* You may obtain a copy of the License at\r
+*\r
+* http://www.apache.org/licenses/LICENSE-2.0\r
+*\r
+* Unless required by applicable law or agreed to in writing, software\r
+* distributed under the License is distributed on an "AS IS" BASIS,\r
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
+* See the License for the specific language governing permissions and\r
+* limitations under the License.\r
+*\r
+*/\r
+// This File has been auto-generated by SWIG and then modified using DALi Ruby Scripts\r
+//------------------------------------------------------------------------------\r
+// <auto-generated />\r
//\r
-// Unless required by applicable law or agreed to in writing, software\r
-// distributed under the License is distributed on an "AS IS" BASIS,\r
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
-// See the License for the specific language governing permissions and\r
-// limitations under the License.\r
+// This file was automatically generated by SWIG (http://www.swig.org).\r
+// Version 3.0.9\r
//\r
-\r
-// This File has been auto-generated by SWIG and then modified using DALi Ruby Scripts\r
-// Some have been manually changed\r
+// Do not make changes to this file unless you know what you are doing--modify\r
+// the SWIG interface file instead.\r
+//------------------------------------------------------------------------------\r
\r
namespace Tizen.NUI\r
{\r
-// Copyright (c) 2016 Samsung Electronics Co., Ltd All Rights Reserved\r
-// PROPRIETARY/CONFIDENTIAL \r
-// This software is the confidential and proprietary\r
-// information of SAMSUNG ELECTRONICS ("Confidential Information"). You shall\r
-// not disclose such Confidential Information and shall use it only in\r
-// accordance with the terms of the license agreement you entered into with\r
-// SAMSUNG ELECTRONICS. SAMSUNG make no representations or warranties about the\r
-// suitability of the software, either express or implied, including but not\r
-// limited to the implied warranties of merchantability, fitness for a\r
-// particular purpose, or non-infringement. SAMSUNG shall not be liable for any\r
-// damages suffered by licensee as a result of using, modifying or distributing\r
-// this software or its derivatives.\r
-\r
-// Copyright (c) 2017 Samsung Electronics Co., Ltd.\r
-//\r
-// Licensed under the Apache License, Version 2.0 (the "License");\r
-// you may not use this file except in compliance with the License.\r
-// You may obtain a copy of the License at\r
+//------------------------------------------------------------------------------\r
+// <auto-generated />\r
//\r
-// http://www.apache.org/licenses/LICENSE-2.0\r
+// This file was automatically generated by SWIG (http://www.swig.org).\r
+// Version 3.0.9\r
//\r
-// Unless required by applicable law or agreed to in writing, software\r
-// distributed under the License is distributed on an "AS IS" BASIS,\r
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
-// See the License for the specific language governing permissions and\r
-// limitations under the License.\r
-//\r
-\r
-// This File has been auto-generated by SWIG and then modified using DALi Ruby Scripts\r
-// Some have been manually changed\r
+// Do not make changes to this file unless you know what you are doing--modify\r
+// the SWIG interface file instead.\r
+//------------------------------------------------------------------------------\r
\r
namespace Tizen.NUI\r
{\r
}\r
}\r
\r
+ /* duplicated with KeyPressedName : removed\r
public string KeyPressed\r
{\r
get\r
return keyPressed;\r
}\r
}\r
+ */\r
\r
public int KeyCode\r
{\r
-// Copyright (c) 2016 Samsung Electronics Co., Ltd All Rights Reserved\r
-// PROPRIETARY/CONFIDENTIAL \r
-// This software is the confidential and proprietary\r
-// information of SAMSUNG ELECTRONICS ("Confidential Information"). You shall\r
-// not disclose such Confidential Information and shall use it only in\r
-// accordance with the terms of the license agreement you entered into with\r
-// SAMSUNG ELECTRONICS. SAMSUNG make no representations or warranties about the\r
-// suitability of the software, either express or implied, including but not\r
-// limited to the implied warranties of merchantability, fitness for a\r
-// particular purpose, or non-infringement. SAMSUNG shall not be liable for any\r
-// damages suffered by licensee as a result of using, modifying or distributing\r
-// this software or its derivatives.\r
-\r
-// Copyright (c) 2017 Samsung Electronics Co., Ltd.\r
-//\r
-// Licensed under the Apache License, Version 2.0 (the "License");\r
-// you may not use this file except in compliance with the License.\r
-// You may obtain a copy of the License at\r
-//\r
-// http://www.apache.org/licenses/LICENSE-2.0\r
+/** Copyright (c) 2017 Samsung Electronics Co., Ltd.\r
+*\r
+* Licensed under the Apache License, Version 2.0 (the "License");\r
+* you may not use this file except in compliance with the License.\r
+* You may obtain a copy of the License at\r
+*\r
+* http://www.apache.org/licenses/LICENSE-2.0\r
+*\r
+* Unless required by applicable law or agreed to in writing, software\r
+* distributed under the License is distributed on an "AS IS" BASIS,\r
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
+* See the License for the specific language governing permissions and\r
+* limitations under the License.\r
+*\r
+*/\r
+// This File has been auto-generated by SWIG and then modified using DALi Ruby Scripts\r
+//------------------------------------------------------------------------------\r
+// <auto-generated />\r
//\r
-// Unless required by applicable law or agreed to in writing, software\r
-// distributed under the License is distributed on an "AS IS" BASIS,\r
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
-// See the License for the specific language governing permissions and\r
-// limitations under the License.\r
+// This file was automatically generated by SWIG (http://www.swig.org).\r
+// Version 3.0.9\r
//\r
-\r
-// This File has been auto-generated by SWIG and then modified using DALi Ruby Scripts\r
-// Some have been manually changed\r
+// Do not make changes to this file unless you know what you are doing--modify\r
+// the SWIG interface file instead.\r
+//------------------------------------------------------------------------------\r
\r
namespace Tizen.NUI\r
{\r
-// Copyright (c) 2016 Samsung Electronics Co., Ltd All Rights Reserved\r
-// PROPRIETARY/CONFIDENTIAL \r
-// This software is the confidential and proprietary\r
-// information of SAMSUNG ELECTRONICS ("Confidential Information"). You shall\r
-// not disclose such Confidential Information and shall use it only in\r
-// accordance with the terms of the license agreement you entered into with\r
-// SAMSUNG ELECTRONICS. SAMSUNG make no representations or warranties about the\r
-// suitability of the software, either express or implied, including but not\r
-// limited to the implied warranties of merchantability, fitness for a\r
-// particular purpose, or non-infringement. SAMSUNG shall not be liable for any\r
-// damages suffered by licensee as a result of using, modifying or distributing\r
-// this software or its derivatives.\r
-\r
-// Copyright (c) 2017 Samsung Electronics Co., Ltd.\r
+/** Copyright (c) 2017 Samsung Electronics Co., Ltd.\r
+*\r
+* Licensed under the Apache License, Version 2.0 (the "License");\r
+* you may not use this file except in compliance with the License.\r
+* You may obtain a copy of the License at\r
+*\r
+* http://www.apache.org/licenses/LICENSE-2.0\r
+*\r
+* Unless required by applicable law or agreed to in writing, software\r
+* distributed under the License is distributed on an "AS IS" BASIS,\r
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
+* See the License for the specific language governing permissions and\r
+* limitations under the License.\r
+*\r
+*/\r
+// This File has been auto-generated by SWIG and then modified using DALi Ruby Scripts\r
+//------------------------------------------------------------------------------\r
+// <auto-generated />\r
//\r
-// Licensed under the Apache License, Version 2.0 (the "License");\r
-// you may not use this file except in compliance with the License.\r
-// You may obtain a copy of the License at\r
+// This file was automatically generated by SWIG (http://www.swig.org).\r
+// Version 3.0.9\r
//\r
-// http://www.apache.org/licenses/LICENSE-2.0\r
-//
-// Unless required by applicable law or agreed to in writing, software\r
-// distributed under the License is distributed on an "AS IS" BASIS,\r
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
-// See the License for the specific language governing permissions and\r
-// limitations under the License.\r
-//
-
-// This File has been auto-generated by SWIG and then modified using DALi Ruby Scripts\r
-// Some have been manually changed\r
+// Do not make changes to this file unless you know what you are doing--modify\r
+// the SWIG interface file instead.\r
+//------------------------------------------------------------------------------\r
\r
namespace Tizen.NUI\r
{\r
}\r
}\r
\r
- }
-
-}
+ }\r
+\r
+}\r
-//------------------------------------------------------------------------------
-// <auto-generated />
-//
-// This file was automatically generated by SWIG (http://www.swig.org).
-// Version 3.0.9
-//
-// Do not make changes to this file unless you know what you are doing--modify
-// the SWIG interface file instead.
-//------------------------------------------------------------------------------
-
-namespace Tizen.NUI {
-
-public class LongPressGesture : Gesture {
- private global::System.Runtime.InteropServices.HandleRef swigCPtr;
-
- internal LongPressGesture(global::System.IntPtr cPtr, bool cMemoryOwn) : base(NDalicPINVOKE.LongPressGesture_SWIGUpcast(cPtr), cMemoryOwn) {
- swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
- }
-
- internal static global::System.Runtime.InteropServices.HandleRef getCPtr(LongPressGesture obj) {
- return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
- }
-
- ~LongPressGesture() {
- DisposeQueue.Instance.Add(this);
- }
-
- public override void Dispose() {
- if (!Stage.IsInstalled()) {
- DisposeQueue.Instance.Add(this);
- return;
- }
-
- lock(this) {
- if (swigCPtr.Handle != global::System.IntPtr.Zero) {
- if (swigCMemOwn) {
- swigCMemOwn = false;
- NDalicPINVOKE.delete_LongPressGesture(swigCPtr);
- }
- swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
- }
- global::System.GC.SuppressFinalize(this);
- base.Dispose();
- }
- }
-
-
- public static LongPressGesture GetLongPressGestureFromPtr(global::System.IntPtr cPtr) {
- LongPressGesture ret = new LongPressGesture(cPtr, false);
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- return ret;
- }
-
- public uint NumberOfTouches
- {
- get
- {
- return numberOfTouches;
- }
- }
-
- public Vector2 ScreenPoint
- {
- get
- {
- return screenPoint;
- }
- }
-
- public Vector2 LocalPoint
- {
- get
- {
- return localPoint;
- }
- }
-
- public LongPressGesture(Gesture.StateType state) : this(NDalicPINVOKE.new_LongPressGesture__SWIG_0((int)state), true) {
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- }
-
- public LongPressGesture(LongPressGesture rhs) : this(NDalicPINVOKE.new_LongPressGesture__SWIG_1(LongPressGesture.getCPtr(rhs)), true) {
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- }
-
- public LongPressGesture Assign(LongPressGesture rhs) {
- LongPressGesture ret = new LongPressGesture(NDalicPINVOKE.LongPressGesture_Assign(swigCPtr, LongPressGesture.getCPtr(rhs)), false);
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- return ret;
- }
-
- private uint numberOfTouches {
- set {
- NDalicPINVOKE.LongPressGesture_numberOfTouches_set(swigCPtr, value);
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- }
- get {
- uint ret = NDalicPINVOKE.LongPressGesture_numberOfTouches_get(swigCPtr);
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- return ret;
- }
- }
-
- private Vector2 screenPoint {
- set {
- NDalicPINVOKE.LongPressGesture_screenPoint_set(swigCPtr, Vector2.getCPtr(value));
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- }
- get {
- global::System.IntPtr cPtr = NDalicPINVOKE.LongPressGesture_screenPoint_get(swigCPtr);
- Vector2 ret = (cPtr == global::System.IntPtr.Zero) ? null : new Vector2(cPtr, false);
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- return ret;
- }
- }
-
- private Vector2 localPoint {
- set {
- NDalicPINVOKE.LongPressGesture_localPoint_set(swigCPtr, Vector2.getCPtr(value));
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- }
- get {
- global::System.IntPtr cPtr = NDalicPINVOKE.LongPressGesture_localPoint_get(swigCPtr);
- Vector2 ret = (cPtr == global::System.IntPtr.Zero) ? null : new Vector2(cPtr, false);
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- return ret;
- }
- }
-
-}
-
-}
+//------------------------------------------------------------------------------\r
+// <auto-generated />\r
+//\r
+// This file was automatically generated by SWIG (http://www.swig.org).\r
+// Version 3.0.9\r
+//\r
+// Do not make changes to this file unless you know what you are doing--modify\r
+// the SWIG interface file instead.\r
+//------------------------------------------------------------------------------\r
+\r
+namespace Tizen.NUI\r
+{\r
+\r
+ public class LongPressGesture : Gesture\r
+ {\r
+ private global::System.Runtime.InteropServices.HandleRef swigCPtr;\r
+\r
+ internal LongPressGesture(global::System.IntPtr cPtr, bool cMemoryOwn) : base(NDalicPINVOKE.LongPressGesture_SWIGUpcast(cPtr), cMemoryOwn)\r
+ {\r
+ swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);\r
+ }\r
+\r
+ internal static global::System.Runtime.InteropServices.HandleRef getCPtr(LongPressGesture obj)\r
+ {\r
+ return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;\r
+ }\r
+\r
+ ~LongPressGesture()\r
+ {\r
+ DisposeQueue.Instance.Add(this);\r
+ }\r
+\r
+ public override void Dispose()\r
+ {\r
+ if (!Stage.IsInstalled())\r
+ {\r
+ DisposeQueue.Instance.Add(this);\r
+ return;\r
+ }\r
+\r
+ lock (this)\r
+ {\r
+ if (swigCPtr.Handle != global::System.IntPtr.Zero)\r
+ {\r
+ if (swigCMemOwn)\r
+ {\r
+ swigCMemOwn = false;\r
+ NDalicPINVOKE.delete_LongPressGesture(swigCPtr);\r
+ }\r
+ swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);\r
+ }\r
+ global::System.GC.SuppressFinalize(this);\r
+ base.Dispose();\r
+ }\r
+ }\r
+\r
+\r
+ public static LongPressGesture GetLongPressGestureFromPtr(global::System.IntPtr cPtr)\r
+ {\r
+ LongPressGesture ret = new LongPressGesture(cPtr, false);\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ return ret;\r
+ }\r
+\r
+ public uint NumberOfTouches\r
+ {\r
+ get\r
+ {\r
+ return numberOfTouches;\r
+ }\r
+ }\r
+\r
+ public Vector2 ScreenPoint\r
+ {\r
+ get\r
+ {\r
+ return screenPoint;\r
+ }\r
+ }\r
+\r
+ public Vector2 LocalPoint\r
+ {\r
+ get\r
+ {\r
+ return localPoint;\r
+ }\r
+ }\r
+\r
+ public LongPressGesture(Gesture.StateType state) : this(NDalicPINVOKE.new_LongPressGesture__SWIG_0((int)state), true)\r
+ {\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ }\r
+\r
+ public LongPressGesture(LongPressGesture rhs) : this(NDalicPINVOKE.new_LongPressGesture__SWIG_1(LongPressGesture.getCPtr(rhs)), true)\r
+ {\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ }\r
+\r
+ public LongPressGesture Assign(LongPressGesture rhs)\r
+ {\r
+ LongPressGesture ret = new LongPressGesture(NDalicPINVOKE.LongPressGesture_Assign(swigCPtr, LongPressGesture.getCPtr(rhs)), false);\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ return ret;\r
+ }\r
+\r
+ private uint numberOfTouches\r
+ {\r
+ set\r
+ {\r
+ NDalicPINVOKE.LongPressGesture_numberOfTouches_set(swigCPtr, value);\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ }\r
+ get\r
+ {\r
+ uint ret = NDalicPINVOKE.LongPressGesture_numberOfTouches_get(swigCPtr);\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ return ret;\r
+ }\r
+ }\r
+\r
+ private Vector2 screenPoint\r
+ {\r
+ set\r
+ {\r
+ NDalicPINVOKE.LongPressGesture_screenPoint_set(swigCPtr, Vector2.getCPtr(value));\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ }\r
+ get\r
+ {\r
+ global::System.IntPtr cPtr = NDalicPINVOKE.LongPressGesture_screenPoint_get(swigCPtr);\r
+ Vector2 ret = (cPtr == global::System.IntPtr.Zero) ? null : new Vector2(cPtr, false);\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ return ret;\r
+ }\r
+ }\r
+\r
+ private Vector2 localPoint\r
+ {\r
+ set\r
+ {\r
+ NDalicPINVOKE.LongPressGesture_localPoint_set(swigCPtr, Vector2.getCPtr(value));\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ }\r
+ get\r
+ {\r
+ global::System.IntPtr cPtr = NDalicPINVOKE.LongPressGesture_localPoint_get(swigCPtr);\r
+ Vector2 ret = (cPtr == global::System.IntPtr.Zero) ? null : new Vector2(cPtr, false);\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ return ret;\r
+ }\r
+ }\r
+\r
+ }\r
+\r
+}\r
-/*
- * Copyright (c) 2016 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.
- *
- */
-
-using System;
-using Tizen.Applications;
-using Tizen.NUI;
-
-namespace Tizen.NUI
-{
-
- /// <summary>
- /// Represents an application that have UI screen. The NUIApplication class has a default stage.
- /// </summary>
- public class NUIApplication : CoreUIApplication
- {
- private void LOG(string _str)
- {
- //Tizen.Log.Debug("NUI", _str);
- //Console.WriteLine("[NUI]" + _str);
- }
-
- /// <summary>
- /// The instance of the Application.
- /// </summary>
- /// <remarks>
- /// This application is created before OnCreate() or created event. And the NUIApplication will be terminated when this application is closed.
- /// </remarks>
- private Application _application;
-
- /// <summary>
- /// The instance of the Dali Application extension.
- /// </summary>
- private ApplicationExtensions _applicationExt;
-
- /// <summary>
- /// Store the stylesheet value.
- /// </summary>
- private string _stylesheet;
-
- /// <summary>
- /// Store the window mode value.
- /// </summary>
- private Application.WindowMode _windowMode;
-
- /// <summary>
- /// Store the app mode value.
- /// </summary>
- private AppMode _appMode;
-
- /// <summary>
- /// The instance of the Dali Stage.
- /// </summary>
- private Stage _stage;
-
- /// <summary>
- /// The default constructor.
- /// </summary>
- public NUIApplication() : base()
- {
- _appMode = AppMode.Default;
- }
-
- /// <summary>
- /// The constructor with stylesheet.
- /// </summary>
- public NUIApplication(string stylesheet) : base()
- {
- //handle the stylesheet
- _appMode = AppMode.StyleSheetOnly;
- _stylesheet = stylesheet;
- }
-
- /// <summary>
- /// The constructor with stylesheet and window mode.
- /// </summary>
- public NUIApplication(string stylesheet, WindowMode windowMode) : base()
- {
- //handle the stylesheet and windowMode
- _appMode = AppMode.StyleSheetWithWindowMode;
- _stylesheet = stylesheet;
- _windowMode = (Application.WindowMode)windowMode;
- }
-
- /// <summary>
- /// Overrides this method if want to handle behavior.
- /// </summary>
- protected override void OnPause()
- {
- base.OnPause();
- _applicationExt.Pause();
- LOG("OnPause() is called!");
- }
-
- /// <summary>
- /// Overrides this method if want to handle behavior before calling OnCreate().
- /// stage property is initialized in this overrided method.
- /// </summary>
- protected override void OnPreCreate()
- {
- switch (_appMode)
- {
- case AppMode.Default:
- _application = Tizen.NUI.Application.NewApplication();
- break;
- case AppMode.StyleSheetOnly:
- _application = Tizen.NUI.Application.NewApplication(_stylesheet);
- break;
- case AppMode.StyleSheetWithWindowMode:
- _application = Tizen.NUI.Application.NewApplication(_stylesheet, _windowMode);
- break;
- default:
- break;
- }
- _applicationExt = new ApplicationExtensions(_application);
- _applicationExt.Init();
-
- _stage = Stage.Instance;
- _stage.SetBackgroundColor(Color.White);
- LOG("OnPreCreate() is called!");
- }
-
- /// <summary>
- /// Overrides this method if want to handle behavior.
- /// </summary>
- protected override void OnResume()
- {
- base.OnResume();
- _applicationExt.Resume();
- LOG("OnResume() is called!");
- }
-
- /// <summary>
- /// Overrides this method if want to handle behavior.
- /// </summary>
- protected override void OnAppControlReceived(AppControlReceivedEventArgs e)
- {
- base.OnAppControlReceived(e);
- LOG("OnAppControlReceived() is called!");
- if (e != null)
- {
- LOG("OnAppControlReceived() is called! ApplicationId=" + e.ReceivedAppControl.ApplicationId);
- LOG("CallerApplicationId=" + e.ReceivedAppControl.CallerApplicationId + " IsReplyRequest=" + e.ReceivedAppControl.IsReplyRequest);
- }
- }
-
- /// <summary>
- /// Overrides this method if want to handle behavior.
- /// </summary>
- protected override void OnCreate()
- {
- base.OnCreate();
- LOG("OnCreate() is called!");
- }
-
- /// <summary>
- /// Overrides this method if want to handle behavior.
- /// </summary>
- protected override void OnLocaleChanged(LocaleChangedEventArgs e)
- {
- base.OnLocaleChanged(e);
- _applicationExt.LanguageChange();
- LOG("OnLocaleChanged() is called!");
- }
-
- /// <summary>
- /// Overrides this method if want to handle behavior.
- /// </summary>
- protected override void OnLowBattery(LowBatteryEventArgs e)
- {
- base.OnLowBattery(e);
- LOG("OnLowBattery() is called!");
- }
-
- /// <summary>
- /// Overrides this method if want to handle behavior.
- /// </summary>
- protected override void OnLowMemory(LowMemoryEventArgs e)
- {
- base.OnLowMemory(e);
- LOG("OnLowMemory() is called!");
- }
-
- /// <summary>
- /// Overrides this method if want to handle behavior.
- /// </summary>
- protected override void OnRegionFormatChanged(RegionFormatChangedEventArgs e)
- {
- base.OnRegionFormatChanged(e);
- LOG("OnRegionFormatChanged() is called!");
- }
-
- /// <summary>
- /// Overrides this method if want to handle behavior.
- /// </summary>
- protected override void OnTerminate()
- {
- base.OnTerminate();
- _applicationExt.Terminate();
- LOG("OnTerminate() is called!");
- }
-
- /// <summary>
- /// The mode of creating NUI application.
- /// </summary>
- private enum AppMode
- {
- Default = 0,
- StyleSheetOnly = 1,
- StyleSheetWithWindowMode = 2
- }
-
- /// <summary>
- /// Enumeration for deciding whether a NUI application window is opaque or transparent.
- /// </summary>
- public enum WindowMode
- {
- Opaque = 0,
- Transparent = 1
- }
-
- }
-}
+/*\r
+ * Copyright (c) 2016 Samsung Electronics Co., Ltd.\r
+ *\r
+ * Licensed under the Apache License, Version 2.0 (the "License");\r
+ * you may not use this file except in compliance with the License.\r
+ * You may obtain a copy of the License at\r
+ *\r
+ * http://www.apache.org/licenses/LICENSE-2.0\r
+ *\r
+ * Unless required by applicable law or agreed to in writing, software\r
+ * distributed under the License is distributed on an "AS IS" BASIS,\r
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
+ * See the License for the specific language governing permissions and\r
+ * limitations under the License.\r
+ *\r
+ */\r
+\r
+using System;\r
+using Tizen.Applications;\r
+using Tizen.NUI;\r
+\r
+namespace Tizen.NUI\r
+{\r
+\r
+ /// <summary>\r
+ /// Represents an application that have UI screen. The NUIApplication class has a default stage.\r
+ /// </summary>\r
+ public class NUIApplication : CoreUIApplication\r
+ {\r
+ private void LOG(string _str)\r
+ {\r
+ //Tizen.Log.Debug("NUI", _str);\r
+ //Console.WriteLine("[NUI]" + _str);\r
+ }\r
+\r
+ /// <summary>\r
+ /// The instance of the Application.\r
+ /// </summary>\r
+ /// <remarks>\r
+ /// This application is created before OnCreate() or created event. And the NUIApplication will be terminated when this application is closed.\r
+ /// </remarks>\r
+ private Application _application;\r
+\r
+ /// <summary>\r
+ /// The instance of the Dali Application extension.\r
+ /// </summary>\r
+ private ApplicationExtensions _applicationExt;\r
+\r
+ /// <summary>\r
+ /// Store the stylesheet value.\r
+ /// </summary>\r
+ private string _stylesheet;\r
+\r
+ /// <summary>\r
+ /// Store the window mode value.\r
+ /// </summary>\r
+ private Application.WindowMode _windowMode;\r
+\r
+ /// <summary>\r
+ /// Store the app mode value.\r
+ /// </summary>\r
+ private AppMode _appMode;\r
+\r
+ /// <summary>\r
+ /// The instance of the Dali Stage.\r
+ /// </summary>\r
+ private Stage _stage;\r
+\r
+ /// <summary>\r
+ /// The default constructor.\r
+ /// </summary>\r
+ public NUIApplication() : base()\r
+ {\r
+ _appMode = AppMode.Default;\r
+ }\r
+\r
+ /// <summary>\r
+ /// The constructor with stylesheet.\r
+ /// </summary>\r
+ public NUIApplication(string stylesheet) : base()\r
+ {\r
+ //handle the stylesheet\r
+ _appMode = AppMode.StyleSheetOnly;\r
+ _stylesheet = stylesheet;\r
+ }\r
+\r
+ /// <summary>\r
+ /// The constructor with stylesheet and window mode.\r
+ /// </summary>\r
+ public NUIApplication(string stylesheet, WindowMode windowMode) : base()\r
+ {\r
+ //handle the stylesheet and windowMode\r
+ _appMode = AppMode.StyleSheetWithWindowMode;\r
+ _stylesheet = stylesheet;\r
+ _windowMode = (Application.WindowMode)windowMode;\r
+ }\r
+\r
+ /// <summary>\r
+ /// Overrides this method if want to handle behavior.\r
+ /// </summary>\r
+ protected override void OnPause()\r
+ {\r
+ base.OnPause();\r
+ _applicationExt.Pause();\r
+ LOG("OnPause() is called!");\r
+ }\r
+\r
+ /// <summary>\r
+ /// Overrides this method if want to handle behavior before calling OnCreate().\r
+ /// stage property is initialized in this overrided method.\r
+ /// </summary>\r
+ protected override void OnPreCreate()\r
+ {\r
+ switch (_appMode)\r
+ {\r
+ case AppMode.Default:\r
+ _application = Tizen.NUI.Application.NewApplication();\r
+ break;\r
+ case AppMode.StyleSheetOnly:\r
+ _application = Tizen.NUI.Application.NewApplication(_stylesheet);\r
+ break;\r
+ case AppMode.StyleSheetWithWindowMode:\r
+ _application = Tizen.NUI.Application.NewApplication(_stylesheet, _windowMode);\r
+ break;\r
+ default:\r
+ break;\r
+ }\r
+ _applicationExt = new ApplicationExtensions(_application);\r
+ _applicationExt.Init();\r
+\r
+ _stage = Stage.Instance;\r
+ _stage.SetBackgroundColor(Color.White);\r
+ LOG("OnPreCreate() is called!");\r
+ }\r
+\r
+ /// <summary>\r
+ /// Overrides this method if want to handle behavior.\r
+ /// </summary>\r
+ protected override void OnResume()\r
+ {\r
+ base.OnResume();\r
+ _applicationExt.Resume();\r
+ LOG("OnResume() is called!");\r
+ }\r
+\r
+ /// <summary>\r
+ /// Overrides this method if want to handle behavior.\r
+ /// </summary>\r
+ protected override void OnAppControlReceived(AppControlReceivedEventArgs e)\r
+ {\r
+ base.OnAppControlReceived(e);\r
+ LOG("OnAppControlReceived() is called!");\r
+ if (e != null)\r
+ {\r
+ LOG("OnAppControlReceived() is called! ApplicationId=" + e.ReceivedAppControl.ApplicationId);\r
+ LOG("CallerApplicationId=" + e.ReceivedAppControl.CallerApplicationId + " IsReplyRequest=" + e.ReceivedAppControl.IsReplyRequest);\r
+ }\r
+ }\r
+\r
+ /// <summary>\r
+ /// Overrides this method if want to handle behavior.\r
+ /// </summary>\r
+ protected override void OnCreate()\r
+ {\r
+ base.OnCreate();\r
+ LOG("OnCreate() is called!");\r
+ }\r
+\r
+ /// <summary>\r
+ /// Overrides this method if want to handle behavior.\r
+ /// </summary>\r
+ protected override void OnLocaleChanged(LocaleChangedEventArgs e)\r
+ {\r
+ base.OnLocaleChanged(e);\r
+ _applicationExt.LanguageChange();\r
+ LOG("OnLocaleChanged() is called!");\r
+ }\r
+\r
+ /// <summary>\r
+ /// Overrides this method if want to handle behavior.\r
+ /// </summary>\r
+ protected override void OnLowBattery(LowBatteryEventArgs e)\r
+ {\r
+ base.OnLowBattery(e);\r
+ LOG("OnLowBattery() is called!");\r
+ }\r
+\r
+ /// <summary>\r
+ /// Overrides this method if want to handle behavior.\r
+ /// </summary>\r
+ protected override void OnLowMemory(LowMemoryEventArgs e)\r
+ {\r
+ base.OnLowMemory(e);\r
+ LOG("OnLowMemory() is called!");\r
+ }\r
+\r
+ /// <summary>\r
+ /// Overrides this method if want to handle behavior.\r
+ /// </summary>\r
+ protected override void OnRegionFormatChanged(RegionFormatChangedEventArgs e)\r
+ {\r
+ base.OnRegionFormatChanged(e);\r
+ LOG("OnRegionFormatChanged() is called!");\r
+ }\r
+\r
+ /// <summary>\r
+ /// Overrides this method if want to handle behavior.\r
+ /// </summary>\r
+ protected override void OnTerminate()\r
+ {\r
+ base.OnTerminate();\r
+ _applicationExt.Terminate();\r
+ LOG("OnTerminate() is called!");\r
+ }\r
+\r
+ /// <summary>\r
+ /// The mode of creating NUI application.\r
+ /// </summary>\r
+ private enum AppMode\r
+ {\r
+ Default = 0,\r
+ StyleSheetOnly = 1,\r
+ StyleSheetWithWindowMode = 2\r
+ }\r
+\r
+ /// <summary>\r
+ /// Enumeration for deciding whether a NUI application window is opaque or transparent.\r
+ /// </summary>\r
+ public enum WindowMode\r
+ {\r
+ Opaque = 0,\r
+ Transparent = 1\r
+ }\r
+\r
+ }\r
+}
\ No newline at end of file
-//------------------------------------------------------------------------------
-// <auto-generated />
-//
-// This file was automatically generated by SWIG (http://www.swig.org).
-// Version 3.0.9
-//
-// Do not make changes to this file unless you know what you are doing--modify
-// the SWIG interface file instead.
-//------------------------------------------------------------------------------
-
-namespace Tizen.NUI {
-
-public class PanGesture : Gesture {
- private global::System.Runtime.InteropServices.HandleRef swigCPtr;
-
- internal PanGesture(global::System.IntPtr cPtr, bool cMemoryOwn) : base(NDalicPINVOKE.PanGesture_SWIGUpcast(cPtr), cMemoryOwn) {
- swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
- }
-
- internal static global::System.Runtime.InteropServices.HandleRef getCPtr(PanGesture obj) {
- return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
- }
-
- ~PanGesture() {
- DisposeQueue.Instance.Add(this);
- }
-
- public override void Dispose() {
- if (!Stage.IsInstalled()) {
- DisposeQueue.Instance.Add(this);
- return;
- }
-
- lock(this) {
- if (swigCPtr.Handle != global::System.IntPtr.Zero) {
- if (swigCMemOwn) {
- swigCMemOwn = false;
- NDalicPINVOKE.delete_PanGesture(swigCPtr);
- }
- swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
- }
- global::System.GC.SuppressFinalize(this);
- base.Dispose();
- }
- }
-
-
- public static PanGesture GetPanGestureFromPtr(global::System.IntPtr cPtr) {
- PanGesture ret = new PanGesture(cPtr, false);
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- return ret;
- }
-
- public Vector2 Velocity
- {
- get
- {
- return velocity;
- }
- }
-
- public Vector2 Displacement
- {
- get
- {
- return displacement;
- }
- }
-
- public Vector2 Position
- {
- get
- {
- return position;
- }
- }
-
- public Vector2 ScreenVelocity
- {
- get
- {
- return screenVelocity;
- }
- }
-
- public Vector2 ScreenDisplacement
- {
- get
- {
- return screenDisplacement;
- }
- }
-
- public Vector2 ScreenPosition
- {
- get
- {
- return screenPosition;
- }
- }
-
- public uint NumberOfTouches
- {
- get
- {
- return numberOfTouches;
- }
- }
-
- public PanGesture() : this(NDalicPINVOKE.new_PanGesture__SWIG_0(), true) {
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- }
-
- public PanGesture(Gesture.StateType state) : this(NDalicPINVOKE.new_PanGesture__SWIG_1((int)state), true) {
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- }
-
- public PanGesture(PanGesture rhs) : this(NDalicPINVOKE.new_PanGesture__SWIG_2(PanGesture.getCPtr(rhs)), true) {
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- }
-
- public PanGesture Assign(PanGesture rhs) {
- PanGesture ret = new PanGesture(NDalicPINVOKE.PanGesture_Assign(swigCPtr, PanGesture.getCPtr(rhs)), false);
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- return ret;
- }
-
- private Vector2 velocity {
- set {
- NDalicPINVOKE.PanGesture_velocity_set(swigCPtr, Vector2.getCPtr(value));
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- }
- get {
- global::System.IntPtr cPtr = NDalicPINVOKE.PanGesture_velocity_get(swigCPtr);
- Vector2 ret = (cPtr == global::System.IntPtr.Zero) ? null : new Vector2(cPtr, false);
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- return ret;
- }
- }
-
- private Vector2 displacement {
- set {
- NDalicPINVOKE.PanGesture_displacement_set(swigCPtr, Vector2.getCPtr(value));
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- }
- get {
- global::System.IntPtr cPtr = NDalicPINVOKE.PanGesture_displacement_get(swigCPtr);
- Vector2 ret = (cPtr == global::System.IntPtr.Zero) ? null : new Vector2(cPtr, false);
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- return ret;
- }
- }
-
- private Vector2 position {
- set {
- NDalicPINVOKE.PanGesture_position_set(swigCPtr, Vector2.getCPtr(value));
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- }
- get {
- global::System.IntPtr cPtr = NDalicPINVOKE.PanGesture_position_get(swigCPtr);
- Vector2 ret = (cPtr == global::System.IntPtr.Zero) ? null : new Vector2(cPtr, false);
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- return ret;
- }
- }
-
- private Vector2 screenVelocity {
- set {
- NDalicPINVOKE.PanGesture_screenVelocity_set(swigCPtr, Vector2.getCPtr(value));
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- }
- get {
- global::System.IntPtr cPtr = NDalicPINVOKE.PanGesture_screenVelocity_get(swigCPtr);
- Vector2 ret = (cPtr == global::System.IntPtr.Zero) ? null : new Vector2(cPtr, false);
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- return ret;
- }
- }
-
- private Vector2 screenDisplacement {
- set {
- NDalicPINVOKE.PanGesture_screenDisplacement_set(swigCPtr, Vector2.getCPtr(value));
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- }
- get {
- global::System.IntPtr cPtr = NDalicPINVOKE.PanGesture_screenDisplacement_get(swigCPtr);
- Vector2 ret = (cPtr == global::System.IntPtr.Zero) ? null : new Vector2(cPtr, false);
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- return ret;
- }
- }
-
- private Vector2 screenPosition {
- set {
- NDalicPINVOKE.PanGesture_screenPosition_set(swigCPtr, Vector2.getCPtr(value));
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- }
- get {
- global::System.IntPtr cPtr = NDalicPINVOKE.PanGesture_screenPosition_get(swigCPtr);
- Vector2 ret = (cPtr == global::System.IntPtr.Zero) ? null : new Vector2(cPtr, false);
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- return ret;
- }
- }
-
- private uint numberOfTouches {
- set {
- NDalicPINVOKE.PanGesture_numberOfTouches_set(swigCPtr, value);
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- }
- get {
- uint ret = NDalicPINVOKE.PanGesture_numberOfTouches_get(swigCPtr);
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- return ret;
- }
- }
-
- public float GetSpeed() {
- float ret = NDalicPINVOKE.PanGesture_GetSpeed(swigCPtr);
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- return ret;
- }
-
- public float GetDistance() {
- float ret = NDalicPINVOKE.PanGesture_GetDistance(swigCPtr);
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- return ret;
- }
-
- public float GetScreenSpeed() {
- float ret = NDalicPINVOKE.PanGesture_GetScreenSpeed(swigCPtr);
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- return ret;
- }
-
- public float GetScreenDistance() {
- float ret = NDalicPINVOKE.PanGesture_GetScreenDistance(swigCPtr);
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- return ret;
- }
-
-}
-
-}
+//------------------------------------------------------------------------------\r
+// <auto-generated />\r
+//\r
+// This file was automatically generated by SWIG (http://www.swig.org).\r
+// Version 3.0.9\r
+//\r
+// Do not make changes to this file unless you know what you are doing--modify\r
+// the SWIG interface file instead.\r
+//------------------------------------------------------------------------------\r
+\r
+namespace Tizen.NUI\r
+{\r
+\r
+ public class PanGesture : Gesture\r
+ {\r
+ private global::System.Runtime.InteropServices.HandleRef swigCPtr;\r
+\r
+ internal PanGesture(global::System.IntPtr cPtr, bool cMemoryOwn) : base(NDalicPINVOKE.PanGesture_SWIGUpcast(cPtr), cMemoryOwn)\r
+ {\r
+ swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);\r
+ }\r
+\r
+ internal static global::System.Runtime.InteropServices.HandleRef getCPtr(PanGesture obj)\r
+ {\r
+ return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;\r
+ }\r
+\r
+ ~PanGesture()\r
+ {\r
+ DisposeQueue.Instance.Add(this);\r
+ }\r
+\r
+ public override void Dispose()\r
+ {\r
+ if (!Stage.IsInstalled())\r
+ {\r
+ DisposeQueue.Instance.Add(this);\r
+ return;\r
+ }\r
+\r
+ lock (this)\r
+ {\r
+ if (swigCPtr.Handle != global::System.IntPtr.Zero)\r
+ {\r
+ if (swigCMemOwn)\r
+ {\r
+ swigCMemOwn = false;\r
+ NDalicPINVOKE.delete_PanGesture(swigCPtr);\r
+ }\r
+ swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);\r
+ }\r
+ global::System.GC.SuppressFinalize(this);\r
+ base.Dispose();\r
+ }\r
+ }\r
+\r
+\r
+ public static PanGesture GetPanGestureFromPtr(global::System.IntPtr cPtr)\r
+ {\r
+ PanGesture ret = new PanGesture(cPtr, false);\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ return ret;\r
+ }\r
+\r
+ public Vector2 Velocity\r
+ {\r
+ get\r
+ {\r
+ return velocity;\r
+ }\r
+ }\r
+\r
+ public Vector2 Displacement\r
+ {\r
+ get\r
+ {\r
+ return displacement;\r
+ }\r
+ }\r
+\r
+ public Vector2 Position\r
+ {\r
+ get\r
+ {\r
+ return position;\r
+ }\r
+ }\r
+\r
+ public Vector2 ScreenVelocity\r
+ {\r
+ get\r
+ {\r
+ return screenVelocity;\r
+ }\r
+ }\r
+\r
+ public Vector2 ScreenDisplacement\r
+ {\r
+ get\r
+ {\r
+ return screenDisplacement;\r
+ }\r
+ }\r
+\r
+ public Vector2 ScreenPosition\r
+ {\r
+ get\r
+ {\r
+ return screenPosition;\r
+ }\r
+ }\r
+\r
+ public uint NumberOfTouches\r
+ {\r
+ get\r
+ {\r
+ return numberOfTouches;\r
+ }\r
+ }\r
+\r
+ public PanGesture() : this(NDalicPINVOKE.new_PanGesture__SWIG_0(), true)\r
+ {\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ }\r
+\r
+ public PanGesture(Gesture.StateType state) : this(NDalicPINVOKE.new_PanGesture__SWIG_1((int)state), true)\r
+ {\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ }\r
+\r
+ public PanGesture(PanGesture rhs) : this(NDalicPINVOKE.new_PanGesture__SWIG_2(PanGesture.getCPtr(rhs)), true)\r
+ {\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ }\r
+\r
+ public PanGesture Assign(PanGesture rhs)\r
+ {\r
+ PanGesture ret = new PanGesture(NDalicPINVOKE.PanGesture_Assign(swigCPtr, PanGesture.getCPtr(rhs)), false);\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ return ret;\r
+ }\r
+\r
+ private Vector2 velocity\r
+ {\r
+ set\r
+ {\r
+ NDalicPINVOKE.PanGesture_velocity_set(swigCPtr, Vector2.getCPtr(value));\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ }\r
+ get\r
+ {\r
+ global::System.IntPtr cPtr = NDalicPINVOKE.PanGesture_velocity_get(swigCPtr);\r
+ Vector2 ret = (cPtr == global::System.IntPtr.Zero) ? null : new Vector2(cPtr, false);\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ return ret;\r
+ }\r
+ }\r
+\r
+ private Vector2 displacement\r
+ {\r
+ set\r
+ {\r
+ NDalicPINVOKE.PanGesture_displacement_set(swigCPtr, Vector2.getCPtr(value));\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ }\r
+ get\r
+ {\r
+ global::System.IntPtr cPtr = NDalicPINVOKE.PanGesture_displacement_get(swigCPtr);\r
+ Vector2 ret = (cPtr == global::System.IntPtr.Zero) ? null : new Vector2(cPtr, false);\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ return ret;\r
+ }\r
+ }\r
+\r
+ private Vector2 position\r
+ {\r
+ set\r
+ {\r
+ NDalicPINVOKE.PanGesture_position_set(swigCPtr, Vector2.getCPtr(value));\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ }\r
+ get\r
+ {\r
+ global::System.IntPtr cPtr = NDalicPINVOKE.PanGesture_position_get(swigCPtr);\r
+ Vector2 ret = (cPtr == global::System.IntPtr.Zero) ? null : new Vector2(cPtr, false);\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ return ret;\r
+ }\r
+ }\r
+\r
+ private Vector2 screenVelocity\r
+ {\r
+ set\r
+ {\r
+ NDalicPINVOKE.PanGesture_screenVelocity_set(swigCPtr, Vector2.getCPtr(value));\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ }\r
+ get\r
+ {\r
+ global::System.IntPtr cPtr = NDalicPINVOKE.PanGesture_screenVelocity_get(swigCPtr);\r
+ Vector2 ret = (cPtr == global::System.IntPtr.Zero) ? null : new Vector2(cPtr, false);\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ return ret;\r
+ }\r
+ }\r
+\r
+ private Vector2 screenDisplacement\r
+ {\r
+ set\r
+ {\r
+ NDalicPINVOKE.PanGesture_screenDisplacement_set(swigCPtr, Vector2.getCPtr(value));\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ }\r
+ get\r
+ {\r
+ global::System.IntPtr cPtr = NDalicPINVOKE.PanGesture_screenDisplacement_get(swigCPtr);\r
+ Vector2 ret = (cPtr == global::System.IntPtr.Zero) ? null : new Vector2(cPtr, false);\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ return ret;\r
+ }\r
+ }\r
+\r
+ private Vector2 screenPosition\r
+ {\r
+ set\r
+ {\r
+ NDalicPINVOKE.PanGesture_screenPosition_set(swigCPtr, Vector2.getCPtr(value));\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ }\r
+ get\r
+ {\r
+ global::System.IntPtr cPtr = NDalicPINVOKE.PanGesture_screenPosition_get(swigCPtr);\r
+ Vector2 ret = (cPtr == global::System.IntPtr.Zero) ? null : new Vector2(cPtr, false);\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ return ret;\r
+ }\r
+ }\r
+\r
+ private uint numberOfTouches\r
+ {\r
+ set\r
+ {\r
+ NDalicPINVOKE.PanGesture_numberOfTouches_set(swigCPtr, value);\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ }\r
+ get\r
+ {\r
+ uint ret = NDalicPINVOKE.PanGesture_numberOfTouches_get(swigCPtr);\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ return ret;\r
+ }\r
+ }\r
+\r
+ public float GetSpeed()\r
+ {\r
+ float ret = NDalicPINVOKE.PanGesture_GetSpeed(swigCPtr);\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ return ret;\r
+ }\r
+\r
+ public float GetDistance()\r
+ {\r
+ float ret = NDalicPINVOKE.PanGesture_GetDistance(swigCPtr);\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ return ret;\r
+ }\r
+\r
+ public float GetScreenSpeed()\r
+ {\r
+ float ret = NDalicPINVOKE.PanGesture_GetScreenSpeed(swigCPtr);\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ return ret;\r
+ }\r
+\r
+ public float GetScreenDistance()\r
+ {\r
+ float ret = NDalicPINVOKE.PanGesture_GetScreenDistance(swigCPtr);\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ return ret;\r
+ }\r
+\r
+ }\r
+\r
+}\r
-// Copyright (c) 2016 Samsung Electronics Co., Ltd All Rights Reserved\r
-// PROPRIETARY/CONFIDENTIAL \r
-// This software is the confidential and proprietary\r
-// information of SAMSUNG ELECTRONICS ("Confidential Information"). You shall\r
-// not disclose such Confidential Information and shall use it only in\r
-// accordance with the terms of the license agreement you entered into with\r
-// SAMSUNG ELECTRONICS. SAMSUNG make no representations or warranties about the\r
-// suitability of the software, either express or implied, including but not\r
-// limited to the implied warranties of merchantability, fitness for a\r
-// particular purpose, or non-infringement. SAMSUNG shall not be liable for any\r
-// damages suffered by licensee as a result of using, modifying or distributing\r
-// this software or its derivatives.\r
-\r
-// Copyright (c) 2017 Samsung Electronics Co., Ltd.\r
-//\r
-// Licensed under the Apache License, Version 2.0 (the "License");\r
-// you may not use this file except in compliance with the License.\r
-// You may obtain a copy of the License at\r
-//\r
-// http://www.apache.org/licenses/LICENSE-2.0\r
+/** Copyright (c) 2017 Samsung Electronics Co., Ltd.\r
+*\r
+* Licensed under the Apache License, Version 2.0 (the "License");\r
+* you may not use this file except in compliance with the License.\r
+* You may obtain a copy of the License at\r
+*\r
+* http://www.apache.org/licenses/LICENSE-2.0\r
+*\r
+* Unless required by applicable law or agreed to in writing, software\r
+* distributed under the License is distributed on an "AS IS" BASIS,\r
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
+* See the License for the specific language governing permissions and\r
+* limitations under the License.\r
+*\r
+*/\r
+// This File has been auto-generated by SWIG and then modified using DALi Ruby Scripts\r
+//------------------------------------------------------------------------------\r
+// <auto-generated />\r
//\r
-// Unless required by applicable law or agreed to in writing, software\r
-// distributed under the License is distributed on an "AS IS" BASIS,\r
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
-// See the License for the specific language governing permissions and\r
-// limitations under the License.\r
+// This file was automatically generated by SWIG (http://www.swig.org).\r
+// Version 3.0.9\r
//\r
-\r
-// This File has been auto-generated by SWIG and then modified using DALi Ruby Scripts\r
-// Some have been manually changed\r
+// Do not make changes to this file unless you know what you are doing--modify\r
+// the SWIG interface file instead.\r
+//------------------------------------------------------------------------------\r
\r
namespace Tizen.NUI\r
{\r
}\r
\r
}\r
+\r
}\r
-//------------------------------------------------------------------------------
-// <auto-generated />
-//
-// This file was automatically generated by SWIG (http://www.swig.org).
-// Version 3.0.9
-//
-// Do not make changes to this file unless you know what you are doing--modify
-// the SWIG interface file instead.
-//------------------------------------------------------------------------------
-
-namespace Tizen.NUI {
-
-public class PinchGesture : Gesture {
- private global::System.Runtime.InteropServices.HandleRef swigCPtr;
-
- internal PinchGesture(global::System.IntPtr cPtr, bool cMemoryOwn) : base(NDalicPINVOKE.PinchGesture_SWIGUpcast(cPtr), cMemoryOwn) {
- swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
- }
-
- internal static global::System.Runtime.InteropServices.HandleRef getCPtr(PinchGesture obj) {
- return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
- }
-
- ~PinchGesture() {
- DisposeQueue.Instance.Add(this);
- }
-
- public override void Dispose() {
- if (!Stage.IsInstalled()) {
- DisposeQueue.Instance.Add(this);
- return;
- }
-
- lock(this) {
- if (swigCPtr.Handle != global::System.IntPtr.Zero) {
- if (swigCMemOwn) {
- swigCMemOwn = false;
- NDalicPINVOKE.delete_PinchGesture(swigCPtr);
- }
- swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
- }
- global::System.GC.SuppressFinalize(this);
- base.Dispose();
- }
- }
-
-
- public static PinchGesture GetPinchGestureFromPtr(global::System.IntPtr cPtr) {
- PinchGesture ret = new PinchGesture(cPtr, false);
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- return ret;
- }
-
- public float Scale
- {
- get
- {
- return scale;
- }
- }
-
- public float Speed
- {
- get
- {
- return speed;
- }
- }
-
- public Vector2 ScreenCenterPoint
- {
- get
- {
- return screenCenterPoint;
- }
- }
-
- public Vector2 LocalCenterPoint
- {
- get
- {
- return localCenterPoint;
- }
- }
-
- public PinchGesture(Gesture.StateType state) : this(NDalicPINVOKE.new_PinchGesture__SWIG_0((int)state), true) {
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- }
-
- public PinchGesture(PinchGesture rhs) : this(NDalicPINVOKE.new_PinchGesture__SWIG_1(PinchGesture.getCPtr(rhs)), true) {
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- }
-
- public PinchGesture Assign(PinchGesture rhs) {
- PinchGesture ret = new PinchGesture(NDalicPINVOKE.PinchGesture_Assign(swigCPtr, PinchGesture.getCPtr(rhs)), false);
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- return ret;
- }
-
- private float scale {
- set {
- NDalicPINVOKE.PinchGesture_scale_set(swigCPtr, value);
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- }
- get {
- float ret = NDalicPINVOKE.PinchGesture_scale_get(swigCPtr);
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- return ret;
- }
- }
-
- private float speed {
- set {
- NDalicPINVOKE.PinchGesture_speed_set(swigCPtr, value);
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- }
- get {
- float ret = NDalicPINVOKE.PinchGesture_speed_get(swigCPtr);
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- return ret;
- }
- }
-
- private Vector2 screenCenterPoint {
- set {
- NDalicPINVOKE.PinchGesture_screenCenterPoint_set(swigCPtr, Vector2.getCPtr(value));
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- }
- get {
- global::System.IntPtr cPtr = NDalicPINVOKE.PinchGesture_screenCenterPoint_get(swigCPtr);
- Vector2 ret = (cPtr == global::System.IntPtr.Zero) ? null : new Vector2(cPtr, false);
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- return ret;
- }
- }
-
- private Vector2 localCenterPoint {
- set {
- NDalicPINVOKE.PinchGesture_localCenterPoint_set(swigCPtr, Vector2.getCPtr(value));
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- }
- get {
- global::System.IntPtr cPtr = NDalicPINVOKE.PinchGesture_localCenterPoint_get(swigCPtr);
- Vector2 ret = (cPtr == global::System.IntPtr.Zero) ? null : new Vector2(cPtr, false);
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- return ret;
- }
- }
-
-}
-
-}
+//------------------------------------------------------------------------------\r
+// <auto-generated />\r
+//\r
+// This file was automatically generated by SWIG (http://www.swig.org).\r
+// Version 3.0.9\r
+//\r
+// Do not make changes to this file unless you know what you are doing--modify\r
+// the SWIG interface file instead.\r
+//------------------------------------------------------------------------------\r
+\r
+namespace Tizen.NUI\r
+{\r
+\r
+ public class PinchGesture : Gesture\r
+ {\r
+ private global::System.Runtime.InteropServices.HandleRef swigCPtr;\r
+\r
+ internal PinchGesture(global::System.IntPtr cPtr, bool cMemoryOwn) : base(NDalicPINVOKE.PinchGesture_SWIGUpcast(cPtr), cMemoryOwn)\r
+ {\r
+ swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);\r
+ }\r
+\r
+ internal static global::System.Runtime.InteropServices.HandleRef getCPtr(PinchGesture obj)\r
+ {\r
+ return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;\r
+ }\r
+\r
+ ~PinchGesture()\r
+ {\r
+ DisposeQueue.Instance.Add(this);\r
+ }\r
+\r
+ public override void Dispose()\r
+ {\r
+ if (!Stage.IsInstalled())\r
+ {\r
+ DisposeQueue.Instance.Add(this);\r
+ return;\r
+ }\r
+\r
+ lock (this)\r
+ {\r
+ if (swigCPtr.Handle != global::System.IntPtr.Zero)\r
+ {\r
+ if (swigCMemOwn)\r
+ {\r
+ swigCMemOwn = false;\r
+ NDalicPINVOKE.delete_PinchGesture(swigCPtr);\r
+ }\r
+ swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);\r
+ }\r
+ global::System.GC.SuppressFinalize(this);\r
+ base.Dispose();\r
+ }\r
+ }\r
+\r
+\r
+ public static PinchGesture GetPinchGestureFromPtr(global::System.IntPtr cPtr)\r
+ {\r
+ PinchGesture ret = new PinchGesture(cPtr, false);\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ return ret;\r
+ }\r
+\r
+ public float Scale\r
+ {\r
+ get\r
+ {\r
+ return scale;\r
+ }\r
+ }\r
+\r
+ public float Speed\r
+ {\r
+ get\r
+ {\r
+ return speed;\r
+ }\r
+ }\r
+\r
+ public Vector2 ScreenCenterPoint\r
+ {\r
+ get\r
+ {\r
+ return screenCenterPoint;\r
+ }\r
+ }\r
+\r
+ public Vector2 LocalCenterPoint\r
+ {\r
+ get\r
+ {\r
+ return localCenterPoint;\r
+ }\r
+ }\r
+\r
+ public PinchGesture(Gesture.StateType state) : this(NDalicPINVOKE.new_PinchGesture__SWIG_0((int)state), true)\r
+ {\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ }\r
+\r
+ public PinchGesture(PinchGesture rhs) : this(NDalicPINVOKE.new_PinchGesture__SWIG_1(PinchGesture.getCPtr(rhs)), true)\r
+ {\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ }\r
+\r
+ public PinchGesture Assign(PinchGesture rhs)\r
+ {\r
+ PinchGesture ret = new PinchGesture(NDalicPINVOKE.PinchGesture_Assign(swigCPtr, PinchGesture.getCPtr(rhs)), false);\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ return ret;\r
+ }\r
+\r
+ private float scale\r
+ {\r
+ set\r
+ {\r
+ NDalicPINVOKE.PinchGesture_scale_set(swigCPtr, value);\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ }\r
+ get\r
+ {\r
+ float ret = NDalicPINVOKE.PinchGesture_scale_get(swigCPtr);\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ return ret;\r
+ }\r
+ }\r
+\r
+ private float speed\r
+ {\r
+ set\r
+ {\r
+ NDalicPINVOKE.PinchGesture_speed_set(swigCPtr, value);\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ }\r
+ get\r
+ {\r
+ float ret = NDalicPINVOKE.PinchGesture_speed_get(swigCPtr);\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ return ret;\r
+ }\r
+ }\r
+\r
+ private Vector2 screenCenterPoint\r
+ {\r
+ set\r
+ {\r
+ NDalicPINVOKE.PinchGesture_screenCenterPoint_set(swigCPtr, Vector2.getCPtr(value));\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ }\r
+ get\r
+ {\r
+ global::System.IntPtr cPtr = NDalicPINVOKE.PinchGesture_screenCenterPoint_get(swigCPtr);\r
+ Vector2 ret = (cPtr == global::System.IntPtr.Zero) ? null : new Vector2(cPtr, false);\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ return ret;\r
+ }\r
+ }\r
+\r
+ private Vector2 localCenterPoint\r
+ {\r
+ set\r
+ {\r
+ NDalicPINVOKE.PinchGesture_localCenterPoint_set(swigCPtr, Vector2.getCPtr(value));\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ }\r
+ get\r
+ {\r
+ global::System.IntPtr cPtr = NDalicPINVOKE.PinchGesture_localCenterPoint_get(swigCPtr);\r
+ Vector2 ret = (cPtr == global::System.IntPtr.Zero) ? null : new Vector2(cPtr, false);\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ return ret;\r
+ }\r
+ }\r
+\r
+ }\r
+\r
+}\r
-// Copyright (c) 2016 Samsung Electronics Co., Ltd All Rights Reserved\r
-// PROPRIETARY/CONFIDENTIAL \r
-// This software is the confidential and proprietary\r
-// information of SAMSUNG ELECTRONICS ("Confidential Information"). You shall\r
-// not disclose such Confidential Information and shall use it only in\r
-// accordance with the terms of the license agreement you entered into with\r
-// SAMSUNG ELECTRONICS. SAMSUNG make no representations or warranties about the\r
-// suitability of the software, either express or implied, including but not\r
-// limited to the implied warranties of merchantability, fitness for a\r
-// particular purpose, or non-infringement. SAMSUNG shall not be liable for any\r
-// damages suffered by licensee as a result of using, modifying or distributing\r
-// this software or its derivatives.\r
-\r
-// Copyright (c) 2017 Samsung Electronics Co., Ltd.\r
-//\r
-// Licensed under the Apache License, Version 2.0 (the "License");\r
-// you may not use this file except in compliance with the License.\r
-// You may obtain a copy of the License at\r
-//\r
-// http://www.apache.org/licenses/LICENSE-2.0\r
+/** Copyright (c) 2017 Samsung Electronics Co., Ltd.\r
+*\r
+* Licensed under the Apache License, Version 2.0 (the "License");\r
+* you may not use this file except in compliance with the License.\r
+* You may obtain a copy of the License at\r
+*\r
+* http://www.apache.org/licenses/LICENSE-2.0\r
+*\r
+* Unless required by applicable law or agreed to in writing, software\r
+* distributed under the License is distributed on an "AS IS" BASIS,\r
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
+* See the License for the specific language governing permissions and\r
+* limitations under the License.\r
+*\r
+*/\r
+// This File has been auto-generated by SWIG and then modified using DALi Ruby Scripts\r
+//------------------------------------------------------------------------------\r
+// <auto-generated />\r
//\r
-// Unless required by applicable law or agreed to in writing, software\r
-// distributed under the License is distributed on an "AS IS" BASIS,\r
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
-// See the License for the specific language governing permissions and\r
-// limitations under the License.\r
+// This file was automatically generated by SWIG (http://www.swig.org).\r
+// Version 3.0.9\r
//\r
-\r
-// This File has been auto-generated by SWIG and then modified using DALi Ruby Scripts\r
-// Some have been manually changed\r
-\r
+// Do not make changes to this file unless you know what you are doing--modify\r
+// the SWIG interface file instead.\r
+//------------------------------------------------------------------------------\r
\r
namespace Tizen.NUI\r
{\r
}\r
\r
[UnmanagedFunctionPointer(CallingConvention.StdCall)]\r
- private delegate void OutsideTouchedEventCallback();\r
- private OutsideTouchedEventCallback _popUpOutsideTouchedEventCallback;\r
+ private delegate void OutsideTouchedEventCallbackDelegate();\r
private EventHandler<OutsideTouchedEventArgs> _popUpOutsideTouchedEventHandler;\r
+ private OutsideTouchedEventCallbackDelegate _popUpOutsideTouchedEventCallbackDelegate;\r
\r
[UnmanagedFunctionPointer(CallingConvention.StdCall)]\r
- private delegate void ShowingEventCallback();\r
- private ShowingEventCallback _popUpShowingEventCallback;\r
+ private delegate void ShowingEventCallbackDelegate();\r
private EventHandler<ShowingEventArgs> _popUpShowingEventHandler;\r
+ private ShowingEventCallbackDelegate _popUpShowingEventCallbackDelegate;\r
\r
[UnmanagedFunctionPointer(CallingConvention.StdCall)]\r
- private delegate void ShownEventCallback();\r
- private ShownEventCallback _popUpShownEventCallback;\r
+ private delegate void ShownEventCallbackDelegate();\r
private EventHandler<ShownEventArgs> _popUpShownEventHandler;\r
+ private ShownEventCallbackDelegate _popUpShownEventCallbackDelegate;\r
\r
[UnmanagedFunctionPointer(CallingConvention.StdCall)]\r
- private delegate void HidingEventCallback();\r
- private HidingEventCallback _popUpHidingEventCallback;\r
+ private delegate void HidingEventCallbackDelegate();\r
private EventHandler<HidingEventArgs> _popUpHidingEventHandler;\r
+ private HidingEventCallbackDelegate _popUpHidingEventCallbackDelegate;\r
\r
[UnmanagedFunctionPointer(CallingConvention.StdCall)]\r
- private delegate void HiddenEventCallback();\r
- private HiddenEventCallback _popUpHiddenEventCallback;\r
+ private delegate void HiddenEventCallbackDelegate();\r
private EventHandler<HiddenEventArgs> _popUpHiddenEventHandler;\r
+ private HiddenEventCallbackDelegate _popUpHiddenEventCallbackDelegate;\r
\r
public event EventHandler<OutsideTouchedEventArgs> OutsideTouched\r
{\r
add\r
{\r
- if (_popUpOutsideTouchedEventCallback == null)\r
+ if (_popUpOutsideTouchedEventHandler == null)\r
{\r
- _popUpOutsideTouchedEventCallback = OnOutsideTouched;\r
- OutsideTouchedSignal().Connect(_popUpOutsideTouchedEventCallback);\r
+ _popUpOutsideTouchedEventCallbackDelegate = (OnOutsideTouched);\r
+ OutsideTouchedSignal().Connect(_popUpOutsideTouchedEventCallbackDelegate);\r
}\r
_popUpOutsideTouchedEventHandler += value;\r
}\r
remove\r
{\r
_popUpOutsideTouchedEventHandler -= value;\r
-\r
- if (_popUpOutsideTouchedEventCallback == null && _popUpOutsideTouchedEventCallback != null)\r
+ if (_popUpOutsideTouchedEventHandler == null && _popUpOutsideTouchedEventCallbackDelegate != null)\r
{\r
- OutsideTouchedSignal().Disconnect(_popUpOutsideTouchedEventCallback);\r
+ this.OutsideTouchedSignal().Disconnect(_popUpOutsideTouchedEventCallbackDelegate);\r
}\r
}\r
}\r
\r
+ // Callback for Popup OutsideTouchedSignal\r
private void OnOutsideTouched()\r
{\r
OutsideTouchedEventArgs e = new OutsideTouchedEventArgs();\r
\r
if (_popUpOutsideTouchedEventHandler != null)\r
{\r
+ //here we send all data to user event handlers\r
_popUpOutsideTouchedEventHandler(this, e);\r
}\r
}\r
{\r
add\r
{\r
- if (_popUpShowingEventCallback == null)\r
+ if (_popUpShowingEventHandler == null)\r
{\r
- _popUpShowingEventCallback = OnShowing;\r
- ShowingSignal().Connect(_popUpShowingEventCallback);\r
+ _popUpShowingEventCallbackDelegate = (OnShowing);\r
+ ShowingSignal().Connect(_popUpShowingEventCallbackDelegate);\r
}\r
_popUpShowingEventHandler += value;\r
}\r
-\r
remove\r
{\r
_popUpShowingEventHandler -= value;\r
-\r
- if (_popUpShowingEventCallback == null && _popUpShowingEventCallback != null)\r
+ if (_popUpShowingEventHandler == null && _popUpShowingEventCallbackDelegate != null)\r
{\r
- ShowingSignal().Disconnect(_popUpShowingEventCallback);\r
+ ShowingSignal().Disconnect(_popUpShowingEventCallbackDelegate);\r
}\r
}\r
}\r
\r
+ // Callback for ShowingSignal\r
private void OnShowing()\r
{\r
ShowingEventArgs e = new ShowingEventArgs();\r
\r
if (_popUpShowingEventHandler != null)\r
{\r
+ //here we send all data to user event handlers\r
_popUpShowingEventHandler(this, e);\r
}\r
}\r
{\r
add\r
{\r
- if (_popUpShownEventCallback != null)\r
+ if (_popUpShownEventHandler == null)\r
{\r
- _popUpShownEventCallback = OnShown;\r
- ShownSignal().Connect(_popUpShownEventCallback);\r
+ _popUpShownEventCallbackDelegate = (OnShown);\r
+ ShownSignal().Connect(_popUpShownEventCallbackDelegate);\r
}\r
_popUpShownEventHandler += value;\r
}\r
-\r
remove\r
{\r
_popUpShownEventHandler -= value;\r
-\r
- if (_popUpShownEventCallback == null && _popUpShownEventCallback != null)\r
+ if (_popUpShownEventHandler == null && _popUpShownEventCallbackDelegate != null)\r
{\r
- ShownSignal().Disconnect(_popUpShownEventCallback);\r
+ ShownSignal().Disconnect(_popUpShownEventCallbackDelegate);\r
}\r
}\r
}\r
\r
+ // Callback for ShownSignal\r
private void OnShown()\r
{\r
ShownEventArgs e = new ShownEventArgs();\r
\r
if (_popUpShownEventHandler != null)\r
{\r
+ //here we send all data to user event handlers\r
_popUpShownEventHandler(this, e);\r
}\r
}\r
{\r
add\r
{\r
- if (_popUpHidingEventCallback == null)\r
+ if (_popUpHidingEventHandler == null)\r
{\r
- _popUpHidingEventCallback = OnHiding;\r
- HidingSignal().Connect(_popUpHidingEventCallback);\r
+ _popUpHidingEventCallbackDelegate = (OnHiding);\r
+ HidingSignal().Connect(_popUpHidingEventCallbackDelegate);\r
}\r
_popUpHidingEventHandler += value;\r
}\r
-\r
remove\r
{\r
_popUpHidingEventHandler -= value;\r
-\r
- if (_popUpHidingEventCallback == null && _popUpHidingEventCallback != null)\r
+ if (_popUpHidingEventHandler == null && _popUpHidingEventCallbackDelegate != null)\r
{\r
- HidingSignal().Disconnect(_popUpHidingEventCallback);\r
+ HidingSignal().Disconnect(_popUpHidingEventCallbackDelegate);\r
}\r
}\r
}\r
\r
+ // Callback for HidingSignal\r
private void OnHiding()\r
{\r
HidingEventArgs e = new HidingEventArgs();\r
\r
if (_popUpHidingEventHandler != null)\r
{\r
+ //here we send all data to user event handlers\r
_popUpHidingEventHandler(this, e);\r
}\r
}\r
{\r
add\r
{\r
- if (_popUpHiddenEventCallback == null)\r
+ if (_popUpHiddenEventHandler == null)\r
{\r
- _popUpHiddenEventCallback = OnHidden;\r
- HiddenSignal().Connect(_popUpHiddenEventCallback);\r
+ _popUpHiddenEventCallbackDelegate = (OnHidden);\r
+ HiddenSignal().Connect(_popUpHiddenEventCallbackDelegate);\r
}\r
_popUpHiddenEventHandler += value;\r
}\r
remove\r
{\r
_popUpHiddenEventHandler -= value;\r
-\r
- if (_popUpHiddenEventCallback == null && _popUpHiddenEventCallback != null)\r
+ if (_popUpHiddenEventHandler == null && _popUpHiddenEventCallbackDelegate != null)\r
{\r
- HiddenSignal().Disconnect(_popUpHiddenEventCallback);\r
+ HiddenSignal().Disconnect(_popUpHiddenEventCallbackDelegate);\r
}\r
}\r
}\r
\r
+ // Callback for HiddenSignal\r
private void OnHidden()\r
{\r
HiddenEventArgs e = new HiddenEventArgs();\r
\r
if (_popUpHiddenEventHandler != null)\r
{\r
+ //here we send all data to user event handlers\r
_popUpHiddenEventHandler(this, e);\r
}\r
}\r
-// Copyright (c) 2016 Samsung Electronics Co., Ltd All Rights Reserved
-// PROPRIETARY/CONFIDENTIAL
-// This software is the confidential and proprietary
-// information of SAMSUNG ELECTRONICS ("Confidential Information"). You shall
-// not disclose such Confidential Information and shall use it only in
-// accordance with the terms of the license agreement you entered into with
-// SAMSUNG ELECTRONICS. SAMSUNG make no representations or warranties about the
-// suitability of the software, either express or implied, including but not
-// limited to the implied warranties of merchantability, fitness for a
-// particular purpose, or non-infringement. SAMSUNG shall not be liable for any
-// damages suffered by licensee as a result of using, modifying or distributing
-// this software or its derivatives.
-
-// 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.
-//
-
-// This File has been auto-generated by SWIG and then modified using DALi Ruby Scripts
-// Some have been manually changed
-
-
-namespace Tizen.NUI
-{
-
- public class Position : global::System.IDisposable
- {
- private global::System.Runtime.InteropServices.HandleRef swigCPtr;
- protected bool swigCMemOwn;
-
- internal Position(global::System.IntPtr cPtr, bool cMemoryOwn)
- {
- swigCMemOwn = cMemoryOwn;
- swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
- }
-
- internal static global::System.Runtime.InteropServices.HandleRef getCPtr(Position obj)
- {
- return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
- }
-
- ~Position()
- {
- DisposeQueue.Instance.Add(this);
- }
-
- public virtual void Dispose()
- {
- if (!Stage.IsInstalled())
- {
- DisposeQueue.Instance.Add(this);
- return;
- }
-
- lock (this)
- {
- if (swigCPtr.Handle != global::System.IntPtr.Zero)
- {
- if (swigCMemOwn)
- {
- swigCMemOwn = false;
- NDalicPINVOKE.delete_Vector3(swigCPtr);
- }
- swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
- }
- global::System.GC.SuppressFinalize(this);
- }
- }
-
- internal static Position GetVector3FromPtr(global::System.IntPtr cPtr)
- {
- Position ret = new Position(cPtr, false);
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- return ret;
- }
-
- public Position() : this(NDalicPINVOKE.new_Vector3__SWIG_0(), true)
- {
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- }
-
- public Position(float x, float y, float z) : this(NDalicPINVOKE.new_Vector3__SWIG_1(x, y, z), true)
- {
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- }
-
- public float X
- {
- set
- {
- NDalicPINVOKE.Vector3_X_set(swigCPtr, value);
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- }
- get
- {
- float ret = NDalicPINVOKE.Vector3_X_get(swigCPtr);
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- return ret;
- }
- }
-
- public float Y
- {
- set
- {
- NDalicPINVOKE.Vector3_Y_set(swigCPtr, value);
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- }
- get
- {
- float ret = NDalicPINVOKE.Vector3_Y_get(swigCPtr);
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- return ret;
- }
- }
-
- public float Z
- {
- set
- {
- NDalicPINVOKE.Vector3_Z_set(swigCPtr, value);
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- }
- get
- {
- float ret = NDalicPINVOKE.Vector3_Z_get(swigCPtr);
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- return ret;
- }
- }
-
- public static float ParentOriginTop
- {
- get
- {
- float ret = NDalicPINVOKE.ParentOriginTop_get();
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- return ret;
- }
- }
+/*
+ * 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.
+ *
+ */
+
+namespace Tizen.NUI {
+
+public class Position : global::System.IDisposable {
+ private global::System.Runtime.InteropServices.HandleRef swigCPtr;
+ protected bool swigCMemOwn;
+
+ internal Position(global::System.IntPtr cPtr, bool cMemoryOwn) {
+ swigCMemOwn = cMemoryOwn;
+ swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
+ }
+
+ internal static global::System.Runtime.InteropServices.HandleRef getCPtr(Position obj) {
+ return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
+ }
+
+ ~Position() {
+ DisposeQueue.Instance.Add(this);
+ }
+
+ public virtual void Dispose() {
+ if (!Stage.IsInstalled()) {
+ DisposeQueue.Instance.Add(this);
+ return;
+ }
- public static float ParentOriginBottom
- {
- get
- {
- float ret = NDalicPINVOKE.ParentOriginBottom_get();
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- return ret;
- }
+ lock(this) {
+ if (swigCPtr.Handle != global::System.IntPtr.Zero) {
+ if (swigCMemOwn) {
+ swigCMemOwn = false;
+ NDalicPINVOKE.delete_Vector3(swigCPtr);
}
+ swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
+ }
+ global::System.GC.SuppressFinalize(this);
+ }
+ }
- public static float ParentOriginLeft
- {
- get
- {
- float ret = NDalicPINVOKE.ParentOriginLeft_get();
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- return ret;
- }
- }
- public static float ParentOriginRight
- {
- get
- {
- float ret = NDalicPINVOKE.ParentOriginRight_get();
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- return ret;
- }
- }
+ public static Position operator+(Position arg1, Position arg2) {
+ return arg1.Add(arg2);
+ }
- public static float ParentOriginMiddle
- {
- get
- {
- float ret = NDalicPINVOKE.ParentOriginMiddle_get();
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- return ret;
- }
- }
+ public static Position operator-(Position arg1, Position arg2) {
+ return arg1.Subtract(arg2);
+ }
- public static Position ParentOriginTopLeft
- {
- get
- {
- global::System.IntPtr cPtr = NDalicPINVOKE.ParentOriginTopLeft_get();
- Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- return ret;
- }
- }
+ public static Position operator-(Position arg1) {
+ return arg1.Subtract();
+ }
- public static Position ParentOriginTopCenter
- {
- get
- {
- global::System.IntPtr cPtr = NDalicPINVOKE.ParentOriginTopCenter_get();
- Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- return ret;
- }
- }
+ public static Position operator*(Position arg1, Position arg2) {
+ return arg1.Multiply(arg2);
+ }
- public static Position ParentOriginTopRight
- {
- get
- {
- global::System.IntPtr cPtr = NDalicPINVOKE.ParentOriginTopRight_get();
- Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- return ret;
- }
- }
+ public static Position operator*(Position arg1, float arg2) {
+ return arg1.Multiply(arg2);
+ }
- public static Position ParentOriginCenterLeft
- {
- get
- {
- global::System.IntPtr cPtr = NDalicPINVOKE.ParentOriginCenterLeft_get();
- Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- return ret;
- }
- }
+ public static Position operator/(Position arg1, Position arg2) {
+ return arg1.Divide(arg2);
+ }
- public static Position ParentOriginCenter
- {
- get
- {
- global::System.IntPtr cPtr = NDalicPINVOKE.ParentOriginCenter_get();
- Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- return ret;
- }
- }
+ public static Position operator/(Position arg1, float arg2) {
+ return arg1.Divide(arg2);
+ }
- public static Position ParentOriginCenterRight
- {
- get
- {
- global::System.IntPtr cPtr = NDalicPINVOKE.ParentOriginCenterRight_get();
- Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- return ret;
- }
- }
- public static Position ParentOriginBottomLeft
- {
- get
- {
- global::System.IntPtr cPtr = NDalicPINVOKE.ParentOriginBottomLeft_get();
- Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- return ret;
- }
- }
-
- public static Position ParentOriginBottomCenter
- {
- get
- {
- global::System.IntPtr cPtr = NDalicPINVOKE.ParentOriginBottomCenter_get();
- Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- return ret;
- }
- }
-
- public static Position ParentOriginBottomRight
- {
- get
- {
- global::System.IntPtr cPtr = NDalicPINVOKE.ParentOriginBottomRight_get();
- Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- return ret;
- }
- }
-
- public static float AnchorPointTop
- {
- get
- {
- float ret = NDalicPINVOKE.AnchorPointTop_get();
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- return ret;
- }
- }
-
- public static float AnchorPointBottom
- {
- get
- {
- float ret = NDalicPINVOKE.AnchorPointBottom_get();
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- return ret;
- }
- }
-
- public static float AnchorPointLeft
- {
- get
- {
- float ret = NDalicPINVOKE.AnchorPointLeft_get();
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- return ret;
- }
- }
-
- public static float AnchorPointRight
- {
- get
- {
- float ret = NDalicPINVOKE.AnchorPointRight_get();
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- return ret;
- }
- }
-
- public static float AnchorPointMiddle
- {
- get
- {
- float ret = NDalicPINVOKE.AnchorPointMiddle_get();
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- return ret;
- }
- }
-
- public static Position AnchorPointTopLeft
- {
- get
- {
- global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointTopLeft_get();
- Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- return ret;
- }
- }
+ public float this[uint index]
+ {
+ get
+ {
+ return ValueOfIndex(index);
+ }
+ }
+
+ public static Position GetPositionFromPtr(global::System.IntPtr cPtr) {
+ Position ret = new Position(cPtr, false);
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ return ret;
+ }
+
+
+ public Position() : this(NDalicPINVOKE.new_Vector3__SWIG_0(), true) {
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ }
+
+ public Position(float x, float y, float z) : this(NDalicPINVOKE.new_Vector3__SWIG_1(x, y, z), true) {
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ }
+
+ public Position(Position2D position2d) : this(NDalicPINVOKE.new_Vector3__SWIG_3(Position2D.getCPtr(position2d)), true) {
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ }
+
+
+
+ private Position Add(Position rhs) {
+ Position ret = new Position(NDalicPINVOKE.Vector3_Add(swigCPtr, Position.getCPtr(rhs)), true);
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ return ret;
+ }
+
+ private Position Subtract(Position rhs) {
+ Position ret = new Position(NDalicPINVOKE.Vector3_Subtract__SWIG_0(swigCPtr, Position.getCPtr(rhs)), true);
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ return ret;
+ }
+
+ private Position Multiply(Position rhs) {
+ Position ret = new Position(NDalicPINVOKE.Vector3_Multiply__SWIG_0(swigCPtr, Position.getCPtr(rhs)), true);
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ return ret;
+ }
+
+ private Position Multiply(float rhs) {
+ Position ret = new Position(NDalicPINVOKE.Vector3_Multiply__SWIG_1(swigCPtr, rhs), true);
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ return ret;
+ }
+
+ private Position Divide(Position rhs) {
+ Position ret = new Position(NDalicPINVOKE.Vector3_Divide__SWIG_0(swigCPtr, Position.getCPtr(rhs)), true);
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ return ret;
+ }
+
+ private Position Divide(float rhs) {
+ Position ret = new Position(NDalicPINVOKE.Vector3_Divide__SWIG_1(swigCPtr, rhs), true);
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ return ret;
+ }
+
+ private Position Subtract() {
+ Position ret = new Position(NDalicPINVOKE.Vector3_Subtract__SWIG_1(swigCPtr), true);
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ return ret;
+ }
+
+ private float ValueOfIndex(uint index) {
+ float ret = NDalicPINVOKE.Vector3_ValueOfIndex__SWIG_0(swigCPtr, index);
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ return ret;
+ }
+
+ public bool EqualTo(Position rhs) {
+ bool ret = NDalicPINVOKE.Vector3_EqualTo(swigCPtr, Position.getCPtr(rhs));
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ return ret;
+ }
+
+ public bool NotEqualTo(Position rhs) {
+ bool ret = NDalicPINVOKE.Vector3_NotEqualTo(swigCPtr, Position.getCPtr(rhs));
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ return ret;
+ }
+
+
+ public float X {
+ set {
+ NDalicPINVOKE.Vector3_X_set(swigCPtr, value);
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ }
+ get {
+ float ret = NDalicPINVOKE.Vector3_X_get(swigCPtr);
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ return ret;
+ }
+ }
- public static Position AnchorPointTopCenter
- {
- get
- {
- global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointTopCenter_get();
- Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- return ret;
- }
- }
+ public float Y {
+ set {
+ NDalicPINVOKE.Vector3_Y_set(swigCPtr, value);
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ }
+ get {
+ float ret = NDalicPINVOKE.Vector3_Y_get(swigCPtr);
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ return ret;
+ }
+ }
- public static Position AnchorPointTopRight
- {
- get
- {
- global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointTopRight_get();
- Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- return ret;
- }
- }
+ public float Z {
+ set {
+ NDalicPINVOKE.Vector3_Z_set(swigCPtr, value);
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ }
+ get {
+ float ret = NDalicPINVOKE.Vector3_Z_get(swigCPtr);
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ return ret;
+ }
+ }
- public static Position AnchorPointCenterLeft
+ public static float ParentOriginTop
{
get
{
- global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointCenterLeft_get();
- Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
+ float ret = NDalicPINVOKE.ParentOriginTop_get();
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
}
- public static Position AnchorPointCenter
- {
- get
- {
- global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointCenter_get();
- Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- return ret;
- }
- }
+ public static float ParentOriginBottom
+ {
+ get
+ {
+ float ret = NDalicPINVOKE.ParentOriginBottom_get();
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ return ret;
+ }
+ }
+
+ public static float ParentOriginLeft
+ {
+ get
+ {
+ float ret = NDalicPINVOKE.ParentOriginLeft_get();
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ return ret;
+ }
+ }
+
+ public static float ParentOriginRight
+ {
+ get
+ {
+ float ret = NDalicPINVOKE.ParentOriginRight_get();
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ return ret;
+ }
+ }
+
+ public static float ParentOriginMiddle
+ {
+ get
+ {
+ float ret = NDalicPINVOKE.ParentOriginMiddle_get();
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ return ret;
+ }
+ }
+
+ public static Position ParentOriginTopLeft
+ {
+ get
+ {
+ global::System.IntPtr cPtr = NDalicPINVOKE.ParentOriginTopLeft_get();
+ Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ return ret;
+ }
+ }
+
+ public static Position ParentOriginTopCenter
+ {
+ get
+ {
+ global::System.IntPtr cPtr = NDalicPINVOKE.ParentOriginTopCenter_get();
+ Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ return ret;
+ }
+ }
+
+ public static Position ParentOriginTopRight
+ {
+ get
+ {
+ global::System.IntPtr cPtr = NDalicPINVOKE.ParentOriginTopRight_get();
+ Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ return ret;
+ }
+ }
+
+ public static Position ParentOriginCenterLeft
+ {
+ get
+ {
+ global::System.IntPtr cPtr = NDalicPINVOKE.ParentOriginCenterLeft_get();
+ Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ return ret;
+ }
+ }
+
+ public static Position ParentOriginCenter
+ {
+ get
+ {
+ global::System.IntPtr cPtr = NDalicPINVOKE.ParentOriginCenter_get();
+ Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ return ret;
+ }
+ }
+
+ public static Position ParentOriginCenterRight
+ {
+ get
+ {
+ global::System.IntPtr cPtr = NDalicPINVOKE.ParentOriginCenterRight_get();
+ Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ return ret;
+ }
+ }
+
+ public static Position ParentOriginBottomLeft
+ {
+ get
+ {
+ global::System.IntPtr cPtr = NDalicPINVOKE.ParentOriginBottomLeft_get();
+ Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ return ret;
+ }
+ }
+
+ public static Position ParentOriginBottomCenter
+ {
+ get
+ {
+ global::System.IntPtr cPtr = NDalicPINVOKE.ParentOriginBottomCenter_get();
+ Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ return ret;
+ }
+ }
+
+ public static Position ParentOriginBottomRight
+ {
+ get
+ {
+ global::System.IntPtr cPtr = NDalicPINVOKE.ParentOriginBottomRight_get();
+ Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ return ret;
+ }
+ }
+
+ public static float AnchorPointTop
+ {
+ get
+ {
+ float ret = NDalicPINVOKE.AnchorPointTop_get();
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ return ret;
+ }
+ }
+
+ public static float AnchorPointBottom
+ {
+ get
+ {
+ float ret = NDalicPINVOKE.AnchorPointBottom_get();
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ return ret;
+ }
+ }
+
+ public static float AnchorPointLeft
+ {
+ get
+ {
+ float ret = NDalicPINVOKE.AnchorPointLeft_get();
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ return ret;
+ }
+ }
+
+ public static float AnchorPointRight
+ {
+ get
+ {
+ float ret = NDalicPINVOKE.AnchorPointRight_get();
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ return ret;
+ }
+ }
+
+ public static float AnchorPointMiddle
+ {
+ get
+ {
+ float ret = NDalicPINVOKE.AnchorPointMiddle_get();
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ return ret;
+ }
+ }
+
+ public static Position AnchorPointTopLeft
+ {
+ get
+ {
+ global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointTopLeft_get();
+ Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ return ret;
+ }
+ }
+
+ public static Position AnchorPointTopCenter
+ {
+ get
+ {
+ global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointTopCenter_get();
+ Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ return ret;
+ }
+ }
+
+ public static Position AnchorPointTopRight
+ {
+ get
+ {
+ global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointTopRight_get();
+ Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ return ret;
+ }
+ }
+
+ public static Position AnchorPointCenterLeft
+ {
+ get
+ {
+ global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointCenterLeft_get();
+ Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ return ret;
+ }
+ }
+
+ public static Position AnchorPointCenter
+ {
+ get
+ {
+ global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointCenter_get();
+ Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ return ret;
+ }
+ }
+
+ public static Position AnchorPointCenterRight
+ {
+ get
+ {
+ global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointCenterRight_get();
+ Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ return ret;
+ }
+ }
+
+ public static Position AnchorPointBottomLeft
+ {
+ get
+ {
+ global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointBottomLeft_get();
+ Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ return ret;
+ }
+ }
+
+ public static Position AnchorPointBottomCenter
+ {
+ get
+ {
+ global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointBottomCenter_get();
+ Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ return ret;
+ }
+ }
+
+ public static Position AnchorPointBottomRight
+ {
+ get
+ {
+ global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointBottomRight_get();
+ Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ return ret;
+ }
+ }
+
+ public static Position One {
+ get {
+ global::System.IntPtr cPtr = NDalicPINVOKE.Vector3_ONE_get();
+ Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ return ret;
+ }
+ }
+
+ internal static Position XAxis {
+ get {
+ global::System.IntPtr cPtr = NDalicPINVOKE.Vector3_XAXIS_get();
+ Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ return ret;
+ }
+ }
+
+ internal static Position YAxis {
+ get {
+ global::System.IntPtr cPtr = NDalicPINVOKE.Vector3_YAXIS_get();
+ Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ return ret;
+ }
+ }
+
+ internal static Position ZAxis {
+ get {
+ global::System.IntPtr cPtr = NDalicPINVOKE.Vector3_ZAXIS_get();
+ Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ return ret;
+ }
+ }
+
+ internal static Position NegativeXAxis {
+ get {
+ global::System.IntPtr cPtr = NDalicPINVOKE.Vector3_NEGATIVE_XAXIS_get();
+ Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ return ret;
+ }
+ }
+
+ internal static Position NegativeYAxis {
+ get {
+ global::System.IntPtr cPtr = NDalicPINVOKE.Vector3_NEGATIVE_YAXIS_get();
+ Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ return ret;
+ }
+ }
+
+ internal static Position NegativeZAxis {
+ get {
+ global::System.IntPtr cPtr = NDalicPINVOKE.Vector3_NEGATIVE_ZAXIS_get();
+ Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ return ret;
+ }
+ }
+
+ public static Position Zero {
+ get {
+ global::System.IntPtr cPtr = NDalicPINVOKE.Vector3_ZERO_get();
+ Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ return ret;
+ }
+ }
- public static Position AnchorPointCenterRight
- {
- get
- {
- global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointCenterRight_get();
- Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- return ret;
- }
- }
+ public static implicit operator Vector3(Position Position)
+ {
+ return new Vector3(Position.X, Position.Y, Position.Z);
+ }
- public static Position AnchorPointBottomLeft
- {
- get
- {
- global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointBottomLeft_get();
- Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- return ret;
- }
- }
+ public static implicit operator Position(Vector3 vec)
+ {
+ return new Position(vec.X, vec.Y, vec.Z);
+ }
- public static Position AnchorPointBottomCenter
- {
- get
- {
- global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointBottomCenter_get();
- Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- return ret;
- }
- }
+}
- public static Position AnchorPointBottomRight
- {
- get
- {
- global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointBottomRight_get();
- Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- return ret;
- }
- }
+ public struct ParentOrigin
+ {
+ public static readonly float Top = Position.ParentOriginTop;
+ public static readonly float Bottom = Position.ParentOriginBottom;
+ public static readonly float Left = Position.ParentOriginLeft;
+ public static readonly float Right = Position.ParentOriginRight;
+ public static readonly float Middle = Position.ParentOriginMiddle;
+ public static readonly Position TopLeft = Position.ParentOriginTopLeft;
+ public static readonly Position TopCenter = Position.ParentOriginTopCenter;
+ public static readonly Position TopRight = Position.ParentOriginTopRight;
+ public static readonly Position CenterLeft = Position.ParentOriginCenterLeft;
+ public static readonly Position Center = Position.ParentOriginCenter;
+ public static readonly Position CenterRight = Position.ParentOriginCenterRight;
+ public static readonly Position BottomLeft = Position.ParentOriginBottomLeft;
+ public static readonly Position BottomCenter = Position.ParentOriginBottomCenter;
+ public static readonly Position BottomRight = Position.ParentOriginBottomRight;
+ }
+ public struct AnchorPoint
+ {
+ public static readonly float Top = Position.AnchorPointTop;
+ public static readonly float Bottom = Position.AnchorPointBottom;
+ public static readonly float Left = Position.AnchorPointLeft;
+ public static readonly float Right = Position.AnchorPointRight;
+ public static readonly float Middle = Position.AnchorPointMiddle;
+ public static readonly Position TopLeft = Position.AnchorPointTopLeft;
+ public static readonly Position TopCenter = Position.AnchorPointTopCenter;
+ public static readonly Position TopRight = Position.AnchorPointTopRight;
+ public static readonly Position CenterLeft = Position.AnchorPointCenterLeft;
+ public static readonly Position Center = Position.AnchorPointCenter;
+ public static readonly Position CenterRight = Position.AnchorPointCenterRight;
+ public static readonly Position BottomLeft = Position.AnchorPointBottomLeft;
+ public static readonly Position BottomCenter = Position.AnchorPointBottomCenter;
+ public static readonly Position BottomRight = Position.AnchorPointBottomRight;
+ }
+ public struct PositionAxis
+ {
+ public static readonly Position X = Position.XAxis;
+ public static readonly Position Y = Position.YAxis;
+ public static readonly Position Z = Position.ZAxis;
+ public static readonly Position NegativeX = Position.NegativeXAxis;
+ public static readonly Position NegativeY = Position.NegativeYAxis;
+ public static readonly Position NegativeZ = Position.NegativeZAxis;
+ }
- }
+}
- public struct ParentOrigin
- {
- public static readonly float Top = Position.ParentOriginTop;
- public static readonly float Bottom = Position.ParentOriginBottom;
- public static readonly float Left = Position.ParentOriginLeft;
- public static readonly float Right = Position.ParentOriginRight;
- public static readonly float Middle = Position.ParentOriginMiddle;
- public static readonly Position TopLeft = Position.ParentOriginTopLeft;
- public static readonly Position TopCenter = Position.ParentOriginTopCenter;
- public static readonly Position TopRight = Position.ParentOriginTopRight;
- public static readonly Position CenterLeft = Position.ParentOriginCenterLeft;
- public static readonly Position Center = Position.ParentOriginCenter;
- public static readonly Position CenterRight = Position.ParentOriginCenterRight;
- public static readonly Position BottomLeft = Position.ParentOriginBottomLeft;
- public static readonly Position BottomCenter = Position.ParentOriginBottomCenter;
- public static readonly Position BottomRight = Position.ParentOriginBottomRight;
- }
- public struct AnchorPoint
- {
- public static readonly float Top = Position.AnchorPointTop;
- public static readonly float Bottom = Position.AnchorPointBottom;
- public static readonly float Left = Position.AnchorPointLeft;
- public static readonly float Right = Position.AnchorPointRight;
- public static readonly float Middle = Position.AnchorPointMiddle;
- public static readonly Position TopLeft = Position.AnchorPointTopLeft;
- public static readonly Position TopCenter = Position.AnchorPointTopCenter;
- public static readonly Position TopRight = Position.AnchorPointTopRight;
- public static readonly Position CenterLeft = Position.AnchorPointCenterLeft;
- public static readonly Position Center = Position.AnchorPointCenter;
- public static readonly Position CenterRight = Position.AnchorPointCenterRight;
- public static readonly Position BottomLeft = Position.AnchorPointBottomLeft;
- public static readonly Position BottomCenter = Position.AnchorPointBottomCenter;
- public static readonly Position BottomRight = Position.AnchorPointBottomRight;
- }
-}
-// Copyright (c) 2016 Samsung Electronics Co., Ltd All Rights Reserved\r
-// PROPRIETARY/CONFIDENTIAL \r
-// This software is the confidential and proprietary\r
-// information of SAMSUNG ELECTRONICS ("Confidential Information"). You shall\r
-// not disclose such Confidential Information and shall use it only in\r
-// accordance with the terms of the license agreement you entered into with\r
-// SAMSUNG ELECTRONICS. SAMSUNG make no representations or warranties about the\r
-// suitability of the software, either express or implied, including but not\r
-// limited to the implied warranties of merchantability, fitness for a\r
-// particular purpose, or non-infringement. SAMSUNG shall not be liable for any\r
-// damages suffered by licensee as a result of using, modifying or distributing\r
-// this software or its derivatives.\r
-\r
-// Copyright (c) 2017 Samsung Electronics Co., Ltd.\r
-//\r
-// Licensed under the Apache License, Version 2.0 (the "License");\r
-// you may not use this file except in compliance with the License.\r
-// You may obtain a copy of the License at\r
-//\r
-// http://www.apache.org/licenses/LICENSE-2.0\r
+/** Copyright (c) 2017 Samsung Electronics Co., Ltd.\r
+*\r
+* Licensed under the Apache License, Version 2.0 (the "License");\r
+* you may not use this file except in compliance with the License.\r
+* You may obtain a copy of the License at\r
+*\r
+* http://www.apache.org/licenses/LICENSE-2.0\r
+*\r
+* Unless required by applicable law or agreed to in writing, software\r
+* distributed under the License is distributed on an "AS IS" BASIS,\r
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
+* See the License for the specific language governing permissions and\r
+* limitations under the License.\r
+*\r
+*/\r
+// This File has been auto-generated by SWIG and then modified using DALi Ruby Scripts\r
+//------------------------------------------------------------------------------\r
+// <auto-generated />\r
//\r
-// Unless required by applicable law or agreed to in writing, software\r
-// distributed under the License is distributed on an "AS IS" BASIS,\r
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
-// See the License for the specific language governing permissions and\r
-// limitations under the License.\r
+// This file was automatically generated by SWIG (http://www.swig.org).\r
+// Version 3.0.9\r
//\r
-\r
-// This File has been auto-generated by SWIG and then modified using DALi Ruby Scripts\r
-// Some have been manually changed\r
-\r
+// Do not make changes to this file unless you know what you are doing--modify\r
+// the SWIG interface file instead.\r
+//------------------------------------------------------------------------------\r
\r
namespace Tizen.NUI\r
{\r
\r
+ using System;\r
+ using System.Runtime.InteropServices;\r
+\r
+\r
public class ProgressBar : View\r
{\r
private global::System.Runtime.InteropServices.HandleRef swigCPtr;\r
}\r
\r
\r
+\r
+ public class ValueChangedEventArgs : EventArgs\r
+ {\r
+ private ProgressBar _progressBar;\r
+ private float _progressValue;\r
+ private float _secondaryProgressValue;\r
+\r
+ public ProgressBar ProgressBar\r
+ {\r
+ get\r
+ {\r
+ return _progressBar;\r
+ }\r
+ set\r
+ {\r
+ _progressBar = value;\r
+ }\r
+ }\r
+\r
+ public float ProgressValue\r
+ {\r
+ get\r
+ {\r
+ return _progressValue;\r
+ }\r
+ set\r
+ {\r
+ _progressValue = value;\r
+ }\r
+ }\r
+\r
+ public float SecondaryProgressValue\r
+ {\r
+ get\r
+ {\r
+ return _secondaryProgressValue;\r
+ }\r
+ set\r
+ {\r
+ _secondaryProgressValue = value;\r
+ }\r
+ }\r
+\r
+ }\r
+\r
+ [UnmanagedFunctionPointer(CallingConvention.StdCall)]\r
+ private delegate void ValueChangedCallbackDelegate(IntPtr progressBar, float progressValue, float secondaryProgressValue);\r
+ private EventHandler<ValueChangedEventArgs> _progressBarValueChangedEventHandler;\r
+ private ValueChangedCallbackDelegate _progressBarValueChangedCallbackDelegate;\r
+\r
+ public event EventHandler<ValueChangedEventArgs> ValueChanged\r
+ {\r
+ add\r
+ {\r
+ if (_progressBarValueChangedEventHandler == null)\r
+ {\r
+ _progressBarValueChangedCallbackDelegate = (OnValueChanged);\r
+ ValueChangedSignal().Connect(_progressBarValueChangedCallbackDelegate);\r
+ }\r
+ _progressBarValueChangedEventHandler += value;\r
+ }\r
+ remove\r
+ {\r
+ _progressBarValueChangedEventHandler -= value;\r
+ if (_progressBarValueChangedEventHandler == null && _progressBarValueChangedCallbackDelegate != null)\r
+ {\r
+ ValueChangedSignal().Disconnect(_progressBarValueChangedCallbackDelegate);\r
+ }\r
+ }\r
+ }\r
+\r
+ // Callback for ProgressBar ValueChanged signal\r
+ private void OnValueChanged(IntPtr progressBar, float progressValue, float secondaryProgressValue)\r
+ {\r
+ ValueChangedEventArgs e = new ValueChangedEventArgs();\r
+\r
+ // Populate all members of "e" (ValueChangedEventArgs) with real page\r
+ e.ProgressBar = ProgressBar.GetProgressBarFromPtr(progressBar);\r
+ e.ProgressValue = progressValue;\r
+ e.SecondaryProgressValue = secondaryProgressValue;\r
+\r
+ if (_progressBarValueChangedEventHandler != null)\r
+ {\r
+ _progressBarValueChangedEventHandler(this, e);\r
+ }\r
+ }\r
+\r
+ public static ProgressBar GetProgressBarFromPtr(global::System.IntPtr cPtr)\r
+ {\r
+ ProgressBar ret = new ProgressBar(cPtr, false);\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ return ret;\r
+ }\r
+\r
+\r
internal class Property : global::System.IDisposable\r
{\r
private global::System.Runtime.InteropServices.HandleRef swigCPtr;\r
return ret;\r
}\r
\r
- internal SWIGTYPE_p_Dali__SignalT_void_fDali__Toolkit__ProgressBar_float_floatF_t ValueChangedSignal()\r
+ internal ProgressBarValueChangedSignal ValueChangedSignal()\r
{\r
- SWIGTYPE_p_Dali__SignalT_void_fDali__Toolkit__ProgressBar_float_floatF_t ret = new SWIGTYPE_p_Dali__SignalT_void_fDali__Toolkit__ProgressBar_float_floatF_t(NDalicPINVOKE.ProgressBar_ValueChangedSignal(swigCPtr), false);\r
+ ProgressBarValueChangedSignal ret = new ProgressBarValueChangedSignal(NDalicPINVOKE.ProgressBar_ValueChangedSignal(swigCPtr), false);\r
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
return ret;\r
}\r
-// Copyright (c) 2016 Samsung Electronics Co., Ltd All Rights Reserved\r
-// PROPRIETARY/CONFIDENTIAL \r
-// This software is the confidential and proprietary\r
-// information of SAMSUNG ELECTRONICS ("Confidential Information"). You shall\r
-// not disclose such Confidential Information and shall use it only in\r
-// accordance with the terms of the license agreement you entered into with\r
-// SAMSUNG ELECTRONICS. SAMSUNG make no representations or warranties about the\r
-// suitability of the software, either express or implied, including but not\r
-// limited to the implied warranties of merchantability, fitness for a\r
-// particular purpose, or non-infringement. SAMSUNG shall not be liable for any\r
-// damages suffered by licensee as a result of using, modifying or distributing\r
-// this software or its derivatives.\r
-\r
-// Copyright (c) 2017 Samsung Electronics Co., Ltd.\r
+//------------------------------------------------------------------------------\r
+// <auto-generated />\r
//\r
-// Licensed under the Apache License, Version 2.0 (the "License");\r
-// you may not use this file except in compliance with the License.\r
-// You may obtain a copy of the License at\r
+// This file was automatically generated by SWIG (http://www.swig.org).\r
+// Version 3.0.9\r
//\r
-// http://www.apache.org/licenses/LICENSE-2.0\r
-//
-// Unless required by applicable law or agreed to in writing, software\r
-// distributed under the License is distributed on an "AS IS" BASIS,\r
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
-// See the License for the specific language governing permissions and\r
-// limitations under the License.\r
-//
-
-// This File has been auto-generated by SWIG and then modified using DALi Ruby Scripts\r
-// Some have been manually changed\r
-\r
+// Do not make changes to this file unless you know what you are doing--modify\r
+// the SWIG interface file instead.\r
+//------------------------------------------------------------------------------\r
\r
namespace Tizen.NUI\r
{\r
}\r
\r
\r
+ public PropertyValue(Size2D vectorValue) : this(NDalicPINVOKE.new_Property_Value__SWIG_4(Size2D.getCPtr(vectorValue)), true)\r
+ {\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ }\r
\r
- public PropertyValue() : this(NDalicPINVOKE.new_Property_Value__SWIG_0(), true)\r
+ public PropertyValue(Size vectorValue) : this(NDalicPINVOKE.new_Property_Value__SWIG_5(Size.getCPtr(vectorValue)), true)\r
{\r
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
}\r
\r
- public PropertyValue(bool boolValue) : this(NDalicPINVOKE.new_Property_Value__SWIG_1(boolValue), true)\r
+ public PropertyValue(Position2D vectorValue) : this(NDalicPINVOKE.new_Property_Value__SWIG_4(Position2D.getCPtr(vectorValue)), true)\r
{\r
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
}\r
\r
- public PropertyValue(int integerValue) : this(NDalicPINVOKE.new_Property_Value__SWIG_2(integerValue), true)\r
+ public PropertyValue(Position vectorValue) : this(NDalicPINVOKE.new_Property_Value__SWIG_5(Position.getCPtr(vectorValue)), true)\r
{\r
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
}\r
\r
- public PropertyValue(float floatValue) : this(NDalicPINVOKE.new_Property_Value__SWIG_3(floatValue), true)\r
+ public PropertyValue(Color vectorValue) : this(NDalicPINVOKE.new_Property_Value__SWIG_6(Color.getCPtr(vectorValue)), true)\r
{\r
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
}\r
\r
- public PropertyValue(Vector2 vectorValue) : this(NDalicPINVOKE.new_Property_Value__SWIG_4(Vector2.getCPtr(vectorValue)), true)\r
+\r
+ public bool Get(Size2D vectorValue)\r
{\r
+ bool ret = NDalicPINVOKE.Property_Value_Get__SWIG_5(swigCPtr, Size2D.getCPtr(vectorValue));\r
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ return ret;\r
}\r
- public PropertyValue(Size2D vectorValue) : this(NDalicPINVOKE.new_Property_Value__SWIG_4(Size2D.getCPtr(vectorValue)), true)\r
+\r
+ public bool Get(Size vectorValue)\r
{\r
+ bool ret = NDalicPINVOKE.Property_Value_Get__SWIG_6(swigCPtr, Size.getCPtr(vectorValue));\r
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ return ret;\r
}\r
\r
- public PropertyValue(Vector3 vectorValue) : this(NDalicPINVOKE.new_Property_Value__SWIG_5(Vector3.getCPtr(vectorValue)), true)\r
+ public bool Get(Position2D vectorValue)\r
{\r
+ bool ret = NDalicPINVOKE.Property_Value_Get__SWIG_5(swigCPtr, Position2D.getCPtr(vectorValue));\r
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ return ret;\r
}\r
- public PropertyValue(Size vectorValue) : this(NDalicPINVOKE.new_Property_Value__SWIG_5(Size.getCPtr(vectorValue)), true)\r
+\r
+ public bool Get(Position vectorValue)\r
{\r
+ bool ret = NDalicPINVOKE.Property_Value_Get__SWIG_6(swigCPtr, Position.getCPtr(vectorValue));\r
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ return ret;\r
}\r
\r
- public PropertyValue(Position vectorValue) : this(NDalicPINVOKE.new_Property_Value__SWIG_5(Position.getCPtr(vectorValue)), true)\r
+ public bool Get(Color vectorValue)\r
{\r
+ bool ret = NDalicPINVOKE.Property_Value_Get__SWIG_7(swigCPtr, Color.getCPtr(vectorValue));\r
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ return ret;\r
}\r
\r
- public PropertyValue(Vector4 vectorValue) : this(NDalicPINVOKE.new_Property_Value__SWIG_6(Vector4.getCPtr(vectorValue)), true)\r
+\r
+\r
+ public PropertyValue() : this(NDalicPINVOKE.new_Property_Value__SWIG_0(), true)\r
{\r
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
}\r
- public PropertyValue(Color vectorValue) : this(NDalicPINVOKE.new_Property_Value__SWIG_6(Color.getCPtr(vectorValue)), true)\r
+\r
+ public PropertyValue(bool boolValue) : this(NDalicPINVOKE.new_Property_Value__SWIG_1(boolValue), true)\r
+ {\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ }\r
+\r
+ public PropertyValue(int integerValue) : this(NDalicPINVOKE.new_Property_Value__SWIG_2(integerValue), true)\r
+ {\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ }\r
+\r
+ public PropertyValue(float floatValue) : this(NDalicPINVOKE.new_Property_Value__SWIG_3(floatValue), true)\r
+ {\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ }\r
+\r
+ public PropertyValue(Vector2 vectorValue) : this(NDalicPINVOKE.new_Property_Value__SWIG_4(Vector2.getCPtr(vectorValue)), true)\r
+ {\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ }\r
+\r
+ public PropertyValue(Vector3 vectorValue) : this(NDalicPINVOKE.new_Property_Value__SWIG_5(Vector3.getCPtr(vectorValue)), true)\r
+ {\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ }\r
+\r
+ public PropertyValue(Vector4 vectorValue) : this(NDalicPINVOKE.new_Property_Value__SWIG_6(Vector4.getCPtr(vectorValue)), true)\r
{\r
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
}\r
}\r
\r
public PropertyValue(Rectangle vectorValue) : this(NDalicPINVOKE.new_Property_Value__SWIG_9(Rectangle.getCPtr(vectorValue)), true)\r
- {\r
+ {\r
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
}\r
\r
}\r
\r
public PropertyValue(Rotation quaternion) : this(NDalicPINVOKE.new_Property_Value__SWIG_11(Rotation.getCPtr(quaternion)), true)\r
- {\r
+ {\r
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
}\r
\r
return ret;\r
}\r
\r
- public bool Get(Size2D vectorValue)\r
- {\r
- bool ret = NDalicPINVOKE.Property_Value_Get__SWIG_5(swigCPtr, Size2D.getCPtr(vectorValue));\r
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
- return ret;\r
- }\r
-\r
public bool Get(Vector3 vectorValue)\r
{\r
bool ret = NDalicPINVOKE.Property_Value_Get__SWIG_6(swigCPtr, Vector3.getCPtr(vectorValue));\r
return ret;\r
}\r
\r
- public bool Get(Size vectorValue)\r
- {\r
- bool ret = NDalicPINVOKE.Property_Value_Get__SWIG_6(swigCPtr, Size.getCPtr(vectorValue));\r
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
- return ret;\r
- }\r
- public bool Get(Position vectorValue)\r
- {\r
- bool ret = NDalicPINVOKE.Property_Value_Get__SWIG_6(swigCPtr, Position.getCPtr(vectorValue));\r
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
- return ret;\r
- }\r
-\r
public bool Get(Vector4 vectorValue)\r
{\r
bool ret = NDalicPINVOKE.Property_Value_Get__SWIG_7(swigCPtr, Vector4.getCPtr(vectorValue));\r
return ret;\r
}\r
\r
- public bool Get(Color colorValue)\r
- {\r
- bool ret = NDalicPINVOKE.Property_Value_Get__SWIG_7(swigCPtr, Color.getCPtr(colorValue));\r
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
- return ret;\r
- }\r
-\r
internal bool Get(Matrix3 matrixValue)\r
{\r
bool ret = NDalicPINVOKE.Property_Value_Get__SWIG_8(swigCPtr, Matrix3.getCPtr(matrixValue));\r
ReadWrite,\r
Animatable,\r
AccessModeCount\r
- }
-
-}
+ }\r
+\r
+}\r
-// Copyright (c) 2016 Samsung Electronics Co., Ltd All Rights Reserved\r
-// PROPRIETARY/CONFIDENTIAL \r
-// This software is the confidential and proprietary\r
-// information of SAMSUNG ELECTRONICS ("Confidential Information"). You shall\r
-// not disclose such Confidential Information and shall use it only in\r
-// accordance with the terms of the license agreement you entered into with\r
-// SAMSUNG ELECTRONICS. SAMSUNG make no representations or warranties about the\r
-// suitability of the software, either express or implied, including but not\r
-// limited to the implied warranties of merchantability, fitness for a\r
-// particular purpose, or non-infringement. SAMSUNG shall not be liable for any\r
-// damages suffered by licensee as a result of using, modifying or distributing\r
-// this software or its derivatives.\r
-\r
-// Copyright (c) 2017 Samsung Electronics Co., Ltd.\r
-//\r
-// Licensed under the Apache License, Version 2.0 (the "License");\r
-// you may not use this file except in compliance with the License.\r
-// You may obtain a copy of the License at\r
-//\r
-// http://www.apache.org/licenses/LICENSE-2.0\r
+/** Copyright (c) 2017 Samsung Electronics Co., Ltd.\r
+*\r
+* Licensed under the Apache License, Version 2.0 (the "License");\r
+* you may not use this file except in compliance with the License.\r
+* You may obtain a copy of the License at\r
+*\r
+* http://www.apache.org/licenses/LICENSE-2.0\r
+*\r
+* Unless required by applicable law or agreed to in writing, software\r
+* distributed under the License is distributed on an "AS IS" BASIS,\r
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
+* See the License for the specific language governing permissions and\r
+* limitations under the License.\r
+*\r
+*/\r
+// This File has been auto-generated by SWIG and then modified using DALi Ruby Scripts\r
+//------------------------------------------------------------------------------\r
+// <auto-generated />\r
//\r
-// Unless required by applicable law or agreed to in writing, software\r
-// distributed under the License is distributed on an "AS IS" BASIS,\r
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
-// See the License for the specific language governing permissions and\r
-// limitations under the License.\r
+// This file was automatically generated by SWIG (http://www.swig.org).\r
+// Version 3.0.9\r
//\r
-\r
-// This File has been auto-generated by SWIG and then modified using DALi Ruby Scripts\r
-// Some have been manually changed\r
-\r
+// Do not make changes to this file unless you know what you are doing--modify\r
+// the SWIG interface file instead.\r
+//------------------------------------------------------------------------------\r
\r
namespace Tizen.NUI\r
{\r
-//------------------------------------------------------------------------------
-// <auto-generated />
-//
-// This file was automatically generated by SWIG (http://www.swig.org).
-// Version 3.0.9
-//
-// Do not make changes to this file unless you know what you are doing--modify
-// the SWIG interface file instead.
-//------------------------------------------------------------------------------
-
-namespace Tizen.NUI {\r
-\r
- public class Radian : global::System.IDisposable {
- private global::System.Runtime.InteropServices.HandleRef swigCPtr;
- protected bool swigCMemOwn;
-
- internal Radian(global::System.IntPtr cPtr, bool cMemoryOwn) {
- swigCMemOwn = cMemoryOwn;
- swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
- }
-
- internal static global::System.Runtime.InteropServices.HandleRef getCPtr(Radian obj) {
- return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
- }
-
- ~Radian() {
- DisposeQueue.Instance.Add(this);
- }
-
- public virtual void Dispose() {
- if (!Stage.IsInstalled()) {
- DisposeQueue.Instance.Add(this);
- return;
- }
-
- lock(this) {
- if (swigCPtr.Handle != global::System.IntPtr.Zero) {
- if (swigCMemOwn) {
- swigCMemOwn = false;
- NDalicPINVOKE.delete_Radian(swigCPtr);
- }
- swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
- }
- global::System.GC.SuppressFinalize(this);
- }
- }
-
-
- public Radian() : this(NDalicPINVOKE.new_Radian__SWIG_0(), true) {
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- }
-
- public Radian(float value) : this(NDalicPINVOKE.new_Radian__SWIG_1(value), true) {
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- }
-
- public Radian(Degree degree) : this(NDalicPINVOKE.new_Radian__SWIG_2(Degree.getCPtr(degree)), true) {
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- }
-
- public Radian Assign(float value) {
- Radian ret = new Radian(NDalicPINVOKE.Radian_Assign__SWIG_0(swigCPtr, value), false);
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- return ret;
- }
-
- public Radian Assign(Degree degree) {
- Radian ret = new Radian(NDalicPINVOKE.Radian_Assign__SWIG_1(swigCPtr, Degree.getCPtr(degree)), false);
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- return ret;
- }
-
- public float ConvertToFloat() {
- float ret = NDalicPINVOKE.Radian_ConvertToFloat(swigCPtr);
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- return ret;
- }
-
- public float radian {
- set {
- NDalicPINVOKE.Radian_radian_set(swigCPtr, value);
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- }
- get {
- float ret = NDalicPINVOKE.Radian_radian_get(swigCPtr);
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- return ret;
- }
- }
-
-}
-
-}
+//------------------------------------------------------------------------------\r
+// <auto-generated />\r
+//\r
+// This file was automatically generated by SWIG (http://www.swig.org).\r
+// Version 3.0.9\r
+//\r
+// Do not make changes to this file unless you know what you are doing--modify\r
+// the SWIG interface file instead.\r
+//------------------------------------------------------------------------------\r
+\r
+namespace Tizen.NUI\r
+{\r
+\r
+ public class Radian : global::System.IDisposable\r
+ {\r
+ private global::System.Runtime.InteropServices.HandleRef swigCPtr;\r
+ protected bool swigCMemOwn;\r
+\r
+ internal Radian(global::System.IntPtr cPtr, bool cMemoryOwn)\r
+ {\r
+ swigCMemOwn = cMemoryOwn;\r
+ swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);\r
+ }\r
+\r
+ internal static global::System.Runtime.InteropServices.HandleRef getCPtr(Radian obj)\r
+ {\r
+ return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;\r
+ }\r
+\r
+ ~Radian()\r
+ {\r
+ DisposeQueue.Instance.Add(this);\r
+ }\r
+\r
+ public virtual void Dispose()\r
+ {\r
+ if (!Stage.IsInstalled())\r
+ {\r
+ DisposeQueue.Instance.Add(this);\r
+ return;\r
+ }\r
+\r
+ lock (this)\r
+ {\r
+ if (swigCPtr.Handle != global::System.IntPtr.Zero)\r
+ {\r
+ if (swigCMemOwn)\r
+ {\r
+ swigCMemOwn = false;\r
+ NDalicPINVOKE.delete_Radian(swigCPtr);\r
+ }\r
+ swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);\r
+ }\r
+ global::System.GC.SuppressFinalize(this);\r
+ }\r
+ }\r
+\r
+\r
+ public Radian() : this(NDalicPINVOKE.new_Radian__SWIG_0(), true)\r
+ {\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ }\r
+\r
+ public Radian(float value) : this(NDalicPINVOKE.new_Radian__SWIG_1(value), true)\r
+ {\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ }\r
+\r
+ public Radian(Degree degree) : this(NDalicPINVOKE.new_Radian__SWIG_2(Degree.getCPtr(degree)), true)\r
+ {\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ }\r
+\r
+ public Radian Assign(float value)\r
+ {\r
+ Radian ret = new Radian(NDalicPINVOKE.Radian_Assign__SWIG_0(swigCPtr, value), false);\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ return ret;\r
+ }\r
+\r
+ public Radian Assign(Degree degree)\r
+ {\r
+ Radian ret = new Radian(NDalicPINVOKE.Radian_Assign__SWIG_1(swigCPtr, Degree.getCPtr(degree)), false);\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ return ret;\r
+ }\r
+\r
+ public float ConvertToFloat()\r
+ {\r
+ float ret = NDalicPINVOKE.Radian_ConvertToFloat(swigCPtr);\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ return ret;\r
+ }\r
+\r
+ public float radian\r
+ {\r
+ set\r
+ {\r
+ NDalicPINVOKE.Radian_radian_set(swigCPtr, value);\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ }\r
+ get\r
+ {\r
+ float ret = NDalicPINVOKE.Radian_radian_get(swigCPtr);\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ return ret;\r
+ }\r
+ }\r
+\r
+ }\r
+\r
+}\r
-// Copyright (c) 2016 Samsung Electronics Co., Ltd All Rights Reserved\r
-// PROPRIETARY/CONFIDENTIAL \r
-// This software is the confidential and proprietary\r
-// information of SAMSUNG ELECTRONICS ("Confidential Information"). You shall\r
-// not disclose such Confidential Information and shall use it only in\r
-// accordance with the terms of the license agreement you entered into with\r
-// SAMSUNG ELECTRONICS. SAMSUNG make no representations or warranties about the\r
-// suitability of the software, either express or implied, including but not\r
-// limited to the implied warranties of merchantability, fitness for a\r
-// particular purpose, or non-infringement. SAMSUNG shall not be liable for any\r
-// damages suffered by licensee as a result of using, modifying or distributing\r
-// this software or its derivatives.\r
-\r
-// Copyright (c) 2017 Samsung Electronics Co., Ltd.\r
-//\r
-// Licensed under the Apache License, Version 2.0 (the "License");\r
-// you may not use this file except in compliance with the License.\r
-// You may obtain a copy of the License at\r
-//\r
-// http://www.apache.org/licenses/LICENSE-2.0\r
+/** Copyright (c) 2017 Samsung Electronics Co., Ltd.\r
+*\r
+* Licensed under the Apache License, Version 2.0 (the "License");\r
+* you may not use this file except in compliance with the License.\r
+* You may obtain a copy of the License at\r
+*\r
+* http://www.apache.org/licenses/LICENSE-2.0\r
+*\r
+* Unless required by applicable law or agreed to in writing, software\r
+* distributed under the License is distributed on an "AS IS" BASIS,\r
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
+* See the License for the specific language governing permissions and\r
+* limitations under the License.\r
+*\r
+*/\r
+// This File has been auto-generated by SWIG and then modified using DALi Ruby Scripts\r
+//------------------------------------------------------------------------------\r
+// <auto-generated />\r
//\r
-// Unless required by applicable law or agreed to in writing, software\r
-// distributed under the License is distributed on an "AS IS" BASIS,\r
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
-// See the License for the specific language governing permissions and\r
-// limitations under the License.\r
+// This file was automatically generated by SWIG (http://www.swig.org).\r
+// Version 3.0.9\r
//\r
-\r
-// This File has been auto-generated by SWIG and then modified using DALi Ruby Scripts\r
-// Some have been manually changed\r
-\r
+// Do not make changes to this file unless you know what you are doing--modify\r
+// the SWIG interface file instead.\r
+//------------------------------------------------------------------------------\r
\r
namespace Tizen.NUI\r
{\r
-//------------------------------------------------------------------------------
-// <auto-generated />
-//
-// This file was automatically generated by SWIG (http://www.swig.org).
-// Version 3.0.9
-//
-// Do not make changes to this file unless you know what you are doing--modify
-// the SWIG interface file instead.
-//------------------------------------------------------------------------------
-
-namespace Tizen.NUI {
-
-public class Rectangle : global::System.IDisposable {
- private global::System.Runtime.InteropServices.HandleRef swigCPtr;
- protected bool swigCMemOwn;
-
- internal Rectangle(global::System.IntPtr cPtr, bool cMemoryOwn) {
- swigCMemOwn = cMemoryOwn;
- swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
- }
-
- internal static global::System.Runtime.InteropServices.HandleRef getCPtr(Rectangle obj) {
- return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
- }
-
- ~Rectangle() {
- DisposeQueue.Instance.Add(this);
- }
-
- public virtual void Dispose() {
- if (!Stage.IsInstalled()) {
- DisposeQueue.Instance.Add(this);
- return;
- }
-
- lock(this) {
- if (swigCPtr.Handle != global::System.IntPtr.Zero) {
- if (swigCMemOwn) {
- swigCMemOwn = false;
- NDalicPINVOKE.delete_Rectangle(swigCPtr);
- }
- swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
- }
- global::System.GC.SuppressFinalize(this);
- }
- }
-
-
- public static bool operator ==(Rectangle a, Rectangle b)
- {
- // If both are null, or both are same instance, return true.
- if (System.Object.ReferenceEquals(a, b))
- {
- return true;
- }
-
- // If one is null, but not both, return false.
- if (((object)a == null) || ((object)b == null))
- {
- return false;
- }
-
- // Return true if the fields match:
- return a.X == b.X && a.Y == b.Y && a.Width == b.Width && a.Height == b.Height;
- }
-
- public static bool operator !=(Rectangle a, Rectangle b)
- {
- return !(a == b);
- }
-
- ///< X position of the rectangle
- public int X
- {
- set
- {
- x = value;
- }
- get
- {
- return x;
- }
- }
-
- ///< Y position of the rectangle
- public int Y
- {
- set
- {
- y = value;
- }
- get
- {
- return y;
- }
- }
-
- ///< Width of the rectangle
- public int Width
- {
- set
- {
- width = value;
- }
- get
- {
- return width;
- }
- }
-
- ///< Height of the rectangle
- public int Height
- {
- set
- {
- height = value;
- }
- get
- {
- return height;
- }
- }
-
- public Rectangle() : this(NDalicPINVOKE.new_Rectangle__SWIG_0(), true) {
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- }
-
- public Rectangle(int x, int y, int width, int height) : this(NDalicPINVOKE.new_Rectangle__SWIG_1(x, y, width, height), true) {
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- }
-
- public Rectangle(Rectangle rhs) : this(NDalicPINVOKE.new_Rectangle__SWIG_2(Rectangle.getCPtr(rhs)), true) {
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- }
-
- public Rectangle Assign(Rectangle rhs) {
- Rectangle ret = new Rectangle(NDalicPINVOKE.Rectangle_Assign(swigCPtr, Rectangle.getCPtr(rhs)), false);
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- return ret;
- }
-
- public void Set(int newX, int newY, int newWidth, int newHeight) {
- NDalicPINVOKE.Rectangle_Set(swigCPtr, newX, newY, newWidth, newHeight);
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- }
-
- public bool IsEmpty() {
- bool ret = NDalicPINVOKE.Rectangle_IsEmpty(swigCPtr);
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- return ret;
- }
-
- public int Left() {
- int ret = NDalicPINVOKE.Rectangle_Left(swigCPtr);
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- return ret;
- }
-
- public int Right() {
- int ret = NDalicPINVOKE.Rectangle_Right(swigCPtr);
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- return ret;
- }
-
- public int Top() {
- int ret = NDalicPINVOKE.Rectangle_Top(swigCPtr);
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- return ret;
- }
-
- public int Bottom() {
- int ret = NDalicPINVOKE.Rectangle_Bottom(swigCPtr);
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- return ret;
- }
-
- public int Area() {
- int ret = NDalicPINVOKE.Rectangle_Area(swigCPtr);
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- return ret;
- }
-
- public bool Intersects(Rectangle other) {
- bool ret = NDalicPINVOKE.Rectangle_Intersects(swigCPtr, Rectangle.getCPtr(other));
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- return ret;
- }
-
- public bool Contains(Rectangle other) {
- bool ret = NDalicPINVOKE.Rectangle_Contains(swigCPtr, Rectangle.getCPtr(other));
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- return ret;
- }
-
- private int x {
- set {
- NDalicPINVOKE.Rectangle_x_set(swigCPtr, value);
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- }
- get {
- int ret = NDalicPINVOKE.Rectangle_x_get(swigCPtr);
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- return ret;
- }
- }
-
- private int left {
- set {
- NDalicPINVOKE.Rectangle_left_set(swigCPtr, value);
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- }
- get {
- int ret = NDalicPINVOKE.Rectangle_left_get(swigCPtr);
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- return ret;
- }
- }
-
- private int y {
- set {
- NDalicPINVOKE.Rectangle_y_set(swigCPtr, value);
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- }
- get {
- int ret = NDalicPINVOKE.Rectangle_y_get(swigCPtr);
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- return ret;
- }
- }
-
- private int right {
- set {
- NDalicPINVOKE.Rectangle_right_set(swigCPtr, value);
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- }
- get {
- int ret = NDalicPINVOKE.Rectangle_right_get(swigCPtr);
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- return ret;
- }
- }
-
- private int width {
- set {
- NDalicPINVOKE.Rectangle_width_set(swigCPtr, value);
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- }
- get {
- int ret = NDalicPINVOKE.Rectangle_width_get(swigCPtr);
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- return ret;
- }
- }
-
- private int bottom {
- set {
- NDalicPINVOKE.Rectangle_bottom_set(swigCPtr, value);
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- }
- get {
- int ret = NDalicPINVOKE.Rectangle_bottom_get(swigCPtr);
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- return ret;
- }
- }
-
- private int height {
- set {
- NDalicPINVOKE.Rectangle_height_set(swigCPtr, value);
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- }
- get {
- int ret = NDalicPINVOKE.Rectangle_height_get(swigCPtr);
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- return ret;
- }
- }
-
- private int top {
- set {
- NDalicPINVOKE.Rectangle_top_set(swigCPtr, value);
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- }
- get {
- int ret = NDalicPINVOKE.Rectangle_top_get(swigCPtr);
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- return ret;
- }
- }
-
-}
-
-}
+//------------------------------------------------------------------------------\r
+// <auto-generated />\r
+//\r
+// This file was automatically generated by SWIG (http://www.swig.org).\r
+// Version 3.0.9\r
+//\r
+// Do not make changes to this file unless you know what you are doing--modify\r
+// the SWIG interface file instead.\r
+//------------------------------------------------------------------------------\r
+\r
+namespace Tizen.NUI\r
+{\r
+\r
+ public class Rectangle : global::System.IDisposable\r
+ {\r
+ private global::System.Runtime.InteropServices.HandleRef swigCPtr;\r
+ protected bool swigCMemOwn;\r
+\r
+ internal Rectangle(global::System.IntPtr cPtr, bool cMemoryOwn)\r
+ {\r
+ swigCMemOwn = cMemoryOwn;\r
+ swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);\r
+ }\r
+\r
+ internal static global::System.Runtime.InteropServices.HandleRef getCPtr(Rectangle obj)\r
+ {\r
+ return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;\r
+ }\r
+\r
+ ~Rectangle()\r
+ {\r
+ DisposeQueue.Instance.Add(this);\r
+ }\r
+\r
+ public virtual void Dispose()\r
+ {\r
+ if (!Stage.IsInstalled())\r
+ {\r
+ DisposeQueue.Instance.Add(this);\r
+ return;\r
+ }\r
+\r
+ lock (this)\r
+ {\r
+ if (swigCPtr.Handle != global::System.IntPtr.Zero)\r
+ {\r
+ if (swigCMemOwn)\r
+ {\r
+ swigCMemOwn = false;\r
+ NDalicPINVOKE.delete_Rectangle(swigCPtr);\r
+ }\r
+ swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);\r
+ }\r
+ global::System.GC.SuppressFinalize(this);\r
+ }\r
+ }\r
+\r
+\r
+ public static bool operator ==(Rectangle a, Rectangle b)\r
+ {\r
+ // If both are null, or both are same instance, return true.\r
+ if (System.Object.ReferenceEquals(a, b))\r
+ {\r
+ return true;\r
+ }\r
+\r
+ // If one is null, but not both, return false.\r
+ if (((object)a == null) || ((object)b == null))\r
+ {\r
+ return false;\r
+ }\r
+\r
+ // Return true if the fields match:\r
+ return a.X == b.X && a.Y == b.Y && a.Width == b.Width && a.Height == b.Height;\r
+ }\r
+\r
+ public static bool operator !=(Rectangle a, Rectangle b)\r
+ {\r
+ return !(a == b);\r
+ }\r
+\r
+ ///< X position of the rectangle\r
+ public int X\r
+ {\r
+ set\r
+ {\r
+ x = value;\r
+ }\r
+ get\r
+ {\r
+ return x;\r
+ }\r
+ }\r
+\r
+ ///< Y position of the rectangle\r
+ public int Y\r
+ {\r
+ set\r
+ {\r
+ y = value;\r
+ }\r
+ get\r
+ {\r
+ return y;\r
+ }\r
+ }\r
+\r
+ ///< Width of the rectangle\r
+ public int Width\r
+ {\r
+ set\r
+ {\r
+ width = value;\r
+ }\r
+ get\r
+ {\r
+ return width;\r
+ }\r
+ }\r
+\r
+ ///< Height of the rectangle\r
+ public int Height\r
+ {\r
+ set\r
+ {\r
+ height = value;\r
+ }\r
+ get\r
+ {\r
+ return height;\r
+ }\r
+ }\r
+\r
+ public Rectangle() : this(NDalicPINVOKE.new_Rectangle__SWIG_0(), true)\r
+ {\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ }\r
+\r
+ public Rectangle(int x, int y, int width, int height) : this(NDalicPINVOKE.new_Rectangle__SWIG_1(x, y, width, height), true)\r
+ {\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ }\r
+\r
+ public Rectangle(Rectangle rhs) : this(NDalicPINVOKE.new_Rectangle__SWIG_2(Rectangle.getCPtr(rhs)), true)\r
+ {\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ }\r
+\r
+ public Rectangle Assign(Rectangle rhs)\r
+ {\r
+ Rectangle ret = new Rectangle(NDalicPINVOKE.Rectangle_Assign(swigCPtr, Rectangle.getCPtr(rhs)), false);\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ return ret;\r
+ }\r
+\r
+ public void Set(int newX, int newY, int newWidth, int newHeight)\r
+ {\r
+ NDalicPINVOKE.Rectangle_Set(swigCPtr, newX, newY, newWidth, newHeight);\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ }\r
+\r
+ public bool IsEmpty()\r
+ {\r
+ bool ret = NDalicPINVOKE.Rectangle_IsEmpty(swigCPtr);\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ return ret;\r
+ }\r
+\r
+ public int Left()\r
+ {\r
+ int ret = NDalicPINVOKE.Rectangle_Left(swigCPtr);\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ return ret;\r
+ }\r
+\r
+ public int Right()\r
+ {\r
+ int ret = NDalicPINVOKE.Rectangle_Right(swigCPtr);\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ return ret;\r
+ }\r
+\r
+ public int Top()\r
+ {\r
+ int ret = NDalicPINVOKE.Rectangle_Top(swigCPtr);\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ return ret;\r
+ }\r
+\r
+ public int Bottom()\r
+ {\r
+ int ret = NDalicPINVOKE.Rectangle_Bottom(swigCPtr);\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ return ret;\r
+ }\r
+\r
+ public int Area()\r
+ {\r
+ int ret = NDalicPINVOKE.Rectangle_Area(swigCPtr);\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ return ret;\r
+ }\r
+\r
+ public bool Intersects(Rectangle other)\r
+ {\r
+ bool ret = NDalicPINVOKE.Rectangle_Intersects(swigCPtr, Rectangle.getCPtr(other));\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ return ret;\r
+ }\r
+\r
+ public bool Contains(Rectangle other)\r
+ {\r
+ bool ret = NDalicPINVOKE.Rectangle_Contains(swigCPtr, Rectangle.getCPtr(other));\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ return ret;\r
+ }\r
+\r
+ private int x\r
+ {\r
+ set\r
+ {\r
+ NDalicPINVOKE.Rectangle_x_set(swigCPtr, value);\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ }\r
+ get\r
+ {\r
+ int ret = NDalicPINVOKE.Rectangle_x_get(swigCPtr);\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ return ret;\r
+ }\r
+ }\r
+\r
+ private int left\r
+ {\r
+ set\r
+ {\r
+ NDalicPINVOKE.Rectangle_left_set(swigCPtr, value);\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ }\r
+ get\r
+ {\r
+ int ret = NDalicPINVOKE.Rectangle_left_get(swigCPtr);\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ return ret;\r
+ }\r
+ }\r
+\r
+ private int y\r
+ {\r
+ set\r
+ {\r
+ NDalicPINVOKE.Rectangle_y_set(swigCPtr, value);\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ }\r
+ get\r
+ {\r
+ int ret = NDalicPINVOKE.Rectangle_y_get(swigCPtr);\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ return ret;\r
+ }\r
+ }\r
+\r
+ private int right\r
+ {\r
+ set\r
+ {\r
+ NDalicPINVOKE.Rectangle_right_set(swigCPtr, value);\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ }\r
+ get\r
+ {\r
+ int ret = NDalicPINVOKE.Rectangle_right_get(swigCPtr);\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ return ret;\r
+ }\r
+ }\r
+\r
+ private int width\r
+ {\r
+ set\r
+ {\r
+ NDalicPINVOKE.Rectangle_width_set(swigCPtr, value);\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ }\r
+ get\r
+ {\r
+ int ret = NDalicPINVOKE.Rectangle_width_get(swigCPtr);\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ return ret;\r
+ }\r
+ }\r
+\r
+ private int bottom\r
+ {\r
+ set\r
+ {\r
+ NDalicPINVOKE.Rectangle_bottom_set(swigCPtr, value);\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ }\r
+ get\r
+ {\r
+ int ret = NDalicPINVOKE.Rectangle_bottom_get(swigCPtr);\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ return ret;\r
+ }\r
+ }\r
+\r
+ private int height\r
+ {\r
+ set\r
+ {\r
+ NDalicPINVOKE.Rectangle_height_set(swigCPtr, value);\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ }\r
+ get\r
+ {\r
+ int ret = NDalicPINVOKE.Rectangle_height_get(swigCPtr);\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ return ret;\r
+ }\r
+ }\r
+\r
+ private int top\r
+ {\r
+ set\r
+ {\r
+ NDalicPINVOKE.Rectangle_top_set(swigCPtr, value);\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ }\r
+ get\r
+ {\r
+ int ret = NDalicPINVOKE.Rectangle_top_get(swigCPtr);\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ return ret;\r
+ }\r
+ }\r
+\r
+ }\r
+\r
+}\r
-// Copyright (c) 2016 Samsung Electronics Co., Ltd All Rights Reserved\r
-// PROPRIETARY/CONFIDENTIAL \r
-// This software is the confidential and proprietary\r
-// information of SAMSUNG ELECTRONICS ("Confidential Information"). You shall\r
-// not disclose such Confidential Information and shall use it only in\r
-// accordance with the terms of the license agreement you entered into with\r
-// SAMSUNG ELECTRONICS. SAMSUNG make no representations or warranties about the\r
-// suitability of the software, either express or implied, including but not\r
-// limited to the implied warranties of merchantability, fitness for a\r
-// particular purpose, or non-infringement. SAMSUNG shall not be liable for any\r
-// damages suffered by licensee as a result of using, modifying or distributing\r
-// this software or its derivatives.\r
-\r
-// Copyright (c) 2017 Samsung Electronics Co., Ltd.\r
-//\r
-// Licensed under the Apache License, Version 2.0 (the "License");\r
-// you may not use this file except in compliance with the License.\r
-// You may obtain a copy of the License at\r
-//\r
-// http://www.apache.org/licenses/LICENSE-2.0\r
+//------------------------------------------------------------------------------\r
+// <auto-generated />\r
//\r
-// Unless required by applicable law or agreed to in writing, software\r
-// distributed under the License is distributed on an "AS IS" BASIS,\r
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
-// See the License for the specific language governing permissions and\r
-// limitations under the License.\r
+// This file was automatically generated by SWIG (http://www.swig.org).\r
+// Version 3.0.9\r
//\r
-\r
-// This File has been auto-generated by SWIG and then modified using DALi Ruby Scripts\r
-// Some have been manually changed\r
-\r
+// Do not make changes to this file unless you know what you are doing--modify\r
+// the SWIG interface file instead.\r
+//------------------------------------------------------------------------------\r
\r
namespace Tizen.NUI\r
{\r
-//------------------------------------------------------------------------------
-// <auto-generated />
-//
-// This file was automatically generated by SWIG (http://www.swig.org).
-// Version 3.0.9
-//
-// Do not make changes to this file unless you know what you are doing--modify
-// the SWIG interface file instead.
-//------------------------------------------------------------------------------
-
-namespace Tizen.NUI {
-
-public class Rotation : global::System.IDisposable {
- private global::System.Runtime.InteropServices.HandleRef swigCPtr;
- protected bool swigCMemOwn;
-
- internal Rotation(global::System.IntPtr cPtr, bool cMemoryOwn) {
- swigCMemOwn = cMemoryOwn;
- swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
- }
-
- internal static global::System.Runtime.InteropServices.HandleRef getCPtr(Rotation obj) {
- return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
- }
-
- ~Rotation() {
- DisposeQueue.Instance.Add(this);
- }
-
- public virtual void Dispose() {
- if (!Stage.IsInstalled()) {
- DisposeQueue.Instance.Add(this);
- return;
- }
-
- lock(this) {
- if (swigCPtr.Handle != global::System.IntPtr.Zero) {
- if (swigCMemOwn) {
- swigCMemOwn = false;
- NDalicPINVOKE.delete_Rotation(swigCPtr);
- }
- swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
- }
- global::System.GC.SuppressFinalize(this);
- }
- }
-
-
- public static Rotation operator+(Rotation arg1, Rotation arg2) {
- return arg1.Add(arg2);
- }
-
- public static Rotation operator-(Rotation arg1, Rotation arg2) {
- return arg1.Subtract(arg2);
- }
-
- public static Rotation operator-(Rotation arg1) {
- return arg1.Subtract();
- }
-
- public static Rotation operator*(Rotation arg1, Rotation arg2) {
- return arg1.Multiply(arg2);
- }
-
- public static Vector3 operator*(Rotation arg1, Vector3 arg2) {
- return arg1.Multiply(arg2);
- }
-
- public static Rotation operator*(Rotation arg1, float arg2) {
- return arg1.Multiply(arg2);
- }
-
- public static Rotation operator/(Rotation arg1, Rotation arg2) {
- return arg1.Divide(arg2);
- }
-
- public static Rotation operator/(Rotation arg1, float arg2) {
- return arg1.Divide(arg2);
- }
-
- public Rotation() : this(NDalicPINVOKE.new_Rotation__SWIG_0(), true) {
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- }
-
- public Rotation(Radian angle, Vector3 axis) : this(NDalicPINVOKE.new_Rotation__SWIG_1(Radian.getCPtr(angle), Vector3.getCPtr(axis)), true) {
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- }
-
- public static Rotation IDENTITY {
- get {
- global::System.IntPtr cPtr = NDalicPINVOKE.Rotation_IDENTITY_get();
- Rotation ret = (cPtr == global::System.IntPtr.Zero) ? null : new Rotation(cPtr, false);
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- return ret;
- }
- }
-
- public bool IsIdentity() {
- bool ret = NDalicPINVOKE.Rotation_IsIdentity(swigCPtr);
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- return ret;
- }
-
- public bool GetAxisAngle(Vector3 axis, Radian angle) {
- bool ret = NDalicPINVOKE.Rotation_GetAxisAngle(swigCPtr, Vector3.getCPtr(axis), Radian.getCPtr(angle));
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- return ret;
- }
-
- private Rotation Add(Rotation other) {
- Rotation ret = new Rotation(NDalicPINVOKE.Rotation_Add(swigCPtr, Rotation.getCPtr(other)), true);
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- return ret;
- }
-
- private Rotation Subtract(Rotation other) {
- Rotation ret = new Rotation(NDalicPINVOKE.Rotation_Subtract__SWIG_0(swigCPtr, Rotation.getCPtr(other)), true);
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- return ret;
- }
-
- private Rotation Multiply(Rotation other) {
- Rotation ret = new Rotation(NDalicPINVOKE.Rotation_Multiply__SWIG_0(swigCPtr, Rotation.getCPtr(other)), true);
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- return ret;
- }
-
- private Vector3 Multiply(Vector3 other) {
- Vector3 ret = new Vector3(NDalicPINVOKE.Rotation_Multiply__SWIG_1(swigCPtr, Vector3.getCPtr(other)), true);
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- return ret;
- }
-
- private Rotation Divide(Rotation other) {
- Rotation ret = new Rotation(NDalicPINVOKE.Rotation_Divide__SWIG_0(swigCPtr, Rotation.getCPtr(other)), true);
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- return ret;
- }
-
- private Rotation Multiply(float scale) {
- Rotation ret = new Rotation(NDalicPINVOKE.Rotation_Multiply__SWIG_2(swigCPtr, scale), true);
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- return ret;
- }
-
- private Rotation Divide(float scale) {
- Rotation ret = new Rotation(NDalicPINVOKE.Rotation_Divide__SWIG_1(swigCPtr, scale), true);
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- return ret;
- }
-
- private Rotation Subtract() {
- Rotation ret = new Rotation(NDalicPINVOKE.Rotation_Subtract__SWIG_1(swigCPtr), true);
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- return ret;
- }
-
- private Rotation AddAssign(Rotation other) {
- Rotation ret = new Rotation(NDalicPINVOKE.Rotation_AddAssign(swigCPtr, Rotation.getCPtr(other)), false);
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- return ret;
- }
-
- private Rotation SubtractAssign(Rotation other) {
- Rotation ret = new Rotation(NDalicPINVOKE.Rotation_SubtractAssign(swigCPtr, Rotation.getCPtr(other)), false);
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- return ret;
- }
-
- private Rotation MultiplyAssign(Rotation other) {
- Rotation ret = new Rotation(NDalicPINVOKE.Rotation_MultiplyAssign__SWIG_0(swigCPtr, Rotation.getCPtr(other)), false);
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- return ret;
- }
-
- private Rotation MultiplyAssign(float scale) {
- Rotation ret = new Rotation(NDalicPINVOKE.Rotation_MultiplyAssign__SWIG_1(swigCPtr, scale), false);
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- return ret;
- }
-
- private Rotation DivideAssign(float scale) {
- Rotation ret = new Rotation(NDalicPINVOKE.Rotation_DivideAssign(swigCPtr, scale), false);
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- return ret;
- }
-
- private bool EqualTo(Rotation rhs) {
- bool ret = NDalicPINVOKE.Rotation_EqualTo(swigCPtr, Rotation.getCPtr(rhs));
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- return ret;
- }
-
- private bool NotEqualTo(Rotation rhs) {
- bool ret = NDalicPINVOKE.Rotation_NotEqualTo(swigCPtr, Rotation.getCPtr(rhs));
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- return ret;
- }
-
- public float Length() {
- float ret = NDalicPINVOKE.Rotation_Length(swigCPtr);
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- return ret;
- }
-
- public float LengthSquared() {
- float ret = NDalicPINVOKE.Rotation_LengthSquared(swigCPtr);
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- return ret;
- }
-
- public void Normalize() {
- NDalicPINVOKE.Rotation_Normalize(swigCPtr);
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- }
-
- public Rotation Normalized() {
- Rotation ret = new Rotation(NDalicPINVOKE.Rotation_Normalized(swigCPtr), true);
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- return ret;
- }
-
- public void Conjugate() {
- NDalicPINVOKE.Rotation_Conjugate(swigCPtr);
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- }
-
- public void Invert() {
- NDalicPINVOKE.Rotation_Invert(swigCPtr);
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- }
-
- public Rotation Log() {
- Rotation ret = new Rotation(NDalicPINVOKE.Rotation_Log(swigCPtr), true);
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- return ret;
- }
-
- public Rotation Exp() {
- Rotation ret = new Rotation(NDalicPINVOKE.Rotation_Exp(swigCPtr), true);
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- return ret;
- }
-
- public static float Dot(Rotation q1, Rotation q2) {
- float ret = NDalicPINVOKE.Rotation_Dot(Rotation.getCPtr(q1), Rotation.getCPtr(q2));
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- return ret;
- }
-
- public static Rotation Lerp(Rotation q1, Rotation q2, float t) {
- Rotation ret = new Rotation(NDalicPINVOKE.Rotation_Lerp(Rotation.getCPtr(q1), Rotation.getCPtr(q2), t), true);
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- return ret;
- }
-
- public static Rotation Slerp(Rotation q1, Rotation q2, float progress) {
- Rotation ret = new Rotation(NDalicPINVOKE.Rotation_Slerp(Rotation.getCPtr(q1), Rotation.getCPtr(q2), progress), true);
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- return ret;
- }
-
- public static Rotation SlerpNoInvert(Rotation q1, Rotation q2, float t) {
- Rotation ret = new Rotation(NDalicPINVOKE.Rotation_SlerpNoInvert(Rotation.getCPtr(q1), Rotation.getCPtr(q2), t), true);
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- return ret;
- }
-
- public static Rotation Squad(Rotation start, Rotation end, Rotation ctrl1, Rotation ctrl2, float t) {
- Rotation ret = new Rotation(NDalicPINVOKE.Rotation_Squad(Rotation.getCPtr(start), Rotation.getCPtr(end), Rotation.getCPtr(ctrl1), Rotation.getCPtr(ctrl2), t), true);
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- return ret;
- }
-
- public static float AngleBetween(Rotation q1, Rotation q2) {
- float ret = NDalicPINVOKE.Rotation_AngleBetween(Rotation.getCPtr(q1), Rotation.getCPtr(q2));
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- return ret;
- }
-
-}
-
-}
+//------------------------------------------------------------------------------\r
+// <auto-generated />\r
+//\r
+// This file was automatically generated by SWIG (http://www.swig.org).\r
+// Version 3.0.9\r
+//\r
+// Do not make changes to this file unless you know what you are doing--modify\r
+// the SWIG interface file instead.\r
+//------------------------------------------------------------------------------\r
+\r
+namespace Tizen.NUI\r
+{\r
+\r
+ public class Rotation : global::System.IDisposable\r
+ {\r
+ private global::System.Runtime.InteropServices.HandleRef swigCPtr;\r
+ protected bool swigCMemOwn;\r
+\r
+ internal Rotation(global::System.IntPtr cPtr, bool cMemoryOwn)\r
+ {\r
+ swigCMemOwn = cMemoryOwn;\r
+ swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);\r
+ }\r
+\r
+ internal static global::System.Runtime.InteropServices.HandleRef getCPtr(Rotation obj)\r
+ {\r
+ return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;\r
+ }\r
+\r
+ ~Rotation()\r
+ {\r
+ DisposeQueue.Instance.Add(this);\r
+ }\r
+\r
+ public virtual void Dispose()\r
+ {\r
+ if (!Stage.IsInstalled())\r
+ {\r
+ DisposeQueue.Instance.Add(this);\r
+ return;\r
+ }\r
+\r
+ lock (this)\r
+ {\r
+ if (swigCPtr.Handle != global::System.IntPtr.Zero)\r
+ {\r
+ if (swigCMemOwn)\r
+ {\r
+ swigCMemOwn = false;\r
+ NDalicPINVOKE.delete_Rotation(swigCPtr);\r
+ }\r
+ swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);\r
+ }\r
+ global::System.GC.SuppressFinalize(this);\r
+ }\r
+ }\r
+\r
+\r
+ public static Rotation operator +(Rotation arg1, Rotation arg2)\r
+ {\r
+ return arg1.Add(arg2);\r
+ }\r
+\r
+ public static Rotation operator -(Rotation arg1, Rotation arg2)\r
+ {\r
+ return arg1.Subtract(arg2);\r
+ }\r
+\r
+ public static Rotation operator -(Rotation arg1)\r
+ {\r
+ return arg1.Subtract();\r
+ }\r
+\r
+ public static Rotation operator *(Rotation arg1, Rotation arg2)\r
+ {\r
+ return arg1.Multiply(arg2);\r
+ }\r
+\r
+ public static Vector3 operator *(Rotation arg1, Vector3 arg2)\r
+ {\r
+ return arg1.Multiply(arg2);\r
+ }\r
+\r
+ public static Rotation operator *(Rotation arg1, float arg2)\r
+ {\r
+ return arg1.Multiply(arg2);\r
+ }\r
+\r
+ public static Rotation operator /(Rotation arg1, Rotation arg2)\r
+ {\r
+ return arg1.Divide(arg2);\r
+ }\r
+\r
+ public static Rotation operator /(Rotation arg1, float arg2)\r
+ {\r
+ return arg1.Divide(arg2);\r
+ }\r
+\r
+ public Rotation() : this(NDalicPINVOKE.new_Rotation__SWIG_0(), true)\r
+ {\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ }\r
+\r
+ public Rotation(Radian angle, Vector3 axis) : this(NDalicPINVOKE.new_Rotation__SWIG_1(Radian.getCPtr(angle), Vector3.getCPtr(axis)), true)\r
+ {\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ }\r
+\r
+ public static Rotation IDENTITY\r
+ {\r
+ get\r
+ {\r
+ global::System.IntPtr cPtr = NDalicPINVOKE.Rotation_IDENTITY_get();\r
+ Rotation ret = (cPtr == global::System.IntPtr.Zero) ? null : new Rotation(cPtr, false);\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ return ret;\r
+ }\r
+ }\r
+\r
+ public bool IsIdentity()\r
+ {\r
+ bool ret = NDalicPINVOKE.Rotation_IsIdentity(swigCPtr);\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ return ret;\r
+ }\r
+\r
+ public bool GetAxisAngle(Vector3 axis, Radian angle)\r
+ {\r
+ bool ret = NDalicPINVOKE.Rotation_GetAxisAngle(swigCPtr, Vector3.getCPtr(axis), Radian.getCPtr(angle));\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ return ret;\r
+ }\r
+\r
+ private Rotation Add(Rotation other)\r
+ {\r
+ Rotation ret = new Rotation(NDalicPINVOKE.Rotation_Add(swigCPtr, Rotation.getCPtr(other)), true);\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ return ret;\r
+ }\r
+\r
+ private Rotation Subtract(Rotation other)\r
+ {\r
+ Rotation ret = new Rotation(NDalicPINVOKE.Rotation_Subtract__SWIG_0(swigCPtr, Rotation.getCPtr(other)), true);\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ return ret;\r
+ }\r
+\r
+ private Rotation Multiply(Rotation other)\r
+ {\r
+ Rotation ret = new Rotation(NDalicPINVOKE.Rotation_Multiply__SWIG_0(swigCPtr, Rotation.getCPtr(other)), true);\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ return ret;\r
+ }\r
+\r
+ private Vector3 Multiply(Vector3 other)\r
+ {\r
+ Vector3 ret = new Vector3(NDalicPINVOKE.Rotation_Multiply__SWIG_1(swigCPtr, Vector3.getCPtr(other)), true);\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ return ret;\r
+ }\r
+\r
+ private Rotation Divide(Rotation other)\r
+ {\r
+ Rotation ret = new Rotation(NDalicPINVOKE.Rotation_Divide__SWIG_0(swigCPtr, Rotation.getCPtr(other)), true);\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ return ret;\r
+ }\r
+\r
+ private Rotation Multiply(float scale)\r
+ {\r
+ Rotation ret = new Rotation(NDalicPINVOKE.Rotation_Multiply__SWIG_2(swigCPtr, scale), true);\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ return ret;\r
+ }\r
+\r
+ private Rotation Divide(float scale)\r
+ {\r
+ Rotation ret = new Rotation(NDalicPINVOKE.Rotation_Divide__SWIG_1(swigCPtr, scale), true);\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ return ret;\r
+ }\r
+\r
+ private Rotation Subtract()\r
+ {\r
+ Rotation ret = new Rotation(NDalicPINVOKE.Rotation_Subtract__SWIG_1(swigCPtr), true);\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ return ret;\r
+ }\r
+\r
+ private Rotation AddAssign(Rotation other)\r
+ {\r
+ Rotation ret = new Rotation(NDalicPINVOKE.Rotation_AddAssign(swigCPtr, Rotation.getCPtr(other)), false);\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ return ret;\r
+ }\r
+\r
+ private Rotation SubtractAssign(Rotation other)\r
+ {\r
+ Rotation ret = new Rotation(NDalicPINVOKE.Rotation_SubtractAssign(swigCPtr, Rotation.getCPtr(other)), false);\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ return ret;\r
+ }\r
+\r
+ private Rotation MultiplyAssign(Rotation other)\r
+ {\r
+ Rotation ret = new Rotation(NDalicPINVOKE.Rotation_MultiplyAssign__SWIG_0(swigCPtr, Rotation.getCPtr(other)), false);\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ return ret;\r
+ }\r
+\r
+ private Rotation MultiplyAssign(float scale)\r
+ {\r
+ Rotation ret = new Rotation(NDalicPINVOKE.Rotation_MultiplyAssign__SWIG_1(swigCPtr, scale), false);\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ return ret;\r
+ }\r
+\r
+ private Rotation DivideAssign(float scale)\r
+ {\r
+ Rotation ret = new Rotation(NDalicPINVOKE.Rotation_DivideAssign(swigCPtr, scale), false);\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ return ret;\r
+ }\r
+\r
+ private bool EqualTo(Rotation rhs)\r
+ {\r
+ bool ret = NDalicPINVOKE.Rotation_EqualTo(swigCPtr, Rotation.getCPtr(rhs));\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ return ret;\r
+ }\r
+\r
+ private bool NotEqualTo(Rotation rhs)\r
+ {\r
+ bool ret = NDalicPINVOKE.Rotation_NotEqualTo(swigCPtr, Rotation.getCPtr(rhs));\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ return ret;\r
+ }\r
+\r
+ public float Length()\r
+ {\r
+ float ret = NDalicPINVOKE.Rotation_Length(swigCPtr);\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ return ret;\r
+ }\r
+\r
+ public float LengthSquared()\r
+ {\r
+ float ret = NDalicPINVOKE.Rotation_LengthSquared(swigCPtr);\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ return ret;\r
+ }\r
+\r
+ public void Normalize()\r
+ {\r
+ NDalicPINVOKE.Rotation_Normalize(swigCPtr);\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ }\r
+\r
+ public Rotation Normalized()\r
+ {\r
+ Rotation ret = new Rotation(NDalicPINVOKE.Rotation_Normalized(swigCPtr), true);\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ return ret;\r
+ }\r
+\r
+ public void Conjugate()\r
+ {\r
+ NDalicPINVOKE.Rotation_Conjugate(swigCPtr);\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ }\r
+\r
+ public void Invert()\r
+ {\r
+ NDalicPINVOKE.Rotation_Invert(swigCPtr);\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ }\r
+\r
+ public Rotation Log()\r
+ {\r
+ Rotation ret = new Rotation(NDalicPINVOKE.Rotation_Log(swigCPtr), true);\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ return ret;\r
+ }\r
+\r
+ public Rotation Exp()\r
+ {\r
+ Rotation ret = new Rotation(NDalicPINVOKE.Rotation_Exp(swigCPtr), true);\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ return ret;\r
+ }\r
+\r
+ public static float Dot(Rotation q1, Rotation q2)\r
+ {\r
+ float ret = NDalicPINVOKE.Rotation_Dot(Rotation.getCPtr(q1), Rotation.getCPtr(q2));\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ return ret;\r
+ }\r
+\r
+ public static Rotation Lerp(Rotation q1, Rotation q2, float t)\r
+ {\r
+ Rotation ret = new Rotation(NDalicPINVOKE.Rotation_Lerp(Rotation.getCPtr(q1), Rotation.getCPtr(q2), t), true);\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ return ret;\r
+ }\r
+\r
+ public static Rotation Slerp(Rotation q1, Rotation q2, float progress)\r
+ {\r
+ Rotation ret = new Rotation(NDalicPINVOKE.Rotation_Slerp(Rotation.getCPtr(q1), Rotation.getCPtr(q2), progress), true);\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ return ret;\r
+ }\r
+\r
+ public static Rotation SlerpNoInvert(Rotation q1, Rotation q2, float t)\r
+ {\r
+ Rotation ret = new Rotation(NDalicPINVOKE.Rotation_SlerpNoInvert(Rotation.getCPtr(q1), Rotation.getCPtr(q2), t), true);\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ return ret;\r
+ }\r
+\r
+ public static Rotation Squad(Rotation start, Rotation end, Rotation ctrl1, Rotation ctrl2, float t)\r
+ {\r
+ Rotation ret = new Rotation(NDalicPINVOKE.Rotation_Squad(Rotation.getCPtr(start), Rotation.getCPtr(end), Rotation.getCPtr(ctrl1), Rotation.getCPtr(ctrl2), t), true);\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ return ret;\r
+ }\r
+\r
+ public static float AngleBetween(Rotation q1, Rotation q2)\r
+ {\r
+ float ret = NDalicPINVOKE.Rotation_AngleBetween(Rotation.getCPtr(q1), Rotation.getCPtr(q2));\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ return ret;\r
+ }\r
+\r
+ }\r
+\r
+}\r
-// Copyright (c) 2016 Samsung Electronics Co., Ltd All Rights Reserved\r
-// PROPRIETARY/CONFIDENTIAL \r
-// This software is the confidential and proprietary\r
-// information of SAMSUNG ELECTRONICS ("Confidential Information"). You shall\r
-// not disclose such Confidential Information and shall use it only in\r
-// accordance with the terms of the license agreement you entered into with\r
-// SAMSUNG ELECTRONICS. SAMSUNG make no representations or warranties about the\r
-// suitability of the software, either express or implied, including but not\r
-// limited to the implied warranties of merchantability, fitness for a\r
-// particular purpose, or non-infringement. SAMSUNG shall not be liable for any\r
-// damages suffered by licensee as a result of using, modifying or distributing\r
-// this software or its derivatives.\r
-\r
-// Copyright (c) 2017 Samsung Electronics Co., Ltd.\r
-//\r
-// Licensed under the Apache License, Version 2.0 (the "License");\r
-// you may not use this file except in compliance with the License.\r
-// You may obtain a copy of the License at\r
-//\r
-// http://www.apache.org/licenses/LICENSE-2.0\r
+/** Copyright (c) 2017 Samsung Electronics Co., Ltd.\r
+*\r
+* Licensed under the Apache License, Version 2.0 (the "License");\r
+* you may not use this file except in compliance with the License.\r
+* You may obtain a copy of the License at\r
+*\r
+* http://www.apache.org/licenses/LICENSE-2.0\r
+*\r
+* Unless required by applicable law or agreed to in writing, software\r
+* distributed under the License is distributed on an "AS IS" BASIS,\r
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
+* See the License for the specific language governing permissions and\r
+* limitations under the License.\r
+*\r
+*/\r
+// This File has been auto-generated by SWIG and then modified using DALi Ruby Scripts\r
+//------------------------------------------------------------------------------\r
+// <auto-generated />\r
//\r
-// Unless required by applicable law or agreed to in writing, software\r
-// distributed under the License is distributed on an "AS IS" BASIS,\r
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
-// See the License for the specific language governing permissions and\r
-// limitations under the License.\r
+// This file was automatically generated by SWIG (http://www.swig.org).\r
+// Version 3.0.9\r
//\r
-\r
-// This File has been auto-generated by SWIG and then modified using DALi Ruby Scripts\r
-// Some have been manually changed\r
-\r
+// Do not make changes to this file unless you know what you are doing--modify\r
+// the SWIG interface file instead.\r
+//------------------------------------------------------------------------------\r
\r
namespace Tizen.NUI\r
{\r
}\r
\r
[UnmanagedFunctionPointer(CallingConvention.StdCall)]\r
- private delegate void PanFinishedEventCallback();\r
- private PanFinishedEventCallback _scrollBarPanFinishedEventCallback;\r
+ private delegate void PanFinishedEventCallbackDelegate();\r
private EventHandler<PanFinishedEventArgs> _scrollBarPanFinishedEventHandler;\r
+ private PanFinishedEventCallbackDelegate _scrollBarPanFinishedEventCallbackDelegate;\r
\r
[UnmanagedFunctionPointer(CallingConvention.StdCall)]\r
- private delegate void ScrollPositionIntervalReachedEventCallback();\r
- private ScrollPositionIntervalReachedEventCallback _scrollBarScrollPositionIntervalReachedEventCallback;\r
+ private delegate void ScrollPositionIntervalReachedEventCallbackDelegate();\r
private EventHandler<ScrollPositionIntervalReachedEventArgs> _scrollBarScrollPositionIntervalReachedEventHandler;\r
+ private ScrollPositionIntervalReachedEventCallbackDelegate _scrollBarScrollPositionIntervalReachedEventCallbackDelegate;\r
\r
public event EventHandler<PanFinishedEventArgs> PanFinished\r
{\r
add\r
{\r
- if (_scrollBarPanFinishedEventCallback == null)\r
+ if (_scrollBarPanFinishedEventHandler == null)\r
{\r
- _scrollBarPanFinishedEventCallback = OnScrollBarPanFinished;\r
- PanFinishedSignal().Connect(_scrollBarPanFinishedEventCallback);\r
+ _scrollBarPanFinishedEventCallbackDelegate = (OnScrollBarPanFinished);\r
+ PanFinishedSignal().Connect(_scrollBarPanFinishedEventCallbackDelegate);\r
}\r
_scrollBarPanFinishedEventHandler += value;\r
}\r
remove\r
{\r
- if (_scrollBarPanFinishedEventCallback != null)\r
+ _scrollBarPanFinishedEventHandler -= value;\r
+ if (_scrollBarPanFinishedEventHandler == null && _scrollBarPanFinishedEventCallbackDelegate != null)\r
{\r
- PanFinishedSignal().Disconnect(_scrollBarPanFinishedEventCallback);\r
+ PanFinishedSignal().Disconnect(_scrollBarPanFinishedEventCallbackDelegate);\r
}\r
- _scrollBarPanFinishedEventHandler -= value;\r
}\r
}\r
\r
+ // Callback for ScrollBar PanFinishedSignal\r
private void OnScrollBarPanFinished()\r
{\r
PanFinishedEventArgs e = new PanFinishedEventArgs();\r
\r
if (_scrollBarPanFinishedEventHandler != null)\r
{\r
+ //here we send all data to user event handlers\r
_scrollBarPanFinishedEventHandler(this, e);\r
}\r
}\r
{\r
if (_scrollBarScrollPositionIntervalReachedEventHandler == null)\r
{\r
- _scrollBarScrollPositionIntervalReachedEventCallback = OnScrollBarScrollPositionIntervalReached;\r
- ScrollPositionIntervalReachedSignal().Connect(_scrollBarScrollPositionIntervalReachedEventCallback);\r
+ _scrollBarScrollPositionIntervalReachedEventCallbackDelegate = (OnScrollBarScrollPositionIntervalReached);\r
+ ScrollPositionIntervalReachedSignal().Connect(_scrollBarScrollPositionIntervalReachedEventCallbackDelegate);\r
}\r
_scrollBarScrollPositionIntervalReachedEventHandler += value;\r
}\r
remove\r
{\r
- if (_scrollBarScrollPositionIntervalReachedEventHandler != null)\r
+ _scrollBarScrollPositionIntervalReachedEventHandler -= value;\r
+ if (_scrollBarScrollPositionIntervalReachedEventHandler == null && _scrollBarScrollPositionIntervalReachedEventCallbackDelegate != null)\r
{\r
- ScrollPositionIntervalReachedSignal().Disconnect(_scrollBarScrollPositionIntervalReachedEventCallback);\r
+ ScrollPositionIntervalReachedSignal().Disconnect(_scrollBarScrollPositionIntervalReachedEventCallbackDelegate);\r
}\r
- _scrollBarScrollPositionIntervalReachedEventHandler -= value;\r
}\r
}\r
\r
+ // Callback for ScrollBar ScrollPositionIntervalReachedSignal\r
private void OnScrollBarScrollPositionIntervalReached()\r
{\r
ScrollPositionIntervalReachedEventArgs e = new ScrollPositionIntervalReachedEventArgs();\r
\r
if (_scrollBarScrollPositionIntervalReachedEventHandler != null)\r
{\r
+ //here we send all data to user event handlers\r
_scrollBarScrollPositionIntervalReachedEventHandler(this, e);\r
}\r
}\r
-// Copyright (c) 2016 Samsung Electronics Co., Ltd All Rights Reserved\r
-// PROPRIETARY/CONFIDENTIAL \r
-// This software is the confidential and proprietary\r
-// information of SAMSUNG ELECTRONICS ("Confidential Information"). You shall\r
-// not disclose such Confidential Information and shall use it only in\r
-// accordance with the terms of the license agreement you entered into with\r
-// SAMSUNG ELECTRONICS. SAMSUNG make no representations or warranties about the\r
-// suitability of the software, either express or implied, including but not\r
-// limited to the implied warranties of merchantability, fitness for a\r
-// particular purpose, or non-infringement. SAMSUNG shall not be liable for any\r
-// damages suffered by licensee as a result of using, modifying or distributing\r
-// this software or its derivatives.\r
-\r
-// Copyright (c) 2017 Samsung Electronics Co., Ltd.\r
-//\r
-// Licensed under the Apache License, Version 2.0 (the "License");\r
-// you may not use this file except in compliance with the License.\r
-// You may obtain a copy of the License at\r
-//\r
-// http://www.apache.org/licenses/LICENSE-2.0\r
-//\r
-// Unless required by applicable law or agreed to in writing, software\r
-// distributed under the License is distributed on an "AS IS" BASIS,\r
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
-// See the License for the specific language governing permissions and\r
-// limitations under the License.\r
-//\r
-\r
-// This File has been auto-generated by SWIG and then modified using DALi Ruby Scripts\r
-// Some have been manually changed\r
-\r
-\r
+/*
+ * 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.
+ *
+ */
+
namespace Tizen.NUI\r
{\r
\r
}\r
\r
\r
- internal static Size GetVector3FromPtr(global::System.IntPtr cPtr)\r
+ public static Size operator +(Size arg1, Size arg2)\r
+ {\r
+ return arg1.Add(arg2);\r
+ }\r
+\r
+ public static Size operator -(Size arg1, Size arg2)\r
+ {\r
+ return arg1.Subtract(arg2);\r
+ }\r
+\r
+ public static Size operator -(Size arg1)\r
+ {\r
+ return arg1.Subtract();\r
+ }\r
+\r
+ public static Size operator *(Size arg1, Size arg2)\r
+ {\r
+ return arg1.Multiply(arg2);\r
+ }\r
+\r
+ public static Size operator *(Size arg1, float arg2)\r
+ {\r
+ return arg1.Multiply(arg2);\r
+ }\r
+\r
+ public static Size operator /(Size arg1, Size arg2)\r
+ {\r
+ return arg1.Divide(arg2);\r
+ }\r
+\r
+ public static Size operator /(Size arg1, float arg2)\r
+ {\r
+ return arg1.Divide(arg2);\r
+ }\r
+\r
+ public float this[uint index]\r
+ {\r
+ get\r
+ {\r
+ return ValueOfIndex(index);\r
+ }\r
+ }\r
+\r
+ public static Size GetSizeFromPtr(global::System.IntPtr cPtr)\r
{\r
Size ret = new Size(cPtr, false);\r
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
}\r
\r
+ public Size(Size2D size2d) : this(NDalicPINVOKE.new_Vector3__SWIG_3(Size2D.getCPtr(size2d)), true)\r
+ {\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ }\r
\r
\r
-\r
- public float Width\r
+ public static Size Zero\r
{\r
- set\r
- {\r
- NDalicPINVOKE.Vector3_Width_set(swigCPtr, value);\r
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
- }\r
get\r
{\r
- float ret = NDalicPINVOKE.Vector3_Width_get(swigCPtr);\r
+ global::System.IntPtr cPtr = NDalicPINVOKE.Vector3_ZERO_get();\r
+ Size ret = (cPtr == global::System.IntPtr.Zero) ? null : new Size(cPtr, false);\r
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
return ret;\r
}\r
}\r
\r
- public float Height\r
+ private Size Add(Size rhs)\r
{\r
- set\r
- {\r
- NDalicPINVOKE.Vector3_Height_set(swigCPtr, value);\r
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
- }\r
- get\r
- {\r
- float ret = NDalicPINVOKE.Vector3_Height_get(swigCPtr);\r
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
- return ret;\r
- }\r
+ Size ret = new Size(NDalicPINVOKE.Vector3_Add(swigCPtr, Size.getCPtr(rhs)), true);\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ return ret;\r
}\r
\r
- public float Depth\r
+ private Size Subtract(Size rhs)\r
{\r
- set\r
- {\r
- NDalicPINVOKE.Vector3_Depth_set(swigCPtr, value);\r
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
- }\r
- get\r
- {\r
- float ret = NDalicPINVOKE.Vector3_Depth_get(swigCPtr);\r
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
- return ret;\r
- }\r
+ Size ret = new Size(NDalicPINVOKE.Vector3_Subtract__SWIG_0(swigCPtr, Size.getCPtr(rhs)), true);\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ return ret;\r
}\r
\r
- }\r
-\r
-\r
- public class Size2D : global::System.IDisposable\r
- {\r
- private global::System.Runtime.InteropServices.HandleRef swigCPtr;\r
- protected bool swigCMemOwn;\r
-\r
- internal Size2D(global::System.IntPtr cPtr, bool cMemoryOwn)\r
+ private Size Multiply(Size rhs)\r
{\r
- swigCMemOwn = cMemoryOwn;\r
- swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);\r
+ Size ret = new Size(NDalicPINVOKE.Vector3_Multiply__SWIG_0(swigCPtr, Size.getCPtr(rhs)), true);\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ return ret;\r
}\r
\r
- internal static global::System.Runtime.InteropServices.HandleRef getCPtr(Size2D obj)\r
+ private Size Multiply(float rhs)\r
{\r
- return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;\r
+ Size ret = new Size(NDalicPINVOKE.Vector3_Multiply__SWIG_1(swigCPtr, rhs), true);\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ return ret;\r
}\r
\r
- ~Size2D()\r
+ private Size Divide(Size rhs)\r
{\r
- DisposeQueue.Instance.Add(this);\r
+ Size ret = new Size(NDalicPINVOKE.Vector3_Divide__SWIG_0(swigCPtr, Size.getCPtr(rhs)), true);\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ return ret;\r
}\r
\r
- public virtual void Dispose()\r
+ private Size Divide(float rhs)\r
{\r
- if (!Stage.IsInstalled())\r
- {\r
- DisposeQueue.Instance.Add(this);\r
- return;\r
- }\r
-\r
- lock (this)\r
- {\r
- if (swigCPtr.Handle != global::System.IntPtr.Zero)\r
- {\r
- if (swigCMemOwn)\r
- {\r
- swigCMemOwn = false;\r
- NDalicPINVOKE.delete_Vector2(swigCPtr);\r
- }\r
- swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);\r
- }\r
- global::System.GC.SuppressFinalize(this);\r
- }\r
+ Size ret = new Size(NDalicPINVOKE.Vector3_Divide__SWIG_1(swigCPtr, rhs), true);\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ return ret;\r
}\r
\r
-\r
- internal static Size2D GetVector2FromPtr(global::System.IntPtr cPtr)\r
+ private Size Subtract()\r
{\r
- Size2D ret = new Size2D(cPtr, false);\r
+ Size ret = new Size(NDalicPINVOKE.Vector3_Subtract__SWIG_1(swigCPtr), true);\r
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
return ret;\r
}\r
\r
+ private float ValueOfIndex(uint index)\r
+ {\r
+ float ret = NDalicPINVOKE.Vector3_ValueOfIndex__SWIG_0(swigCPtr, index);\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ return ret;\r
+ }\r
\r
- public Size2D() : this(NDalicPINVOKE.new_Vector2__SWIG_0(), true)\r
+ public bool EqualTo(Size rhs)\r
{\r
+ bool ret = NDalicPINVOKE.Vector3_EqualTo(swigCPtr, Size.getCPtr(rhs));\r
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ return ret;\r
}\r
\r
- public Size2D(float x, float y) : this(NDalicPINVOKE.new_Vector2__SWIG_1(x, y), true)\r
+ public bool NotEqualTo(Size rhs)\r
{\r
+ bool ret = NDalicPINVOKE.Vector3_NotEqualTo(swigCPtr, Size.getCPtr(rhs));\r
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ return ret;\r
}\r
\r
+\r
public float Width\r
{\r
set\r
{\r
- NDalicPINVOKE.Vector2_Width_set(swigCPtr, value);\r
+ NDalicPINVOKE.Vector3_Width_set(swigCPtr, value);\r
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
}\r
get\r
{\r
- float ret = NDalicPINVOKE.Vector2_Width_get(swigCPtr);\r
+ float ret = NDalicPINVOKE.Vector3_Width_get(swigCPtr);\r
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
return ret;\r
}\r
}\r
\r
-\r
public float Height\r
{\r
set\r
{\r
- NDalicPINVOKE.Vector2_Height_set(swigCPtr, value);\r
+ NDalicPINVOKE.Vector3_Height_set(swigCPtr, value);\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ }\r
+ get\r
+ {\r
+ float ret = NDalicPINVOKE.Vector3_Height_get(swigCPtr);\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ return ret;\r
+ }\r
+ }\r
+\r
+ public float Depth\r
+ {\r
+ set\r
+ {\r
+ NDalicPINVOKE.Vector3_Depth_set(swigCPtr, value);\r
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
}\r
get\r
{\r
- float ret = NDalicPINVOKE.Vector2_Height_get(swigCPtr);\r
+ float ret = NDalicPINVOKE.Vector3_Depth_get(swigCPtr);\r
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
return ret;\r
}\r
}\r
\r
- }\r
\r
-}\r
+ public static implicit operator Vector3(Size size)\r
+ {\r
+ return new Vector3(size.Width, size.Height, size.Depth);\r
+ }\r
+\r
+ public static implicit operator Size(Vector3 vec)\r
+ {\r
+ return new Size(vec.Width, vec.Height, vec.Depth);\r
+ }\r
\r
+ }
+
+}
+
--- /dev/null
+/*
+ * 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.
+ *
+ */
+
+namespace Tizen.NUI\r
+{\r
+\r
+ public class Size2D : global::System.IDisposable\r
+ {\r
+ private global::System.Runtime.InteropServices.HandleRef swigCPtr;\r
+ protected bool swigCMemOwn;\r
+\r
+ internal Size2D(global::System.IntPtr cPtr, bool cMemoryOwn)\r
+ {\r
+ swigCMemOwn = cMemoryOwn;\r
+ swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);\r
+ }\r
+\r
+ internal static global::System.Runtime.InteropServices.HandleRef getCPtr(Size2D obj)\r
+ {\r
+ return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;\r
+ }\r
+\r
+ ~Size2D()\r
+ {\r
+ DisposeQueue.Instance.Add(this);\r
+ }\r
+\r
+ public virtual void Dispose()\r
+ {\r
+ if (!Stage.IsInstalled())\r
+ {\r
+ DisposeQueue.Instance.Add(this);\r
+ return;\r
+ }\r
+\r
+ lock (this)\r
+ {\r
+ if (swigCPtr.Handle != global::System.IntPtr.Zero)\r
+ {\r
+ if (swigCMemOwn)\r
+ {\r
+ swigCMemOwn = false;\r
+ NDalicPINVOKE.delete_Vector2(swigCPtr);\r
+ }\r
+ swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);\r
+ }\r
+ global::System.GC.SuppressFinalize(this);\r
+ }\r
+ }\r
+\r
+\r
+ public static Size2D operator +(Size2D arg1, Size2D arg2)\r
+ {\r
+ return arg1.Add(arg2);\r
+ }\r
+\r
+ public static Size2D operator -(Size2D arg1, Size2D arg2)\r
+ {\r
+ return arg1.Subtract(arg2);\r
+ }\r
+\r
+ public static Size2D operator -(Size2D arg1)\r
+ {\r
+ return arg1.Subtract();\r
+ }\r
+\r
+ public static Size2D operator *(Size2D arg1, Size2D arg2)\r
+ {\r
+ return arg1.Multiply(arg2);\r
+ }\r
+\r
+ public static Size2D operator *(Size2D arg1, int arg2)\r
+ {\r
+ return arg1.Multiply(arg2);\r
+ }\r
+\r
+ public static Size2D operator /(Size2D arg1, Size2D arg2)\r
+ {\r
+ return arg1.Divide(arg2);\r
+ }\r
+\r
+ public static Size2D operator /(Size2D arg1, int arg2)\r
+ {\r
+ return arg1.Divide(arg2);\r
+ }\r
+\r
+ public float this[uint index]\r
+ {\r
+ get\r
+ {\r
+ return ValueOfIndex(index);\r
+ }\r
+ }\r
+\r
+ public static Size2D GetSize2DFromPtr(global::System.IntPtr cPtr)\r
+ {\r
+ Size2D ret = new Size2D(cPtr, false);\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ return ret;\r
+ }\r
+\r
+\r
+ public Size2D() : this(NDalicPINVOKE.new_Vector2__SWIG_0(), true)\r
+ {\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ }\r
+\r
+ public Size2D(int x, int y) : this(NDalicPINVOKE.new_Vector2__SWIG_1((float)x, (float)y), true)\r
+ {\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ }\r
+\r
+ public Size2D(Size size) : this(NDalicPINVOKE.new_Vector2__SWIG_3(Size.getCPtr(size)), true)\r
+ {\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ }\r
+\r
+ private Size2D Add(Size2D rhs)\r
+ {\r
+ Size2D ret = new Size2D(NDalicPINVOKE.Vector2_Add(swigCPtr, Size2D.getCPtr(rhs)), true);\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ return ret;\r
+ }\r
+\r
+ private Size2D Subtract(Size2D rhs)\r
+ {\r
+ Size2D ret = new Size2D(NDalicPINVOKE.Vector2_Subtract__SWIG_0(swigCPtr, Size2D.getCPtr(rhs)), true);\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ return ret;\r
+ }\r
+\r
+\r
+ private Size2D Multiply(Size2D rhs)\r
+ {\r
+ Size2D ret = new Size2D(NDalicPINVOKE.Vector2_Multiply__SWIG_0(swigCPtr, Size2D.getCPtr(rhs)), true);\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ return ret;\r
+ }\r
+\r
+ private Size2D Multiply(int rhs)\r
+ {\r
+ Size2D ret = new Size2D(NDalicPINVOKE.Vector2_Multiply__SWIG_1(swigCPtr, (float)rhs), true);\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ return ret;\r
+ }\r
+\r
+\r
+ private Size2D Divide(Size2D rhs)\r
+ {\r
+ Size2D ret = new Size2D(NDalicPINVOKE.Vector2_Divide__SWIG_0(swigCPtr, Size2D.getCPtr(rhs)), true);\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ return ret;\r
+ }\r
+\r
+ private Size2D Divide(int rhs)\r
+ {\r
+ Size2D ret = new Size2D(NDalicPINVOKE.Vector2_Divide__SWIG_1(swigCPtr, (float)rhs), true);\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ return ret;\r
+ }\r
+\r
+ private Size2D Subtract()\r
+ {\r
+ Size2D ret = new Size2D(NDalicPINVOKE.Vector2_Subtract__SWIG_1(swigCPtr), true);\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ return ret;\r
+ }\r
+\r
+ public bool EqualTo(Size2D rhs)\r
+ {\r
+ bool ret = NDalicPINVOKE.Vector2_EqualTo(swigCPtr, Size2D.getCPtr(rhs));\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ return ret;\r
+ }\r
+\r
+ public bool NotEqualTo(Size2D rhs)\r
+ {\r
+ bool ret = NDalicPINVOKE.Vector2_NotEqualTo(swigCPtr, Size2D.getCPtr(rhs));\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ return ret;\r
+ }\r
+\r
+ private int ValueOfIndex(uint index)\r
+ {\r
+ int ret = (int)NDalicPINVOKE.Vector2_ValueOfIndex__SWIG_0(swigCPtr, index);\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ return ret;\r
+ }\r
+\r
+\r
+ public int Width\r
+ {\r
+ set\r
+ {\r
+ NDalicPINVOKE.Vector2_Width_set(swigCPtr, (float)value);\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ }\r
+ get\r
+ {\r
+ float ret = NDalicPINVOKE.Vector2_Width_get(swigCPtr);\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ return (int)ret;\r
+ }\r
+ }\r
+\r
+ public int Height\r
+ {\r
+ set\r
+ {\r
+ NDalicPINVOKE.Vector2_Height_set(swigCPtr, (float)value);\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ }\r
+ get\r
+ {\r
+ float ret = NDalicPINVOKE.Vector2_Height_get(swigCPtr);\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ return (int)ret;\r
+ }\r
+ }\r
+\r
+ public static implicit operator Vector2(Size2D size)\r
+ {\r
+ return new Vector2((float)size.Width, (float)size.Height);\r
+ }\r
+\r
+ public static implicit operator Size2D(Vector2 vec)\r
+ {\r
+ return new Size2D((int)vec.X, (int)vec.Y);\r
+ }\r
+\r
+ }
+
+}
+
-// Copyright (c) 2016 Samsung Electronics Co., Ltd All Rights Reserved\r
-// PROPRIETARY/CONFIDENTIAL \r
-// This software is the confidential and proprietary\r
-// information of SAMSUNG ELECTRONICS ("Confidential Information"). You shall\r
-// not disclose such Confidential Information and shall use it only in\r
-// accordance with the terms of the license agreement you entered into with\r
-// SAMSUNG ELECTRONICS. SAMSUNG make no representations or warranties about the\r
-// suitability of the software, either express or implied, including but not\r
-// limited to the implied warranties of merchantability, fitness for a\r
-// particular purpose, or non-infringement. SAMSUNG shall not be liable for any\r
-// damages suffered by licensee as a result of using, modifying or distributing\r
-// this software or its derivatives.\r
-\r
-// Copyright (c) 2017 Samsung Electronics Co., Ltd.\r
-//\r
-// Licensed under the Apache License, Version 2.0 (the "License");\r
-// you may not use this file except in compliance with the License.\r
-// You may obtain a copy of the License at\r
-//\r
-// http://www.apache.org/licenses/LICENSE-2.0\r
+/** Copyright (c) 2017 Samsung Electronics Co., Ltd.\r
+*\r
+* Licensed under the Apache License, Version 2.0 (the "License");\r
+* you may not use this file except in compliance with the License.\r
+* You may obtain a copy of the License at\r
+*\r
+* http://www.apache.org/licenses/LICENSE-2.0\r
+*\r
+* Unless required by applicable law or agreed to in writing, software\r
+* distributed under the License is distributed on an "AS IS" BASIS,\r
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
+* See the License for the specific language governing permissions and\r
+* limitations under the License.\r
+*\r
+*/\r
+// This File has been auto-generated by SWIG and then modified using DALi Ruby Scripts\r
+//------------------------------------------------------------------------------\r
+// <auto-generated />\r
//\r
-// Unless required by applicable law or agreed to in writing, software\r
-// distributed under the License is distributed on an "AS IS" BASIS,\r
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
-// See the License for the specific language governing permissions and\r
-// limitations under the License.\r
+// This file was automatically generated by SWIG (http://www.swig.org).\r
+// Version 3.0.9\r
//\r
-\r
-// This File has been auto-generated by SWIG and then modified using DALi Ruby Scripts\r
-// Some have been manually changed\r
-\r
+// Do not make changes to this file unless you know what you are doing--modify\r
+// the SWIG interface file instead.\r
+//------------------------------------------------------------------------------\r
\r
namespace Tizen.NUI\r
{\r
{\r
add\r
{\r
- lock (this)\r
+ if (_sliderValueChangedEventHandler == null)\r
{\r
- // Restricted to only one listener\r
- if (_sliderValueChangedEventHandler == null)\r
- {\r
- _sliderValueChangedEventHandler += value;\r
-\r
- _sliderValueChangedCallbackDelegate = new ValueChangedCallbackDelegate(OnValueChanged);\r
- this.ValueChangedSignal().Connect(_sliderValueChangedCallbackDelegate);\r
- }\r
+ _sliderValueChangedCallbackDelegate = (OnValueChanged);\r
+ ValueChangedSignal().Connect(_sliderValueChangedCallbackDelegate);\r
}\r
+ _sliderValueChangedEventHandler += value;\r
}\r
-\r
remove\r
{\r
- lock (this)\r
+ _sliderValueChangedEventHandler -= value;\r
+ if (_sliderValueChangedEventHandler == null && _sliderValueChangedCallbackDelegate != null)\r
{\r
- if (_sliderValueChangedEventHandler != null)\r
- {\r
- this.ValueChangedSignal().Disconnect(_sliderValueChangedCallbackDelegate);\r
- }\r
-\r
- _sliderValueChangedEventHandler -= value;\r
+ ValueChangedSignal().Disconnect(_sliderValueChangedCallbackDelegate);\r
}\r
}\r
}\r
{\r
add\r
{\r
- lock (this)\r
+ if (_sliderSlidingFinishedEventHandler == null)\r
{\r
- // Restricted to only one listener\r
- if (_sliderSlidingFinishedEventHandler == null)\r
- {\r
- _sliderSlidingFinishedEventHandler += value;\r
-\r
- _sliderSlidingFinishedCallbackDelegate = new SlidingFinishedCallbackDelegate(OnSlidingFinished);\r
- this.SlidingFinishedSignal().Connect(_sliderSlidingFinishedCallbackDelegate);\r
- }\r
+ _sliderSlidingFinishedCallbackDelegate = (OnSlidingFinished);\r
+ SlidingFinishedSignal().Connect(_sliderSlidingFinishedCallbackDelegate);\r
}\r
+ _sliderSlidingFinishedEventHandler += value;\r
}\r
-\r
remove\r
{\r
- lock (this)\r
+ _sliderSlidingFinishedEventHandler -= value;\r
+ if (_sliderSlidingFinishedEventHandler == null && _sliderSlidingFinishedCallbackDelegate != null)\r
{\r
- if (_sliderSlidingFinishedEventHandler != null)\r
- {\r
- this.SlidingFinishedSignal().Disconnect(_sliderSlidingFinishedCallbackDelegate);\r
- }\r
-\r
- _sliderSlidingFinishedEventHandler -= value;\r
+ SlidingFinishedSignal().Disconnect(_sliderSlidingFinishedCallbackDelegate);\r
}\r
}\r
}\r
{\r
add\r
{\r
- lock (this)\r
+ if (_sliderMarkReachedEventHandler == null)\r
{\r
- // Restricted to only one listener\r
- if (_sliderMarkReachedEventHandler == null)\r
- {\r
- _sliderMarkReachedEventHandler += value;\r
-\r
- _sliderMarkReachedCallbackDelegate = new MarkReachedCallbackDelegate(OnMarkReached);\r
- this.MarkReachedSignal().Connect(_sliderMarkReachedCallbackDelegate);\r
- }\r
+ _sliderMarkReachedCallbackDelegate = (OnMarkReached);\r
+ MarkReachedSignal().Connect(_sliderMarkReachedCallbackDelegate);\r
}\r
+ _sliderMarkReachedEventHandler += value;\r
}\r
-\r
remove\r
{\r
- lock (this)\r
+ _sliderMarkReachedEventHandler -= value;\r
+ if (_sliderMarkReachedEventHandler == null && _sliderMarkReachedCallbackDelegate != null)\r
{\r
- if (_sliderMarkReachedEventHandler != null)\r
- {\r
- this.MarkReachedSignal().Disconnect(_sliderMarkReachedCallbackDelegate);\r
- }\r
-\r
- _sliderMarkReachedEventHandler -= value;\r
+ MarkReachedSignal().Disconnect(_sliderMarkReachedCallbackDelegate);\r
}\r
}\r
}\r
+++ /dev/null
-/*
- * Copyright (c) 2016 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.
- *
- */
-
-using System;
-using System.Runtime.InteropServices;
-using Tizen.NUI;
-
-// A spin control (for continously changing values when users can easily predict a set of values)
-
-namespace Tizen.NUI
-{
-public class Spin : CustomView
- {
- private VisualBase _arrowVisual;
- private TextField _textField;
- private int _arrowVisualPropertyIndex;
- private string _arrowImage;
- private int _currentValue;
- private int _minValue;
- private int _maxValue;
- private int _singleStep;
- private bool _wrappingEnabled;
- private string _fontFamily;
- private string _fontStyle;
- private int _pointSize;
- private Color _textColor;
- private Color _textBackgroundColor;
- private int _maxTextLength;
-
- // Called by DALi Builder if it finds a Spin control in a JSON file
- static CustomView CreateInstance()
- {
- return new Spin();
- }
-
- // static constructor registers the control type (only runs once)
- static Spin()
- {
- // ViewRegistry registers control type with DALi type registery
- // also uses introspection to find any properties that need to be registered with type registry
- ViewRegistry.Instance.Register(CreateInstance, typeof(Spin) );
- }
-
- public Spin() : base(typeof(Spin).Name, ViewBehaviour.RequiresKeyboardNavigationSupport | ViewBehaviour.DisableStyleChangeSignals)
- {
-
- }
-
- public override void OnInitialize()
- {
- // Initialize the propertiesControl
- _arrowImage = "./images/arrow.png";
- _textBackgroundColor = new Color(0.6f, 0.6f, 0.6f, 1.0f);
- _currentValue = 0;
- _minValue = 0;
- _maxValue = 0;
- _singleStep = 1;
- _maxTextLength = 0;
-
- // Create image visual for the arrow keys
- _arrowVisualPropertyIndex = RegisterProperty("ArrowImage", new PropertyValue(_arrowImage), Tizen.NUI.PropertyAccessMode.ReadWrite);
- _arrowVisual = VisualFactory.Get().CreateVisual( _arrowImage, new Uint16Pair(150, 150) );
- RegisterVisual( _arrowVisualPropertyIndex, _arrowVisual );
-
- // Create a text field
- _textField = new TextField();
- _textField.ParentOrigin = Tizen.NUI.ParentOrigin.Center;
- _textField.AnchorPoint = Tizen.NUI.AnchorPoint.Center;\r
- _textField.WidthResizePolicy = ResizePolicyType.SizeRelativeToParent;
- _textField.HeightResizePolicy = ResizePolicyType.SizeRelativeToParent;\r
- _textField.SizeModeFactor = new Vector3( 1.0f, 0.45f, 1.0f );
- _textField.PlaceholderText = "----";
- _textField.BackgroundColor = _textBackgroundColor;
- _textField.HorizontalAlignment = "Center";
- _textField.VerticalAlignment = "Center";
- _textField.SetKeyboardFocusable(true);
- _textField.Name = "_textField";
-
- this.Add(_textField);
-
- _textField.FocusGained += TextFieldKeyInputFocusGained;
- _textField.FocusLost += TextFieldKeyInputFocusLost;
- }
-
- public override Size GetNaturalSize()
- {
- return new Size(150.0f, 150.0f, 0.0f);
- }
-
- public void TextFieldKeyInputFocusGained(object source, EventArgs e)
- {
- // Make sure when the current spin that takes input focus also takes the keyboard focus
- // For example, when you tap the spin directly
- FocusManager.Instance.SetCurrentFocusView(_textField);
- }
-
- public void TextFieldKeyInputFocusLost(object source, EventArgs e)
- {
- int previousValue = _currentValue;
-
- // If the input value is invalid, change it back to the previous valid value
- if(int.TryParse(_textField.Text, out _currentValue))
- {
- if (_currentValue < _minValue || _currentValue > _maxValue)
- {
- _currentValue = previousValue;
- }
- }
- else
- {
- _currentValue = previousValue;
- }
-
- // Otherwise take the new value
- this.Value = _currentValue;
- }
-
- public override View GetNextFocusableView(View currentFocusedActor, View.FocusDirection direction, bool loopEnabled)
- {
- // Respond to Up/Down keys to change the value while keeping the current spin focused
- View nextFocusedActor = currentFocusedActor;
- if (direction == View.FocusDirection.Up)
- {
- this.Value += this.Step;
- nextFocusedActor = _textField;
- }
- else if (direction == View.FocusDirection.Down)
- {
- this.Value -= this.Step;
- nextFocusedActor = _textField;
- }
- else
- {
- // Return a native empty handle as nothing can be focused in the left or right
- nextFocusedActor = new View();
- nextFocusedActor.Reset();
- }
-
- return nextFocusedActor;
- }
-
-
- [ScriptableProperty()]
- public int Value
- {
- get
- {
- return _currentValue;
- }
- set
- {
-
- Console.WriteLine ("Value set to " + value );
- _currentValue = value;
-
- // Make sure no invalid value is accepted
- if (_currentValue < _minValue)
- {
- _currentValue = _minValue;
- }
-
- if (_currentValue > _maxValue)
- {
- _currentValue = _maxValue;
- }
-
- _textField.Text = _currentValue.ToString();
- }
- }
- // MinValue property of type int:
- [ScriptableProperty()]
- public int MinValue
- {
- get
- {
- return _minValue;
- }
- set
- {
- _minValue = value;
- }
- }
-
- // MaxValue property of type int:
- [ScriptableProperty()]
- public int MaxValue
- {
- get
- {
- return _maxValue;
- }
- set
- {
- _maxValue = value;
- }
- }
-
- // Step property of type int:
- [ScriptableProperty()]
- public int Step
- {
- get
- {
- return _singleStep;
- }
- set
- {
- _singleStep = value;
- }
- }
-
- // WrappingEnabled property of type bool:
- [ScriptableProperty()]
- public bool WrappingEnabled
- {
- get
- {
- return _wrappingEnabled;
- }
- set
- {
- _wrappingEnabled = value;
- }
- }
-
- // TextPointSize property of type int:
- [ScriptableProperty()]
- public int TextPointSize
- {
- get
- {
- return _pointSize;
- }
- set
- {
- _pointSize = value;
- _textField.PointSize = _pointSize;
- }
- }
-
- // TextColor property of type Color:
- [ScriptableProperty()]
- public Color TextColor
- {
- get
- {
- return _textColor;
- }
- set
- {
- Console.WriteLine ("TextColor set to " + value.R + "," + value.G + ","+ value.B);
-
- _textColor = value;
- _textField.TextColor = _textColor;
- }
- }
-
- // MaxTextLength property of type int:
- [ScriptableProperty()]
- public int MaxTextLength
- {
- get
- {
- return _maxTextLength;
- }
- set
- {
- _maxTextLength = value;
- _textField.MaxLength = _maxTextLength;
- }
- }
-
- public TextField SpinText
- {
- get
- {
- return _textField;
- }
- set
- {
- _textField = value;
- }
- }
-
- // Indicator property of type string:
- public string IndicatorImage
- {
- get
- {
- return _arrowImage;
- }
- set
- {
- _arrowImage = value;
- _arrowVisual = VisualFactory.Get().CreateVisual( _arrowImage, new Uint16Pair(150, 150) );
- RegisterVisual( _arrowVisualPropertyIndex, _arrowVisual );
- }
- }
-}
-}
\ No newline at end of file
-// Copyright (c) 2016 Samsung Electronics Co., Ltd All Rights Reserved\r
-// PROPRIETARY/CONFIDENTIAL \r
-// This software is the confidential and proprietary\r
-// information of SAMSUNG ELECTRONICS ("Confidential Information"). You shall\r
-// not disclose such Confidential Information and shall use it only in\r
-// accordance with the terms of the license agreement you entered into with\r
-// SAMSUNG ELECTRONICS. SAMSUNG make no representations or warranties about the\r
-// suitability of the software, either express or implied, including but not\r
-// limited to the implied warranties of merchantability, fitness for a\r
-// particular purpose, or non-infringement. SAMSUNG shall not be liable for any\r
-// damages suffered by licensee as a result of using, modifying or distributing\r
-// this software or its derivatives.\r
-\r
-// Copyright (c) 2017 Samsung Electronics Co., Ltd.\r
+//------------------------------------------------------------------------------\r
+// <auto-generated />\r
//\r
-// Licensed under the Apache License, Version 2.0 (the "License");\r
-// you may not use this file except in compliance with the License.\r
-// You may obtain a copy of the License at\r
+// This file was automatically generated by SWIG (http://www.swig.org).\r
+// Version 3.0.9\r
//\r
-// http://www.apache.org/licenses/LICENSE-2.0\r
-//\r
-// Unless required by applicable law or agreed to in writing, software\r
-// distributed under the License is distributed on an "AS IS" BASIS,\r
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
-// See the License for the specific language governing permissions and\r
-// limitations under the License.\r
-//\r
-\r
-// This File has been auto-generated by SWIG and then modified using DALi Ruby Scripts\r
-// Some have been manually changed\r
-\r
+// Do not make changes to this file unless you know what you are doing--modify\r
+// the SWIG interface file instead.\r
+//------------------------------------------------------------------------------\r
\r
namespace Tizen.NUI\r
{\r
}\r
\r
\r
+\r
+\r
/**\r
* @brief Event arguments that passed via Touch signal\r
*\r
}\r
}\r
\r
- private event EventHandler<TouchEventArgs> _stageTouchEventHandler;\r
- [UnmanagedFunctionPointer(CallingConvention.StdCall)]\r
- private delegate void StageTouchCallbackType(IntPtr data);\r
- private StageTouchCallbackType _stageTouchCallback;\r
+ private event EventHandler<TouchEventArgs> _stageTouchHandler;\r
+ private EventCallbackDelegateType1 _stageTouchCallbackDelegate;\r
\r
/**\r
* @brief Event for TouchEvent signal which can be used to subscribe/unsubscribe the event handler\r
{\r
add\r
{\r
- if (_stageTouchEventHandler == null)\r
+ if (_stageTouchHandler == null)\r
{\r
- _stageTouchCallback = OnStageTouch;\r
- TouchSignal().Connect(_stageTouchCallback);\r
+ _stageTouchCallbackDelegate = OnStageTouch;\r
+ TouchSignal().Connect(_stageTouchCallbackDelegate);\r
}\r
-\r
- _stageTouchEventHandler += value;\r
+ _stageTouchHandler += value;\r
}\r
remove\r
{\r
- _stageTouchEventHandler -= value;\r
-\r
- if (_stageTouchEventHandler == null && _stageTouchCallback != null)\r
+ _stageTouchHandler -= value;\r
+ if (_stageTouchHandler == null && _stageTouchCallbackDelegate != null)\r
{\r
- TouchSignal().Disconnect(_stageTouchCallback);\r
+ TouchSignal().Disconnect(_stageTouchCallbackDelegate);\r
}\r
}\r
}\r
e.Touch = Tizen.NUI.Touch.GetTouchFromPtr(data);\r
}\r
\r
- if (_stageTouchEventHandler != null)\r
+ if (_stageTouchHandler != null)\r
{\r
- _stageTouchEventHandler(this, e);\r
+ _stageTouchHandler(this, e);\r
}\r
}\r
\r
{\r
private Wheel _wheel;\r
\r
+ /**\r
+ * @brief Wheel - store a wheel rolling type MOUSE_WHEEL or CUSTOM_WHEEL\r
+ *\r
+ */\r
public Wheel Wheel\r
{\r
get\r
}\r
}\r
\r
- private event EventHandler<WheelEventArgs> _stageWheelEventHandler;\r
- [UnmanagedFunctionPointer(CallingConvention.StdCall)]\r
- private delegate void StageWheelCallbackType(IntPtr data);\r
- private StageWheelCallbackType _stageWheelCallback;\r
+ private event EventHandler<WheelEventArgs> _stageWheelHandler;\r
+ private EventCallbackDelegateType1 _stageWheelCallbackDelegate;\r
\r
/**\r
* @brief Event for Wheel signal which can be used to subscribe/unsubscribe the event handler\r
{\r
add\r
{\r
- if (_stageWheelEventHandler == null)\r
+ if (_stageWheelHandler == null)\r
{\r
- _stageWheelCallback = OnStageWheel;\r
- WheelEventSignal().Connect(_stageWheelCallback);\r
+ _stageWheelCallbackDelegate = OnStageWheel;\r
+ WheelEventSignal().Connect(_stageWheelCallbackDelegate);\r
}\r
-\r
- _stageWheelEventHandler += value;\r
+ _stageWheelHandler += value;\r
}\r
remove\r
{\r
- _stageWheelEventHandler -= value;\r
-\r
- if (_stageWheelEventHandler == null && _stageWheelCallback != null)\r
+ _stageWheelHandler -= value;\r
+ if (_stageWheelHandler == null && _stageWheelCallbackDelegate != null)\r
{\r
- WheelEventSignal().Disconnect(_stageWheelCallback);\r
+ WheelEventSignal().Disconnect(_stageWheelCallbackDelegate);\r
}\r
-\r
}\r
}\r
\r
e.Wheel = Tizen.NUI.Wheel.GetWheelFromPtr(data);\r
}\r
\r
- if (_stageWheelEventHandler != null)\r
+ if (_stageWheelHandler != null)\r
{\r
- _stageWheelEventHandler(this, e);\r
+ _stageWheelHandler(this, e);\r
}\r
}\r
\r
{\r
private Key _key;\r
\r
+ /**\r
+ * @brief Key - is the keyevent sent to Stage.\r
+ *\r
+ */\r
public Key Key\r
{\r
get\r
}\r
}\r
\r
- private event EventHandler<KeyEventArgs> _stageKeyEventHandler;\r
- [UnmanagedFunctionPointer(CallingConvention.StdCall)]\r
- private delegate void StageKeyCallbackType(IntPtr data);\r
- private StageKeyCallbackType _stageKeyCallback;\r
+ private event EventHandler<KeyEventArgs> _stageKeyHandler;\r
+ private EventCallbackDelegateType1 _stageKeyCallbackDelegate;\r
\r
/**\r
* @brief Event for Key signal which can be used to subscribe/unsubscribe the event handler\r
{\r
add\r
{\r
- if (_stageKeyEventHandler == null)\r
+ if (_stageKeyHandler == null)\r
{\r
- _stageKeyCallback = OnStageKey;\r
- KeyEventSignal().Connect(_stageKeyCallback);\r
+ _stageKeyCallbackDelegate = OnStageKey;\r
+ KeyEventSignal().Connect(_stageKeyCallbackDelegate);\r
}\r
-\r
- _stageKeyEventHandler += value;\r
+ _stageKeyHandler += value;\r
}\r
remove\r
{\r
- _stageKeyEventHandler -= value;\r
-\r
- if (_stageKeyEventHandler == null && _stageKeyCallback != null)\r
+ _stageKeyHandler -= value;\r
+ if (_stageKeyHandler == null && _stageKeyCallbackDelegate != null)\r
{\r
- KeyEventSignal().Disconnect(_stageKeyCallback);\r
+ KeyEventSignal().Disconnect(_stageKeyCallbackDelegate);\r
}\r
}\r
}\r
e.Key = Tizen.NUI.Key.GetKeyFromPtr(data);\r
}\r
\r
- if (_stageKeyEventHandler != null)\r
+ if (_stageKeyHandler != null)\r
{\r
- _stageKeyEventHandler(this, e);\r
+ //here we send all data to user event handlers\r
+ _stageKeyHandler(this, e);\r
}\r
}\r
\r
+\r
private event EventHandler _stageEventProcessingFinishedEventHandler;\r
- [UnmanagedFunctionPointer(CallingConvention.StdCall)]\r
- private delegate void StageEventProcessingFinishedEventCallbackType();\r
- private StageEventProcessingFinishedEventCallbackType _stageEventProcessingFinishedEventCallback;\r
+ private EventCallbackDelegateType0 _stageEventProcessingFinishedEventCallbackDelegate;\r
\r
/**\r
* @brief Event for EventProcessingFinished signal which can be used to subscribe/unsubscribe the event handler\r
{\r
if (_stageEventProcessingFinishedEventHandler == null)\r
{\r
- _stageEventProcessingFinishedEventCallback = OnEventProcessingFinished;\r
- EventProcessingFinishedSignal().Connect(_stageEventProcessingFinishedEventCallback);\r
+ _stageEventProcessingFinishedEventCallbackDelegate = OnEventProcessingFinished;\r
+ EventProcessingFinishedSignal().Connect(_stageEventProcessingFinishedEventCallbackDelegate);\r
}\r
-\r
_stageEventProcessingFinishedEventHandler += value;\r
+\r
}\r
remove\r
{\r
_stageEventProcessingFinishedEventHandler -= value;\r
-\r
- if (_stageEventProcessingFinishedEventHandler == null && _stageEventProcessingFinishedEventCallback != null)\r
+ if (_stageEventProcessingFinishedEventHandler == null && _stageEventProcessingFinishedEventCallbackDelegate != null)\r
{\r
- EventProcessingFinishedSignal().Disconnect(_stageEventProcessingFinishedEventCallback);\r
+ EventProcessingFinishedSignal().Disconnect(_stageEventProcessingFinishedEventCallbackDelegate);\r
}\r
}\r
}\r
\r
+ // Callback for Stage EventProcessingFinishedSignal\r
private void OnEventProcessingFinished()\r
{\r
if (_stageEventProcessingFinishedEventHandler != null)\r
}\r
}\r
\r
- private event EventHandler _stageContextLostEventHandler;\r
- [UnmanagedFunctionPointer(CallingConvention.StdCall)]\r
- private delegate void StageContextLostEventCallbackType();\r
- private StageContextLostEventCallbackType _stageContextLostEventCallback;\r
+\r
+ private EventHandler _stageContextLostEventHandler;\r
+ private EventCallbackDelegateType0 _stageContextLostEventCallbackDelegate;\r
\r
/**\r
* @brief Event for ContextLost signal which can be used to subscribe/unsubscribe the event handler\r
{\r
if (_stageContextLostEventHandler == null)\r
{\r
- _stageContextLostEventCallback = OnContextLost;\r
- ContextLostSignal().Connect(_stageContextLostEventCallback);\r
+ _stageContextLostEventCallbackDelegate = OnContextLost;\r
+ ContextLostSignal().Connect(_stageContextLostEventCallbackDelegate);\r
}\r
-\r
_stageContextLostEventHandler += value;\r
}\r
remove\r
{\r
_stageContextLostEventHandler -= value;\r
-\r
- if (_stageContextLostEventHandler == null && _stageContextLostEventCallback != null)\r
+ if (_stageContextLostEventHandler == null && _stageContextLostEventCallbackDelegate != null)\r
{\r
- ContextLostSignal().Disconnect(_stageContextLostEventCallback);\r
+ ContextLostSignal().Disconnect(_stageContextLostEventCallbackDelegate);\r
}\r
}\r
}\r
\r
+ // Callback for Stage ContextLostSignal\r
private void OnContextLost()\r
{\r
if (_stageContextLostEventHandler != null)\r
}\r
}\r
\r
- private event EventHandler _stageContextRegainedEventHandler;\r
- [UnmanagedFunctionPointer(CallingConvention.StdCall)]\r
- private delegate void StageContextRegainedEventCallbackType();\r
- private StageContextRegainedEventCallbackType _stageContextRegainedEventCallback;\r
+\r
+ private EventHandler _stageContextRegainedEventHandler;\r
+ private EventCallbackDelegateType0 _stageContextRegainedEventCallbackDelegate;\r
\r
/**\r
* @brief Event for ContextRegained signal which can be used to subscribe/unsubscribe the event handler\r
{\r
if (_stageContextRegainedEventHandler == null)\r
{\r
- _stageContextRegainedEventCallback = OnContextRegained;\r
- ContextRegainedSignal().Connect(_stageContextRegainedEventCallback);\r
+ _stageContextRegainedEventCallbackDelegate = OnContextRegained;\r
+ ContextRegainedSignal().Connect(_stageContextRegainedEventCallbackDelegate);\r
}\r
-\r
_stageContextRegainedEventHandler += value;\r
}\r
remove\r
{\r
_stageContextRegainedEventHandler -= value;\r
-\r
- if (_stageContextRegainedEventHandler == null && _stageContextRegainedEventCallback != null)\r
+ if (_stageContextRegainedEventHandler == null && _stageContextRegainedEventCallbackDelegate != null)\r
{\r
- ContextRegainedSignal().Disconnect(_stageContextRegainedEventCallback);\r
+ this.ContextRegainedSignal().Disconnect(_stageContextRegainedEventCallbackDelegate);\r
}\r
}\r
}\r
\r
+ // Callback for Stage ContextRegainedSignal\r
private void OnContextRegained()\r
{\r
if (_stageContextRegainedEventHandler != null)\r
}\r
}\r
\r
- private event EventHandler _stageSceneCreatedEventHandler;\r
- [UnmanagedFunctionPointer(CallingConvention.StdCall)]\r
- private delegate void StageSceneCreatedEventCallbackType();\r
- private StageSceneCreatedEventCallbackType _stageSceneCreatedEventCallback;\r
+\r
+ private EventHandler _stageSceneCreatedEventHandler;\r
+ private EventCallbackDelegateType0 _stageSceneCreatedEventCallbackDelegate;\r
\r
/**\r
* @brief Event for SceneCreated signal which can be used to subscribe/unsubscribe the event handler\r
{\r
if (_stageSceneCreatedEventHandler == null)\r
{\r
- _stageSceneCreatedEventCallback = OnSceneCreated;\r
- SceneCreatedSignal().Connect(_stageSceneCreatedEventCallback);\r
+ _stageSceneCreatedEventCallbackDelegate = OnSceneCreated;\r
+ SceneCreatedSignal().Connect(_stageSceneCreatedEventCallbackDelegate);\r
}\r
-\r
_stageSceneCreatedEventHandler += value;\r
}\r
remove\r
{\r
_stageSceneCreatedEventHandler -= value;\r
-\r
- if (_stageSceneCreatedEventHandler == null && _stageSceneCreatedEventCallback != null)\r
+ if (_stageSceneCreatedEventHandler == null && _stageSceneCreatedEventCallbackDelegate != null)\r
{\r
- SceneCreatedSignal().Disconnect(_stageSceneCreatedEventCallback);\r
+ SceneCreatedSignal().Disconnect(_stageSceneCreatedEventCallbackDelegate);\r
}\r
-\r
}\r
}\r
\r
+ // Callback for Stage SceneCreatedSignal\r
private void OnSceneCreated()\r
{\r
if (_stageSceneCreatedEventHandler != null)\r
this.Remove((Actor)layer);\r
}\r
\r
+\r
+\r
internal static Vector4 DEFAULT_BACKGROUND_COLOR\r
{\r
get\r
return ret;\r
}\r
\r
-\r
internal void SetBackgroundColor(Color color)\r
{\r
NDalicPINVOKE.Stage_SetBackgroundColor(swigCPtr, Color.getCPtr(color));\r
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
return ret;\r
}\r
+\r
internal Vector2 GetDpi()\r
{\r
Vector2 ret = new Vector2(NDalicPINVOKE.Stage_GetDpi(swigCPtr), true);\r
-// Copyright (c) 2016 Samsung Electronics Co., Ltd All Rights Reserved\r
-// PROPRIETARY/CONFIDENTIAL \r
-// This software is the confidential and proprietary\r
-// information of SAMSUNG ELECTRONICS ("Confidential Information"). You shall\r
-// not disclose such Confidential Information and shall use it only in\r
-// accordance with the terms of the license agreement you entered into with\r
-// SAMSUNG ELECTRONICS. SAMSUNG make no representations or warranties about the\r
-// suitability of the software, either express or implied, including but not\r
-// limited to the implied warranties of merchantability, fitness for a\r
-// particular purpose, or non-infringement. SAMSUNG shall not be liable for any\r
-// damages suffered by licensee as a result of using, modifying or distributing\r
-// this software or its derivatives.\r
-\r
-// Copyright (c) 2017 Samsung Electronics Co., Ltd.\r
+//------------------------------------------------------------------------------\r
+// <auto-generated />\r
//\r
-// Licensed under the Apache License, Version 2.0 (the "License");\r
-// you may not use this file except in compliance with the License.\r
-// You may obtain a copy of the License at\r
+// This file was automatically generated by SWIG (http://www.swig.org).\r
+// Version 3.0.9\r
//\r
-// http://www.apache.org/licenses/LICENSE-2.0\r
-//\r
-// Unless required by applicable law or agreed to in writing, software\r
-// distributed under the License is distributed on an "AS IS" BASIS,\r
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
-// See the License for the specific language governing permissions and\r
-// limitations under the License.\r
-//\r
-\r
-// This File has been auto-generated by SWIG and then modified using DALi Ruby Scripts\r
-// Some have been manually changed\r
-\r
+// Do not make changes to this file unless you know what you are doing--modify\r
+// the SWIG interface file instead.\r
+//------------------------------------------------------------------------------\r
\r
namespace Tizen.NUI\r
{\r
}\r
\r
\r
+\r
+\r
+ /**\r
+ * @brief Event arguments that passed via StyleChanged signal\r
+ *\r
+ */\r
public class StyleChangedEventArgs : EventArgs\r
{\r
private StyleManager _styleManager;\r
private StyleChangeType _styleChange;\r
\r
+ /**\r
+ * @brief StyleManager - is the StyleManager that informs applications of system theme change,\r
+ * and supports application theme change at runtime.\r
+ *\r
+ */\r
public StyleManager StyleManager\r
{\r
get\r
}\r
}\r
\r
+ /**\r
+ * @brief StyleChange - contains Style change information (default font changed or\r
+ * default font size changed or theme has changed)\r
+ *\r
+ */\r
public StyleChangeType StyleChange\r
{\r
get\r
}\r
\r
[UnmanagedFunctionPointer(CallingConvention.StdCall)]\r
- private delegate void StyleChangedCallback(IntPtr styleManager, StyleChangeType styleChange);\r
- private StyleChangedCallback _styleManagerStyleChangedCallback;\r
+ private delegate void StyleChangedCallbackDelegate(IntPtr styleManager, Tizen.NUI.StyleChangeType styleChange);\r
private EventHandler<StyleChangedEventArgs> _styleManagerStyleChangedEventHandler;\r
+ private StyleChangedCallbackDelegate _styleManagerStyleChangedCallbackDelegate;\r
\r
/**\r
* @brief Event for StyleChanged signal which can be used to subscribe/unsubscribe the\r
- * event handler (in the type of StyleChangedEventHandler-DaliEventHandler<StyleChangedEventArgs>) \r
+ * event handler (in the type of StyleChangedEventHandler-DaliEventHandler<object,StyleChangedEventArgs>) \r
* provided by the user. StyleChanged signal is is emitted after the style (e.g. theme/font change) has changed\r
* and the controls have been informed.\r
*/\r
{\r
add\r
{\r
- if (_styleManagerStyleChangedCallback == null)\r
+ if (_styleManagerStyleChangedEventHandler == null)\r
{\r
- _styleManagerStyleChangedCallback = OnStyleChanged;\r
- StyleChangedSignal().Connect(_styleManagerStyleChangedCallback);\r
+ _styleManagerStyleChangedCallbackDelegate = (OnStyleChanged);\r
+ StyleChangedSignal().Connect(_styleManagerStyleChangedCallbackDelegate);\r
}\r
_styleManagerStyleChangedEventHandler += value;\r
}\r
remove\r
{\r
- if (_styleManagerStyleChangedCallback != null)\r
+ _styleManagerStyleChangedEventHandler -= value;\r
+ if (_styleManagerStyleChangedEventHandler == null && _styleManagerStyleChangedCallbackDelegate != null)\r
{\r
- StyleChangedSignal().Disconnect(_styleManagerStyleChangedCallback);\r
+ StyleChangedSignal().Disconnect(_styleManagerStyleChangedCallbackDelegate);\r
}\r
- _styleManagerStyleChangedEventHandler -= value;\r
}\r
}\r
\r
+ // Callback for StyleManager StyleChangedsignal\r
private void OnStyleChanged(IntPtr styleManager, StyleChangeType styleChange)\r
{\r
StyleChangedEventArgs e = new StyleChangedEventArgs();\r
\r
+ // Populate all members of "e" (StyleChangedEventArgs) with real data\r
e.StyleManager = StyleManager.GetStyleManagerFromPtr(styleManager);\r
e.StyleChange = styleChange;\r
\r
if (_styleManagerStyleChangedEventHandler != null)\r
{\r
+ //here we send all data to user event handlers\r
_styleManagerStyleChangedEventHandler(this, e);\r
}\r
}\r
-// Copyright (c) 2016 Samsung Electronics Co., Ltd All Rights Reserved\r
-// PROPRIETARY/CONFIDENTIAL \r
-// This software is the confidential and proprietary\r
-// information of SAMSUNG ELECTRONICS ("Confidential Information"). You shall\r
-// not disclose such Confidential Information and shall use it only in\r
-// accordance with the terms of the license agreement you entered into with\r
-// SAMSUNG ELECTRONICS. SAMSUNG make no representations or warranties about the\r
-// suitability of the software, either express or implied, including but not\r
-// limited to the implied warranties of merchantability, fitness for a\r
-// particular purpose, or non-infringement. SAMSUNG shall not be liable for any\r
-// damages suffered by licensee as a result of using, modifying or distributing\r
-// this software or its derivatives.\r
-\r
-// Copyright (c) 2017 Samsung Electronics Co., Ltd.\r
-//\r
-// Licensed under the Apache License, Version 2.0 (the "License");\r
-// you may not use this file except in compliance with the License.\r
-// You may obtain a copy of the License at\r
-//\r
-// http://www.apache.org/licenses/LICENSE-2.0\r
+/** Copyright (c) 2017 Samsung Electronics Co., Ltd.\r
+*\r
+* Licensed under the Apache License, Version 2.0 (the "License");\r
+* you may not use this file except in compliance with the License.\r
+* You may obtain a copy of the License at\r
+*\r
+* http://www.apache.org/licenses/LICENSE-2.0\r
+*\r
+* Unless required by applicable law or agreed to in writing, software\r
+* distributed under the License is distributed on an "AS IS" BASIS,\r
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
+* See the License for the specific language governing permissions and\r
+* limitations under the License.\r
+*\r
+*/\r
+// This File has been auto-generated by SWIG and then modified using DALi Ruby Scripts\r
+//------------------------------------------------------------------------------\r
+// <auto-generated />\r
//\r
-// Unless required by applicable law or agreed to in writing, software\r
-// distributed under the License is distributed on an "AS IS" BASIS,\r
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
-// See the License for the specific language governing permissions and\r
-// limitations under the License.\r
+// This file was automatically generated by SWIG (http://www.swig.org).\r
+// Version 3.0.9\r
//\r
-\r
-// This File has been auto-generated by SWIG and then modified using DALi Ruby Scripts\r
-// Some have been manually changed\r
-\r
+// Do not make changes to this file unless you know what you are doing--modify\r
+// the SWIG interface file instead.\r
+//------------------------------------------------------------------------------\r
\r
namespace Tizen.NUI\r
{\r
-//------------------------------------------------------------------------------
-// <auto-generated />
-//
-// This file was automatically generated by SWIG (http://www.swig.org).
-// Version 3.0.9
-//
-// Do not make changes to this file unless you know what you are doing--modify
-// the SWIG interface file instead.
-//------------------------------------------------------------------------------
-
-namespace Tizen.NUI {
-
-public class TapGesture : Gesture {
- private global::System.Runtime.InteropServices.HandleRef swigCPtr;
-
- internal TapGesture(global::System.IntPtr cPtr, bool cMemoryOwn) : base(NDalicPINVOKE.TapGesture_SWIGUpcast(cPtr), cMemoryOwn) {
- swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
- }
-
- internal static global::System.Runtime.InteropServices.HandleRef getCPtr(TapGesture obj) {
- return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
- }
-
- ~TapGesture() {
- DisposeQueue.Instance.Add(this);
- }
-
- public override void Dispose() {
- if (!Stage.IsInstalled()) {
- DisposeQueue.Instance.Add(this);
- return;
- }
-
- lock(this) {
- if (swigCPtr.Handle != global::System.IntPtr.Zero) {
- if (swigCMemOwn) {
- swigCMemOwn = false;
- NDalicPINVOKE.delete_TapGesture(swigCPtr);
- }
- swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
- }
- global::System.GC.SuppressFinalize(this);
- base.Dispose();
- }
- }
-
-
- public static TapGesture GetTapGestureFromPtr(global::System.IntPtr cPtr) {
- TapGesture ret = new TapGesture(cPtr, false);
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- return ret;
- }
-
- public uint NumberOfTaps
- {
- get
- {
- return numberOfTaps;
- }
- }
-
- public uint NumberOfTouches
- {
- get
- {
- return numberOfTouches;
- }
- }
-
- public Vector2 ScreenPoint
- {
- get
- {
- return screenPoint;
- }
- }
-
- public Vector2 LocalPoint
- {
- get
- {
- return localPoint;
- }
- }
-
- public TapGesture() : this(NDalicPINVOKE.new_TapGesture__SWIG_0(), true) {
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- }
-
- public TapGesture(TapGesture rhs) : this(NDalicPINVOKE.new_TapGesture__SWIG_1(TapGesture.getCPtr(rhs)), true) {
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- }
-
- public TapGesture Assign(TapGesture rhs) {
- TapGesture ret = new TapGesture(NDalicPINVOKE.TapGesture_Assign(swigCPtr, TapGesture.getCPtr(rhs)), false);
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- return ret;
- }
-
- private uint numberOfTaps {
- set {
- NDalicPINVOKE.TapGesture_numberOfTaps_set(swigCPtr, value);
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- }
- get {
- uint ret = NDalicPINVOKE.TapGesture_numberOfTaps_get(swigCPtr);
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- return ret;
- }
- }
-
- private uint numberOfTouches {
- set {
- NDalicPINVOKE.TapGesture_numberOfTouches_set(swigCPtr, value);
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- }
- get {
- uint ret = NDalicPINVOKE.TapGesture_numberOfTouches_get(swigCPtr);
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- return ret;
- }
- }
-
- private Vector2 screenPoint {
- set {
- NDalicPINVOKE.TapGesture_screenPoint_set(swigCPtr, Vector2.getCPtr(value));
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- }
- get {
- global::System.IntPtr cPtr = NDalicPINVOKE.TapGesture_screenPoint_get(swigCPtr);
- Vector2 ret = (cPtr == global::System.IntPtr.Zero) ? null : new Vector2(cPtr, false);
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- return ret;
- }
- }
-
- private Vector2 localPoint {
- set {
- NDalicPINVOKE.TapGesture_localPoint_set(swigCPtr, Vector2.getCPtr(value));
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- }
- get {
- global::System.IntPtr cPtr = NDalicPINVOKE.TapGesture_localPoint_get(swigCPtr);
- Vector2 ret = (cPtr == global::System.IntPtr.Zero) ? null : new Vector2(cPtr, false);
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- return ret;
- }
- }
-
-}
-
-}
+//------------------------------------------------------------------------------\r
+// <auto-generated />\r
+//\r
+// This file was automatically generated by SWIG (http://www.swig.org).\r
+// Version 3.0.9\r
+//\r
+// Do not make changes to this file unless you know what you are doing--modify\r
+// the SWIG interface file instead.\r
+//------------------------------------------------------------------------------\r
+\r
+namespace Tizen.NUI\r
+{\r
+\r
+ public class TapGesture : Gesture\r
+ {\r
+ private global::System.Runtime.InteropServices.HandleRef swigCPtr;\r
+\r
+ internal TapGesture(global::System.IntPtr cPtr, bool cMemoryOwn) : base(NDalicPINVOKE.TapGesture_SWIGUpcast(cPtr), cMemoryOwn)\r
+ {\r
+ swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);\r
+ }\r
+\r
+ internal static global::System.Runtime.InteropServices.HandleRef getCPtr(TapGesture obj)\r
+ {\r
+ return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;\r
+ }\r
+\r
+ ~TapGesture()\r
+ {\r
+ DisposeQueue.Instance.Add(this);\r
+ }\r
+\r
+ public override void Dispose()\r
+ {\r
+ if (!Stage.IsInstalled())\r
+ {\r
+ DisposeQueue.Instance.Add(this);\r
+ return;\r
+ }\r
+\r
+ lock (this)\r
+ {\r
+ if (swigCPtr.Handle != global::System.IntPtr.Zero)\r
+ {\r
+ if (swigCMemOwn)\r
+ {\r
+ swigCMemOwn = false;\r
+ NDalicPINVOKE.delete_TapGesture(swigCPtr);\r
+ }\r
+ swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);\r
+ }\r
+ global::System.GC.SuppressFinalize(this);\r
+ base.Dispose();\r
+ }\r
+ }\r
+\r
+\r
+ public static TapGesture GetTapGestureFromPtr(global::System.IntPtr cPtr)\r
+ {\r
+ TapGesture ret = new TapGesture(cPtr, false);\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ return ret;\r
+ }\r
+\r
+ public uint NumberOfTaps\r
+ {\r
+ get\r
+ {\r
+ return numberOfTaps;\r
+ }\r
+ }\r
+\r
+ public uint NumberOfTouches\r
+ {\r
+ get\r
+ {\r
+ return numberOfTouches;\r
+ }\r
+ }\r
+\r
+ public Vector2 ScreenPoint\r
+ {\r
+ get\r
+ {\r
+ return screenPoint;\r
+ }\r
+ }\r
+\r
+ public Vector2 LocalPoint\r
+ {\r
+ get\r
+ {\r
+ return localPoint;\r
+ }\r
+ }\r
+\r
+ public TapGesture() : this(NDalicPINVOKE.new_TapGesture__SWIG_0(), true)\r
+ {\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ }\r
+\r
+ public TapGesture(TapGesture rhs) : this(NDalicPINVOKE.new_TapGesture__SWIG_1(TapGesture.getCPtr(rhs)), true)\r
+ {\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ }\r
+\r
+ public TapGesture Assign(TapGesture rhs)\r
+ {\r
+ TapGesture ret = new TapGesture(NDalicPINVOKE.TapGesture_Assign(swigCPtr, TapGesture.getCPtr(rhs)), false);\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ return ret;\r
+ }\r
+\r
+ private uint numberOfTaps\r
+ {\r
+ set\r
+ {\r
+ NDalicPINVOKE.TapGesture_numberOfTaps_set(swigCPtr, value);\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ }\r
+ get\r
+ {\r
+ uint ret = NDalicPINVOKE.TapGesture_numberOfTaps_get(swigCPtr);\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ return ret;\r
+ }\r
+ }\r
+\r
+ private uint numberOfTouches\r
+ {\r
+ set\r
+ {\r
+ NDalicPINVOKE.TapGesture_numberOfTouches_set(swigCPtr, value);\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ }\r
+ get\r
+ {\r
+ uint ret = NDalicPINVOKE.TapGesture_numberOfTouches_get(swigCPtr);\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ return ret;\r
+ }\r
+ }\r
+\r
+ private Vector2 screenPoint\r
+ {\r
+ set\r
+ {\r
+ NDalicPINVOKE.TapGesture_screenPoint_set(swigCPtr, Vector2.getCPtr(value));\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ }\r
+ get\r
+ {\r
+ global::System.IntPtr cPtr = NDalicPINVOKE.TapGesture_screenPoint_get(swigCPtr);\r
+ Vector2 ret = (cPtr == global::System.IntPtr.Zero) ? null : new Vector2(cPtr, false);\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ return ret;\r
+ }\r
+ }\r
+\r
+ private Vector2 localPoint\r
+ {\r
+ set\r
+ {\r
+ NDalicPINVOKE.TapGesture_localPoint_set(swigCPtr, Vector2.getCPtr(value));\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ }\r
+ get\r
+ {\r
+ global::System.IntPtr cPtr = NDalicPINVOKE.TapGesture_localPoint_get(swigCPtr);\r
+ Vector2 ret = (cPtr == global::System.IntPtr.Zero) ? null : new Vector2(cPtr, false);\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ return ret;\r
+ }\r
+ }\r
+\r
+ }\r
+\r
+}\r
-// Copyright (c) 2016 Samsung Electronics Co., Ltd All Rights Reserved\r
-// PROPRIETARY/CONFIDENTIAL \r
-// This software is the confidential and proprietary\r
-// information of SAMSUNG ELECTRONICS ("Confidential Information"). You shall\r
-// not disclose such Confidential Information and shall use it only in\r
-// accordance with the terms of the license agreement you entered into with\r
-// SAMSUNG ELECTRONICS. SAMSUNG make no representations or warranties about the\r
-// suitability of the software, either express or implied, including but not\r
-// limited to the implied warranties of merchantability, fitness for a\r
-// particular purpose, or non-infringement. SAMSUNG shall not be liable for any\r
-// damages suffered by licensee as a result of using, modifying or distributing\r
-// this software or its derivatives.\r
-\r
-// Copyright (c) 2017 Samsung Electronics Co., Ltd.\r
-//\r
-// Licensed under the Apache License, Version 2.0 (the "License");\r
-// you may not use this file except in compliance with the License.\r
-// You may obtain a copy of the License at\r
-//\r
-// http://www.apache.org/licenses/LICENSE-2.0\r
+/** Copyright (c) 2017 Samsung Electronics Co., Ltd.\r
+*\r
+* Licensed under the Apache License, Version 2.0 (the "License");\r
+* you may not use this file except in compliance with the License.\r
+* You may obtain a copy of the License at\r
+*\r
+* http://www.apache.org/licenses/LICENSE-2.0\r
+*\r
+* Unless required by applicable law or agreed to in writing, software\r
+* distributed under the License is distributed on an "AS IS" BASIS,\r
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
+* See the License for the specific language governing permissions and\r
+* limitations under the License.\r
+*\r
+*/\r
+// This File has been auto-generated by SWIG and then modified using DALi Ruby Scripts\r
+//------------------------------------------------------------------------------\r
+// <auto-generated />\r
//\r
-// Unless required by applicable law or agreed to in writing, software\r
-// distributed under the License is distributed on an "AS IS" BASIS,\r
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
-// See the License for the specific language governing permissions and\r
-// limitations under the License.\r
+// This file was automatically generated by SWIG (http://www.swig.org).\r
+// Version 3.0.9\r
//\r
-\r
-// This File has been auto-generated by SWIG and then modified using DALi Ruby Scripts\r
-// Some have been manually changed\r
-\r
+// Do not make changes to this file unless you know what you are doing--modify\r
+// the SWIG interface file instead.\r
+//------------------------------------------------------------------------------\r
\r
namespace Tizen.NUI\r
{\r
}\r
\r
[UnmanagedFunctionPointer(CallingConvention.StdCall)]\r
- private delegate void TextChangedCallback(IntPtr textEditor);\r
- private TextChangedCallback _textEditorTextChangedCallback;\r
+ private delegate void TextChangedCallbackDelegate(IntPtr textEditor);\r
private EventHandler<TextChangedEventArgs> _textEditorTextChangedEventHandler;\r
+ private TextChangedCallbackDelegate _textEditorTextChangedCallbackDelegate;\r
\r
/**\r
* @brief Event for TextChanged signal which can be used to subscribe/unsubscribe the event handler\r
{\r
add\r
{\r
- if (_textEditorTextChangedCallback == null)\r
+ if (_textEditorTextChangedEventHandler == null)\r
{\r
- _textEditorTextChangedCallback = OnTextChanged;\r
- TextChangedSignal().Connect(_textEditorTextChangedCallback);\r
+ _textEditorTextChangedCallbackDelegate = (OnTextChanged);\r
+ TextChangedSignal().Connect(_textEditorTextChangedCallbackDelegate);\r
}\r
_textEditorTextChangedEventHandler += value;\r
}\r
remove\r
{\r
- if (_textEditorTextChangedCallback != null)\r
+ _textEditorTextChangedEventHandler -= value;\r
+ if (_textEditorTextChangedEventHandler == null && _textEditorTextChangedCallbackDelegate != null)\r
{\r
- TextChangedSignal().Disconnect(_textEditorTextChangedCallback);\r
+ TextChangedSignal().Disconnect(_textEditorTextChangedCallbackDelegate);\r
}\r
- _textEditorTextChangedEventHandler -= value;\r
}\r
}\r
\r
{\r
TextChangedEventArgs e = new TextChangedEventArgs();\r
\r
- e.TextEditor = TextEditor.GetTextEditorFromPtr(textEditor);\r
+ // Populate all members of "e" (TextChangedEventArgs) with real data\r
+ e.TextEditor = Tizen.NUI.TextEditor.GetTextEditorFromPtr(textEditor);\r
\r
if (_textEditorTextChangedEventHandler != null)\r
{\r
+ //here we send all data to user event handlers\r
_textEditorTextChangedEventHandler(this, e);\r
}\r
\r
-// Copyright (c) 2016 Samsung Electronics Co., Ltd All Rights Reserved\r
-// PROPRIETARY/CONFIDENTIAL \r
-// This software is the confidential and proprietary\r
-// information of SAMSUNG ELECTRONICS ("Confidential Information"). You shall\r
-// not disclose such Confidential Information and shall use it only in\r
-// accordance with the terms of the license agreement you entered into with\r
-// SAMSUNG ELECTRONICS. SAMSUNG make no representations or warranties about the\r
-// suitability of the software, either express or implied, including but not\r
-// limited to the implied warranties of merchantability, fitness for a\r
-// particular purpose, or non-infringement. SAMSUNG shall not be liable for any\r
-// damages suffered by licensee as a result of using, modifying or distributing\r
-// this software or its derivatives.\r
-\r
-// Copyright (c) 2017 Samsung Electronics Co., Ltd.\r
-//\r
-// Licensed under the Apache License, Version 2.0 (the "License");\r
-// you may not use this file except in compliance with the License.\r
-// You may obtain a copy of the License at\r
-//\r
-// http://www.apache.org/licenses/LICENSE-2.0\r
+/** Copyright (c) 2017 Samsung Electronics Co., Ltd.\r
+*\r
+* Licensed under the Apache License, Version 2.0 (the "License");\r
+* you may not use this file except in compliance with the License.\r
+* You may obtain a copy of the License at\r
+*\r
+* http://www.apache.org/licenses/LICENSE-2.0\r
+*\r
+* Unless required by applicable law or agreed to in writing, software\r
+* distributed under the License is distributed on an "AS IS" BASIS,\r
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
+* See the License for the specific language governing permissions and\r
+* limitations under the License.\r
+*\r
+*/\r
+// This File has been auto-generated by SWIG and then modified using DALi Ruby Scripts\r
+//------------------------------------------------------------------------------\r
+// <auto-generated />\r
//\r
-// Unless required by applicable law or agreed to in writing, software\r
-// distributed under the License is distributed on an "AS IS" BASIS,\r
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
-// See the License for the specific language governing permissions and\r
-// limitations under the License.\r
+// This file was automatically generated by SWIG (http://www.swig.org).\r
+// Version 3.0.9\r
//\r
-\r
-// This File has been auto-generated by SWIG and then modified using DALi Ruby Scripts\r
-// Some have been manually changed\r
-\r
+// Do not make changes to this file unless you know what you are doing--modify\r
+// the SWIG interface file instead.\r
+//------------------------------------------------------------------------------\r
\r
namespace Tizen.NUI\r
{\r
\r
\r
[UnmanagedFunctionPointer(CallingConvention.StdCall)]\r
- private delegate void TextChangedCallback(IntPtr textField);\r
- private TextChangedCallback _textFieldTextChangedCallback;\r
+ private delegate void TextChangedCallbackDelegate(IntPtr textField);\r
private EventHandler<TextChangedEventArgs> _textFieldTextChangedEventHandler;\r
+ private TextChangedCallbackDelegate _textFieldTextChangedCallbackDelegate;\r
\r
[UnmanagedFunctionPointer(CallingConvention.StdCall)]\r
- private delegate void MaxLengthReachedCallback(IntPtr textField);\r
+ private delegate void MaxLengthReachedCallbackDelegate(IntPtr textField);\r
private EventHandler<MaxLengthReachedEventArgs> _textFieldMaxLengthReachedEventHandler;\r
- private MaxLengthReachedCallback _textFieldMaxLengthReachedCallback;\r
+ private MaxLengthReachedCallbackDelegate _textFieldMaxLengthReachedCallbackDelegate;\r
\r
public event EventHandler<TextChangedEventArgs> TextChanged\r
{\r
add\r
{\r
- if (_textFieldTextChangedCallback == null)\r
+ if (_textFieldTextChangedEventHandler == null)\r
{\r
- _textFieldTextChangedCallback = OnTextChanged;\r
- TextChangedSignal().Connect(_textFieldTextChangedCallback);\r
+ _textFieldTextChangedCallbackDelegate = (OnTextChanged);\r
+ TextChangedSignal().Connect(_textFieldTextChangedCallbackDelegate);\r
}\r
_textFieldTextChangedEventHandler += value;\r
}\r
remove\r
{\r
- if (_textFieldTextChangedCallback != null)\r
+ _textFieldTextChangedEventHandler -= value;\r
+ if (_textFieldTextChangedEventHandler == null && _textFieldTextChangedCallbackDelegate != null)\r
{\r
- TextChangedSignal().Disconnect(_textFieldTextChangedCallback);\r
+ TextChangedSignal().Disconnect(_textFieldTextChangedCallbackDelegate);\r
}\r
- _textFieldTextChangedEventHandler -= value;\r
}\r
}\r
\r
{\r
TextChangedEventArgs e = new TextChangedEventArgs();\r
\r
- e.TextField = TextField.GetTextFieldFromPtr(textField);\r
+ // Populate all members of "e" (TextChangedEventArgs) with real data\r
+ e.TextField = Tizen.NUI.TextField.GetTextFieldFromPtr(textField);\r
\r
if (_textFieldTextChangedEventHandler != null)\r
{\r
+ //here we send all data to user event handlers\r
_textFieldTextChangedEventHandler(this, e);\r
}\r
\r
{\r
add\r
{\r
- if (_textFieldMaxLengthReachedCallback == null)\r
+ if (_textFieldMaxLengthReachedEventHandler == null)\r
{\r
- _textFieldMaxLengthReachedCallback = OnMaxLengthReached;\r
- MaxLengthReachedSignal().Connect(_textFieldMaxLengthReachedCallback);\r
+ _textFieldMaxLengthReachedCallbackDelegate = (OnMaxLengthReached);\r
+ MaxLengthReachedSignal().Connect(_textFieldMaxLengthReachedCallbackDelegate);\r
}\r
_textFieldMaxLengthReachedEventHandler += value;\r
}\r
remove\r
{\r
- if (_textFieldMaxLengthReachedCallback != null)\r
+ if (_textFieldMaxLengthReachedEventHandler == null && _textFieldMaxLengthReachedCallbackDelegate != null)\r
{\r
- MaxLengthReachedSignal().Disconnect(_textFieldMaxLengthReachedCallback);\r
+ this.MaxLengthReachedSignal().Disconnect(_textFieldMaxLengthReachedCallbackDelegate);\r
}\r
_textFieldMaxLengthReachedEventHandler -= value;\r
}\r
{\r
MaxLengthReachedEventArgs e = new MaxLengthReachedEventArgs();\r
\r
- e.TextField = TextField.GetTextFieldFromPtr(textField);\r
+ // Populate all members of "e" (MaxLengthReachedEventArgs) with real data\r
+ e.TextField = Tizen.NUI.TextField.GetTextFieldFromPtr(textField);\r
\r
if (_textFieldMaxLengthReachedEventHandler != null)\r
{\r
+ //here we send all data to user event handlers\r
_textFieldMaxLengthReachedEventHandler(this, e);\r
}\r
\r
-// Copyright (c) 2016 Samsung Electronics Co., Ltd All Rights Reserved\r
-// PROPRIETARY/CONFIDENTIAL \r
-// This software is the confidential and proprietary\r
-// information of SAMSUNG ELECTRONICS ("Confidential Information"). You shall\r
-// not disclose such Confidential Information and shall use it only in\r
-// accordance with the terms of the license agreement you entered into with\r
-// SAMSUNG ELECTRONICS. SAMSUNG make no representations or warranties about the\r
-// suitability of the software, either express or implied, including but not\r
-// limited to the implied warranties of merchantability, fitness for a\r
-// particular purpose, or non-infringement. SAMSUNG shall not be liable for any\r
-// damages suffered by licensee as a result of using, modifying or distributing\r
-// this software or its derivatives.\r
-\r
-// Copyright (c) 2017 Samsung Electronics Co., Ltd.\r
-//\r
-// Licensed under the Apache License, Version 2.0 (the "License");\r
-// you may not use this file except in compliance with the License.\r
-// You may obtain a copy of the License at\r
-//\r
-// http://www.apache.org/licenses/LICENSE-2.0\r
-//\r
-// Unless required by applicable law or agreed to in writing, software\r
-// distributed under the License is distributed on an "AS IS" BASIS,\r
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
-// See the License for the specific language governing permissions and\r
-// limitations under the License.\r
-//\r
-\r
-// This File has been auto-generated by SWIG and then modified using DALi Ruby Scripts\r
-// Some have been manually changed\r
-\r
-\r
+/** 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.
+*
+*/
+// This File has been auto-generated by SWIG and then modified using DALi Ruby Scripts
+//------------------------------------------------------------------------------
+// <auto-generated />
+//
+// This file was automatically generated by SWIG (http://www.swig.org).
+// Version 3.0.9
+//
+// Do not make changes to this file unless you know what you are doing--modify
+// the SWIG interface file instead.
+//------------------------------------------------------------------------------
+
namespace Tizen.NUI\r
{\r
\r
}\r
}\r
\r
- }\r
-\r
-}\r
+ }
+
+}
-/** Copyright (c) 2017 Samsung Electronics Co., Ltd.\r
-*\r
-* Licensed under the Apache License, Version 2.0 (the "License");\r
-* you may not use this file except in compliance with the License.\r
-* You may obtain a copy of the License at\r
-*\r
-* http://www.apache.org/licenses/LICENSE-2.0\r
-*\r
-* Unless required by applicable law or agreed to in writing, software\r
-* distributed under the License is distributed on an "AS IS" BASIS,\r
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
-* See the License for the specific language governing permissions and\r
-* limitations under the License.\r
-*\r
-*/\r
-// This File has been auto-generated by SWIG and then modified using DALi Ruby Scripts\r
-//------------------------------------------------------------------------------\r
-// <auto-generated />\r
-//\r
-// This file was automatically generated by SWIG (http://www.swig.org).\r
-// Version 3.0.9\r
-//\r
-// Do not make changes to this file unless you know what you are doing--modify\r
-// the SWIG interface file instead.\r
-//------------------------------------------------------------------------------\r
-\r
+/** 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.
+*
+*/
+// This File has been auto-generated by SWIG and then modified using DALi Ruby Scripts
+//------------------------------------------------------------------------------
+// <auto-generated />
+//
+// This file was automatically generated by SWIG (http://www.swig.org).
+// Version 3.0.9
+//
+// Do not make changes to this file unless you know what you are doing--modify
+// the SWIG interface file instead.
+//------------------------------------------------------------------------------
+
namespace Tizen.NUI\r
{\r
+\r
using System;\r
using System.Runtime.InteropServices;\r
\r
}\r
\r
\r
+\r
+ /**
+ * @brief Event arguments that passed via Tick signal
+ *
+ */\r
+ public class TickEventArgs : EventArgs\r
+ {\r
+ }\r
+\r
+ [UnmanagedFunctionPointer(CallingConvention.StdCall)]\r
+ private delegate bool TickCallbackDelegate(IntPtr data);\r
+ private EventHandlerWithReturnType<object, TickEventArgs, bool> _timerTickEventHandler;\r
+ private TickCallbackDelegate _timerTickCallbackDelegate;\r
+\r
+ /**
+ * @brief Event for Ticked signal which can be used to subscribe/unsubscribe the event handler
+ * (in the type of TickEventHandler-DaliEventHandlerWithReturnType<object,TickEventArgs,bool>)
+ * provided by the user. Ticked signal is emitted after specified time interval.
+ */\r
+ public event EventHandlerWithReturnType<object, TickEventArgs, bool> Tick\r
+ {\r
+ add\r
+ {\r
+ if (_timerTickEventHandler == null)\r
+ {\r
+ _timerTickCallbackDelegate = (OnTick);\r
+ TickSignal().Connect(_timerTickCallbackDelegate);\r
+ }\r
+ _timerTickEventHandler += value;\r
+ }\r
+ remove\r
+ {\r
+ _timerTickEventHandler -= value;\r
+ if (_timerTickEventHandler == null && _timerTickCallbackDelegate != null)\r
+ {\r
+ TickSignal().Disconnect(_timerTickCallbackDelegate);\r
+ }\r
+ }\r
+ }\r
+\r
+ // Callback for Timer Tick signal\r
+ private bool OnTick(IntPtr data)\r
+ {\r
+ TickEventArgs e = new TickEventArgs();\r
+\r
+ if (_timerTickEventHandler != null)\r
+ {\r
+ //here we send all data to user event handlers\r
+ return _timerTickEventHandler(this, e);\r
+ }\r
+ return false;\r
+ }\r
+\r
+\r
public Timer(uint milliSec) : this(NDalicPINVOKE.Timer_New(milliSec), true)\r
{\r
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
}\r
\r
- public uint Interval\r
- {\r
- set\r
- {\r
- SetInterval(value);\r
- }\r
- get\r
- {\r
- return GetInterval();\r
- }\r
- }\r
-\r
internal void SetInterval(uint milliSec)\r
{\r
NDalicPINVOKE.Timer_SetInterval(swigCPtr, milliSec);\r
return ret;\r
}\r
\r
- public bool Running\r
- {\r
- get\r
- {\r
- return IsRunning();\r
- }\r
- }\r
-\r
- internal bool IsRunning()\r
+ public bool IsRunning()\r
{\r
bool ret = NDalicPINVOKE.Timer_IsRunning(swigCPtr);\r
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
return ret;\r
}\r
\r
-\r
-\r
-\r
internal TimerSignalType TickSignal()\r
{\r
TimerSignalType ret = new TimerSignalType(NDalicPINVOKE.Timer_TickSignal(swigCPtr), false);\r
return ret;\r
}\r
\r
- private DaliEventHandlerWithReturnType<object, EventArgs, bool> _tickEventHandler;\r
- [UnmanagedFunctionPointer(CallingConvention.StdCall)]\r
- internal delegate bool TickCallbackType();\r
- private TickCallbackType _tickCallBack;\r
-\r
- public event DaliEventHandlerWithReturnType<object, EventArgs, bool> Tick\r
- {\r
- add\r
- {\r
- if (_tickCallBack == null)\r
- {\r
- _tickCallBack = OnTick;\r
- this.TickSignal().Connect(_tickCallBack);\r
- }\r
- _tickEventHandler += value;\r
- }\r
- remove\r
- {\r
- _tickEventHandler -= value;\r
-\r
- if (_tickCallBack == null && _tickCallBack != null)\r
- {\r
- this.TickSignal().Disconnect(_tickCallBack);\r
- _tickCallBack = null;\r
- }\r
- }\r
- }\r
- private bool OnTick()\r
- {\r
- if (_tickEventHandler != null)\r
- {\r
- return _tickEventHandler(this, null);\r
- }\r
- return false;\r
- }\r
-\r
-\r
- }\r
-\r
-}\r
+ }
+
+}
// the SWIG interface file instead.
//------------------------------------------------------------------------------
-namespace Tizen.NUI
-{
-
- public class Touch : BaseHandle
- {
- private global::System.Runtime.InteropServices.HandleRef swigCPtr;
-
- internal Touch(global::System.IntPtr cPtr, bool cMemoryOwn) : base(NDalicPINVOKE.Touch_SWIGUpcast(cPtr), cMemoryOwn)
- {
- swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
- }
-
- internal static global::System.Runtime.InteropServices.HandleRef getCPtr(Touch obj)
- {
- return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
- }
-
- ~Touch()
- {
- DisposeQueue.Instance.Add(this);
- }
-
- public override void Dispose()
- {
- if (!Stage.IsInstalled())
- {
- DisposeQueue.Instance.Add(this);
- return;
- }
-
- lock (this)
- {
- if (swigCPtr.Handle != global::System.IntPtr.Zero)
- {
- if (swigCMemOwn)
- {
- swigCMemOwn = false;
- NDalicPINVOKE.delete_Touch(swigCPtr);
- }
- swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
- }
- global::System.GC.SuppressFinalize(this);
- base.Dispose();
- }
- }
-
-
- internal static Touch GetTouchFromPtr(global::System.IntPtr cPtr)
- {
- Touch ret = new Touch(cPtr, false);
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- return ret;
- }
-
- public Touch() : this(NDalicPINVOKE.new_Touch__SWIG_0(), true)
- {
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- }
-
- internal Touch(Touch other) : this(NDalicPINVOKE.new_Touch__SWIG_1(Touch.getCPtr(other)), true)
- {
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- }
-
- internal Touch Assign(Touch other)
- {
- Touch ret = new Touch(NDalicPINVOKE.Touch_Assign(swigCPtr, Touch.getCPtr(other)), false);
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- return ret;
- }
-
- public uint GetTime()
- {
- uint ret = NDalicPINVOKE.Touch_GetTime(swigCPtr);
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- return ret;
- }
-
- public uint GetPointCount()
- {
- uint ret = NDalicPINVOKE.Touch_GetPointCount(swigCPtr);
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- return ret;
- }
-
- public int GetDeviceId(uint point)
- {
- int ret = NDalicPINVOKE.Touch_GetDeviceId(swigCPtr, point);
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- return ret;
- }
-
- public PointStateType GetState(uint point)
- {
- PointStateType ret = (PointStateType)NDalicPINVOKE.Touch_GetState(swigCPtr, point);
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- return ret;
- }
-
- public Actor GetHitActor(uint point)
- {
- Actor ret = new Actor(NDalicPINVOKE.Touch_GetHitActor(swigCPtr, point), true);
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- return ret;
- }
-
- public Vector2 GetLocalPosition(uint point)
- {
- Vector2 ret = new Vector2(NDalicPINVOKE.Touch_GetLocalPosition(swigCPtr, point), false);
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- return ret;
- }
-
- public Vector2 GetScreenPosition(uint point)
- {
- Vector2 ret = new Vector2(NDalicPINVOKE.Touch_GetScreenPosition(swigCPtr, point), false);
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- return ret;
- }
-
- public float GetRadius(uint point)
- {
- float ret = NDalicPINVOKE.Touch_GetRadius(swigCPtr, point);
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- return ret;
- }
-
- public Vector2 GetEllipseRadius(uint point)
- {
- Vector2 ret = new Vector2(NDalicPINVOKE.Touch_GetEllipseRadius(swigCPtr, point), false);
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- return ret;
- }
-
- public float GetPressure(uint point)
- {
- float ret = NDalicPINVOKE.Touch_GetPressure(swigCPtr, point);
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- return ret;
- }
-
- internal Degree GetAngle(uint point)
- {
- Degree ret = new Degree(NDalicPINVOKE.Touch_GetAngle(swigCPtr, point), true);
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- return ret;
- }
-
+namespace Tizen.NUI\r
+{\r
+\r
+ public class Touch : BaseHandle\r
+ {\r
+ private global::System.Runtime.InteropServices.HandleRef swigCPtr;\r
+\r
+ internal Touch(global::System.IntPtr cPtr, bool cMemoryOwn) : base(NDalicPINVOKE.Touch_SWIGUpcast(cPtr), cMemoryOwn)\r
+ {\r
+ swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);\r
+ }\r
+\r
+ internal static global::System.Runtime.InteropServices.HandleRef getCPtr(Touch obj)\r
+ {\r
+ return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;\r
+ }\r
+\r
+ ~Touch()\r
+ {\r
+ DisposeQueue.Instance.Add(this);\r
+ }\r
+\r
+ public override void Dispose()\r
+ {\r
+ if (!Stage.IsInstalled())\r
+ {\r
+ DisposeQueue.Instance.Add(this);\r
+ return;\r
+ }\r
+\r
+ lock (this)\r
+ {\r
+ if (swigCPtr.Handle != global::System.IntPtr.Zero)\r
+ {\r
+ if (swigCMemOwn)\r
+ {\r
+ swigCMemOwn = false;\r
+ NDalicPINVOKE.delete_Touch(swigCPtr);\r
+ }\r
+ swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);\r
+ }\r
+ global::System.GC.SuppressFinalize(this);\r
+ base.Dispose();\r
+ }\r
+ }\r
+\r
+\r
+ internal static Touch GetTouchFromPtr(global::System.IntPtr cPtr)\r
+ {\r
+ Touch ret = new Touch(cPtr, false);\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ return ret;\r
+ }\r
+\r
+ public Touch() : this(NDalicPINVOKE.new_Touch__SWIG_0(), true)\r
+ {\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ }\r
+\r
+ internal Touch(Touch other) : this(NDalicPINVOKE.new_Touch__SWIG_1(Touch.getCPtr(other)), true)\r
+ {\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ }\r
+\r
+ internal Touch Assign(Touch other)\r
+ {\r
+ Touch ret = new Touch(NDalicPINVOKE.Touch_Assign(swigCPtr, Touch.getCPtr(other)), false);\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ return ret;\r
+ }\r
+\r
+ public uint GetTime()\r
+ {\r
+ uint ret = NDalicPINVOKE.Touch_GetTime(swigCPtr);\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ return ret;\r
+ }\r
+\r
+ public uint GetPointCount()\r
+ {\r
+ uint ret = NDalicPINVOKE.Touch_GetPointCount(swigCPtr);\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ return ret;\r
+ }\r
+\r
+ public int GetDeviceId(uint point)\r
+ {\r
+ int ret = NDalicPINVOKE.Touch_GetDeviceId(swigCPtr, point);\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ return ret;\r
+ }\r
+\r
+ public PointStateType GetState(uint point)\r
+ {\r
+ PointStateType ret = (PointStateType)NDalicPINVOKE.Touch_GetState(swigCPtr, point);\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ return ret;\r
+ }\r
+\r
+ public Actor GetHitActor(uint point)\r
+ {\r
+ Actor ret = new Actor(NDalicPINVOKE.Touch_GetHitActor(swigCPtr, point), true);\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ return ret;\r
+ }\r
+\r
+ public Vector2 GetLocalPosition(uint point)\r
+ {\r
+ Vector2 ret = new Vector2(NDalicPINVOKE.Touch_GetLocalPosition(swigCPtr, point), false);\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ return ret;\r
+ }\r
+\r
+ public Vector2 GetScreenPosition(uint point)\r
+ {\r
+ Vector2 ret = new Vector2(NDalicPINVOKE.Touch_GetScreenPosition(swigCPtr, point), false);\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ return ret;\r
+ }\r
+\r
+ public float GetRadius(uint point)\r
+ {\r
+ float ret = NDalicPINVOKE.Touch_GetRadius(swigCPtr, point);\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ return ret;\r
+ }\r
+\r
+ public Vector2 GetEllipseRadius(uint point)\r
+ {\r
+ Vector2 ret = new Vector2(NDalicPINVOKE.Touch_GetEllipseRadius(swigCPtr, point), false);\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ return ret;\r
+ }\r
+\r
+ public float GetPressure(uint point)\r
+ {\r
+ float ret = NDalicPINVOKE.Touch_GetPressure(swigCPtr, point);\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ return ret;\r
+ }\r
+\r
+ internal Degree GetAngle(uint point)\r
+ {\r
+ Degree ret = new Degree(NDalicPINVOKE.Touch_GetAngle(swigCPtr, point), true);\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ return ret;\r
+ }\r
+\r
}
- public enum PointStateType
- {
- Started,
- Finished,
- Down = Started,
- Up = Finished,
- Motion,
- Leave,
- Stationary,
- Interrupted
- }
+ public enum PointStateType\r
+ {\r
+ Started,\r
+ Finished,\r
+ Down = Started,\r
+ Up = Finished,\r
+ Motion,\r
+ Leave,\r
+ Stationary,\r
+ Interrupted\r
+ }\r
}
-// Copyright (c) 2016 Samsung Electronics Co., Ltd All Rights Reserved\r
-// PROPRIETARY/CONFIDENTIAL \r
-// This software is the confidential and proprietary\r
-// information of SAMSUNG ELECTRONICS ("Confidential Information"). You shall\r
-// not disclose such Confidential Information and shall use it only in\r
-// accordance with the terms of the license agreement you entered into with\r
-// SAMSUNG ELECTRONICS. SAMSUNG make no representations or warranties about the\r
-// suitability of the software, either express or implied, including but not\r
-// limited to the implied warranties of merchantability, fitness for a\r
-// particular purpose, or non-infringement. SAMSUNG shall not be liable for any\r
-// damages suffered by licensee as a result of using, modifying or distributing\r
-// this software or its derivatives.\r
-\r
-// Copyright (c) 2017 Samsung Electronics Co., Ltd.\r
-//\r
-// Licensed under the Apache License, Version 2.0 (the "License");\r
-// you may not use this file except in compliance with the License.\r
-// You may obtain a copy of the License at\r
-//\r
-// http://www.apache.org/licenses/LICENSE-2.0\r
-//\r
-// Unless required by applicable law or agreed to in writing, software\r
-// distributed under the License is distributed on an "AS IS" BASIS,\r
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
-// See the License for the specific language governing permissions and\r
-// limitations under the License.\r
-//\r
-\r
-// This File has been auto-generated by SWIG and then modified using DALi Ruby Scripts\r
-// Some have been manually changed\r
-\r
-\r
+//------------------------------------------------------------------------------
+// <auto-generated />
+//
+// This file was automatically generated by SWIG (http://www.swig.org).
+// Version 3.0.9
+//
+// Do not make changes to this file unless you know what you are doing--modify
+// the SWIG interface file instead.
+//------------------------------------------------------------------------------
+
namespace Tizen.NUI\r
{\r
\r
}\r
}\r
\r
- }\r
-\r
-}\r
+ }
+
+}
-// Copyright (c) 2016 Samsung Electronics Co., Ltd All Rights Reserved\r
-// PROPRIETARY/CONFIDENTIAL \r
-// This software is the confidential and proprietary\r
-// information of SAMSUNG ELECTRONICS ("Confidential Information"). You shall\r
-// not disclose such Confidential Information and shall use it only in\r
-// accordance with the terms of the license agreement you entered into with\r
-// SAMSUNG ELECTRONICS. SAMSUNG make no representations or warranties about the\r
-// suitability of the software, either express or implied, including but not\r
-// limited to the implied warranties of merchantability, fitness for a\r
-// particular purpose, or non-infringement. SAMSUNG shall not be liable for any\r
-// damages suffered by licensee as a result of using, modifying or distributing\r
-// this software or its derivatives.\r
-\r
-// Copyright (c) 2017 Samsung Electronics Co., Ltd.\r
-//\r
-// Licensed under the Apache License, Version 2.0 (the "License");\r
-// you may not use this file except in compliance with the License.\r
-// You may obtain a copy of the License at\r
-//\r
-// http://www.apache.org/licenses/LICENSE-2.0\r
-//\r
-// Unless required by applicable law or agreed to in writing, software\r
-// distributed under the License is distributed on an "AS IS" BASIS,\r
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
-// See the License for the specific language governing permissions and\r
-// limitations under the License.\r
-//\r
-\r
-// This File has been auto-generated by SWIG and then modified using DALi Ruby Scripts\r
-// Some have been manually changed\r
-\r
-\r
+//------------------------------------------------------------------------------
+// <auto-generated />
+//
+// This file was automatically generated by SWIG (http://www.swig.org).
+// Version 3.0.9
+//
+// Do not make changes to this file unless you know what you are doing--modify
+// the SWIG interface file instead.
+//------------------------------------------------------------------------------
+
namespace Tizen.NUI\r
{\r
\r
}\r
}\r
\r
- }\r
-\r
-}\r
+ }
+
+}
-// Copyright (c) 2016 Samsung Electronics Co., Ltd All Rights Reserved\r
-// PROPRIETARY/CONFIDENTIAL \r
-// This software is the confidential and proprietary\r
-// information of SAMSUNG ELECTRONICS ("Confidential Information"). You shall\r
-// not disclose such Confidential Information and shall use it only in\r
-// accordance with the terms of the license agreement you entered into with\r
-// SAMSUNG ELECTRONICS. SAMSUNG make no representations or warranties about the\r
-// suitability of the software, either express or implied, including but not\r
-// limited to the implied warranties of merchantability, fitness for a\r
-// particular purpose, or non-infringement. SAMSUNG shall not be liable for any\r
-// damages suffered by licensee as a result of using, modifying or distributing\r
-// this software or its derivatives.\r
-\r
-// Copyright (c) 2017 Samsung Electronics Co., Ltd.\r
-//\r
-// Licensed under the Apache License, Version 2.0 (the "License");\r
-// you may not use this file except in compliance with the License.\r
-// You may obtain a copy of the License at\r
-//\r
-// http://www.apache.org/licenses/LICENSE-2.0\r
-//\r
-// Unless required by applicable law or agreed to in writing, software\r
-// distributed under the License is distributed on an "AS IS" BASIS,\r
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
-// See the License for the specific language governing permissions and\r
-// limitations under the License.\r
-//\r
-\r
-// This File has been auto-generated by SWIG and then modified using DALi Ruby Scripts\r
-// Some have been manually changed\r
-\r
-\r
+//------------------------------------------------------------------------------
+// <auto-generated />
+//
+// This file was automatically generated by SWIG (http://www.swig.org).
+// Version 3.0.9
+//
+// Do not make changes to this file unless you know what you are doing--modify
+// the SWIG interface file instead.
+//------------------------------------------------------------------------------
+
namespace Tizen.NUI\r
{\r
\r
}\r
}\r
\r
- }\r
-\r
-}\r
+ }
+
+}
-// Copyright (c) 2016 Samsung Electronics Co., Ltd All Rights Reserved
-// PROPRIETARY/CONFIDENTIAL
-// This software is the confidential and proprietary
-// information of SAMSUNG ELECTRONICS ("Confidential Information"). You shall
-// not disclose such Confidential Information and shall use it only in
-// accordance with the terms of the license agreement you entered into with
-// SAMSUNG ELECTRONICS. SAMSUNG make no representations or warranties about the
-// suitability of the software, either express or implied, including but not
-// limited to the implied warranties of merchantability, fitness for a
-// particular purpose, or non-infringement. SAMSUNG shall not be liable for any
-// damages suffered by licensee as a result of using, modifying or distributing
-// this software or its derivatives.
-
-// 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.
-//
-
-// This File has been auto-generated by SWIG and then modified using DALi Ruby Scripts
-// Some have been manually changed
-
-
-namespace Tizen.NUI
-{
-
- using System;
- using System.Runtime.InteropServices;
-
-
- public class VideoView : View
- {
- private global::System.Runtime.InteropServices.HandleRef swigCPtr;
-
- internal VideoView(global::System.IntPtr cPtr, bool cMemoryOwn) : base(NDalicPINVOKE.VideoView_SWIGUpcast(cPtr), cMemoryOwn)
- {
- swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
- }
-
- internal static global::System.Runtime.InteropServices.HandleRef getCPtr(VideoView obj)
- {
- return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
- }
-
- ~VideoView()
- {
- DisposeQueue.Instance.Add(this);
- }
-
- public override void Dispose()
- {
- if (!Stage.IsInstalled())
- {
- DisposeQueue.Instance.Add(this);
- return;
- }
-
- lock (this)
- {
- if (swigCPtr.Handle != global::System.IntPtr.Zero)
- {
- if (swigCMemOwn)
- {
- swigCMemOwn = false;
- NDalicPINVOKE.delete_VideoView(swigCPtr);
- }
- swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
- }
- global::System.GC.SuppressFinalize(this);
- base.Dispose();
- }
- }
-
-
-
- /**
- * @brief Event arguments that passed via Finished signal
- *
- */
- public class FinishedEventArgs : EventArgs
- {
- private VideoView _videoView;
-
- /**
- * @brief VideoView - VideoView is a control for video playback and display.
- *
- */
- public VideoView VideoView
- {
- get
- {
- return _videoView;
- }
- set
- {
- _videoView = value;
- }
- }
- }
-
-
- [UnmanagedFunctionPointer(CallingConvention.StdCall)]
- private delegate void FinishedCallback(IntPtr data);
- private FinishedCallback _videoViewFinishedCallback;
- private EventHandler<FinishedEventArgs> _videoViewFinishedEventHandler;
-
-
- /**
- * @brief Event for Finished signal which can be used to subscribe/unsubscribe the event handler
- * (in the type of FinishedEventHandler-DaliEventHandler<object,FinishedEventArgs>) provided by the user.
- * Finished signal is emitted when a video playback have finished.
- */
- public event EventHandler<FinishedEventArgs> Finished
- {
- add
- {
- if (_videoViewFinishedCallback == null)
- {
- _videoViewFinishedCallback = OnFinished;
- FinishedSignal().Connect(_videoViewFinishedCallback);
- }
- _videoViewFinishedEventHandler += value;
- }
- remove
- {
- if (_videoViewFinishedCallback != null)
- {
- FinishedSignal().Disconnect(_videoViewFinishedCallback);
- }
- _videoViewFinishedEventHandler -= value;
- }
- }
-
- private void OnFinished(IntPtr data)
- {
- FinishedEventArgs e = new FinishedEventArgs();
-
- e.VideoView = VideoView.GetVideoViewFromPtr(data);
-
- if (_videoViewFinishedEventHandler != null)
- {
- _videoViewFinishedEventHandler(this, e);
- }
- }
-
- internal static VideoView GetVideoViewFromPtr(global::System.IntPtr cPtr)
- {
- VideoView ret = new VideoView(cPtr, false);
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- return ret;
- }
-
-
- internal class Property : global::System.IDisposable
- {
- private global::System.Runtime.InteropServices.HandleRef swigCPtr;
- protected bool swigCMemOwn;
-
- internal Property(global::System.IntPtr cPtr, bool cMemoryOwn)
- {
- swigCMemOwn = cMemoryOwn;
- swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
- }
-
- internal static global::System.Runtime.InteropServices.HandleRef getCPtr(Property obj)
- {
- return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
- }
-
- ~Property()
- {
- Dispose();
- }
-
- public virtual void Dispose()
- {
- lock (this)
- {
- if (swigCPtr.Handle != global::System.IntPtr.Zero)
- {
- if (swigCMemOwn)
- {
- swigCMemOwn = false;
- NDalicPINVOKE.delete_VideoView_Property(swigCPtr);
- }
- swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
- }
- global::System.GC.SuppressFinalize(this);
- }
- }
-
- internal Property() : this(NDalicPINVOKE.new_VideoView_Property(), true)
- {
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- }
-
- internal static readonly int VIDEO = NDalicPINVOKE.VideoView_Property_VIDEO_get();
- internal static readonly int LOOPING = NDalicPINVOKE.VideoView_Property_LOOPING_get();
- internal static readonly int MUTED = NDalicPINVOKE.VideoView_Property_MUTED_get();
- internal static readonly int VOLUME = NDalicPINVOKE.VideoView_Property_VOLUME_get();
-
- }
-
- public VideoView() : this(NDalicPINVOKE.VideoView_New__SWIG_0(), true)
- {
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
-
- }
- public VideoView(string url) : this(NDalicPINVOKE.VideoView_New__SWIG_1(url), true)
- {
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
-
- }
- internal VideoView(VideoView videoView) : this(NDalicPINVOKE.new_VideoView__SWIG_1(VideoView.getCPtr(videoView)), true)
- {
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- }
-
- internal VideoView Assign(VideoView videoView)
- {
- VideoView ret = new VideoView(NDalicPINVOKE.VideoView_Assign(swigCPtr, VideoView.getCPtr(videoView)), false);
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- return ret;
- }
-
- public new static VideoView DownCast(BaseHandle handle)
- {
- VideoView ret = new VideoView(NDalicPINVOKE.VideoView_DownCast(BaseHandle.getCPtr(handle)), true);
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- return ret;
- }
-
- public void Play()
- {
- NDalicPINVOKE.VideoView_Play(swigCPtr);
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- }
-
- public void Pause()
- {
- NDalicPINVOKE.VideoView_Pause(swigCPtr);
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- }
-
- public void Stop()
- {
- NDalicPINVOKE.VideoView_Stop(swigCPtr);
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- }
-
- public void Forward(int millisecond)
- {
- NDalicPINVOKE.VideoView_Forward(swigCPtr, millisecond);
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- }
-
- public void Backward(int millisecond)
- {
- NDalicPINVOKE.VideoView_Backward(swigCPtr, millisecond);
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- }
-
- internal VideoViewSignal FinishedSignal()
- {
- VideoViewSignal ret = new VideoViewSignal(NDalicPINVOKE.VideoView_FinishedSignal(swigCPtr), false);
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- return ret;
- }
-
- internal enum PropertyRange
- {
- PROPERTY_START_INDEX = PropertyRanges.PROPERTY_REGISTRATION_START_INDEX
- }
-
- public PropertyMap Video
- {
- get
- {
- PropertyMap temp = new PropertyMap();
- GetProperty(VideoView.Property.VIDEO).Get(temp);
- return temp;
- }
- set
- {
- SetProperty(VideoView.Property.VIDEO, new Tizen.NUI.PropertyValue(value));
- }
- }
- public bool Looping
- {
- get
- {
- bool temp = false;
- GetProperty(VideoView.Property.LOOPING).Get(ref temp);
- return temp;
- }
- set
- {
- SetProperty(VideoView.Property.LOOPING, new Tizen.NUI.PropertyValue(value));
- }
- }
- public bool Muted
- {
- get
- {
- bool temp = false;
- GetProperty(VideoView.Property.MUTED).Get(ref temp);
- return temp;
- }
- set
- {
- SetProperty(VideoView.Property.MUTED, new Tizen.NUI.PropertyValue(value));
- }
- }
- public PropertyMap Volume
- {
- get
- {
- PropertyMap temp = new PropertyMap();
- GetProperty(VideoView.Property.VOLUME).Get(temp);
- return temp;
- }
- set
- {
- SetProperty(VideoView.Property.VOLUME, new Tizen.NUI.PropertyValue(value));
- }
- }
-
- }
-
-}
+/** Copyright (c) 2017 Samsung Electronics Co., Ltd.\r
+*\r
+* Licensed under the Apache License, Version 2.0 (the "License");\r
+* you may not use this file except in compliance with the License.\r
+* You may obtain a copy of the License at\r
+*\r
+* http://www.apache.org/licenses/LICENSE-2.0\r
+*\r
+* Unless required by applicable law or agreed to in writing, software\r
+* distributed under the License is distributed on an "AS IS" BASIS,\r
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
+* See the License for the specific language governing permissions and\r
+* limitations under the License.\r
+*\r
+*/\r
+// This File has been auto-generated by SWIG and then modified using DALi Ruby Scripts\r
+//------------------------------------------------------------------------------\r
+// <auto-generated />\r
+//\r
+// This file was automatically generated by SWIG (http://www.swig.org).\r
+// Version 3.0.9\r
+//\r
+// Do not make changes to this file unless you know what you are doing--modify\r
+// the SWIG interface file instead.\r
+//------------------------------------------------------------------------------\r
+\r
+namespace Tizen.NUI\r
+{\r
+\r
+ using System;\r
+ using System.Runtime.InteropServices;\r
+\r
+\r
+ public class VideoView : View\r
+ {\r
+ private global::System.Runtime.InteropServices.HandleRef swigCPtr;\r
+\r
+ internal VideoView(global::System.IntPtr cPtr, bool cMemoryOwn) : base(NDalicPINVOKE.VideoView_SWIGUpcast(cPtr), cMemoryOwn)\r
+ {\r
+ swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);\r
+ }\r
+\r
+ internal static global::System.Runtime.InteropServices.HandleRef getCPtr(VideoView obj)\r
+ {\r
+ return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;\r
+ }\r
+\r
+ ~VideoView()\r
+ {\r
+ DisposeQueue.Instance.Add(this);\r
+ }\r
+\r
+ public override void Dispose()\r
+ {\r
+ if (!Stage.IsInstalled())\r
+ {\r
+ DisposeQueue.Instance.Add(this);\r
+ return;\r
+ }\r
+\r
+ lock (this)\r
+ {\r
+ if (swigCPtr.Handle != global::System.IntPtr.Zero)\r
+ {\r
+ if (swigCMemOwn)\r
+ {\r
+ swigCMemOwn = false;\r
+ NDalicPINVOKE.delete_VideoView(swigCPtr);\r
+ }\r
+ swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);\r
+ }\r
+ global::System.GC.SuppressFinalize(this);\r
+ base.Dispose();\r
+ }\r
+ }\r
+\r
+\r
+\r
+ /**\r
+ * @brief Event arguments that passed via Finished signal\r
+ *\r
+ */\r
+ public class FinishedEventArgs : EventArgs\r
+ {\r
+ private VideoView _videoView;\r
+\r
+ /**\r
+ * @brief VideoView - VideoView is a control for video playback and display.\r
+ *\r
+ */\r
+ public VideoView VideoView\r
+ {\r
+ get\r
+ {\r
+ return _videoView;\r
+ }\r
+ set\r
+ {\r
+ _videoView = value;\r
+ }\r
+ }\r
+ }\r
+\r
+\r
+ [UnmanagedFunctionPointer(CallingConvention.StdCall)]\r
+ private delegate void FinishedCallbackDelegate(IntPtr data);\r
+ private EventHandler<FinishedEventArgs> _videoViewFinishedEventHandler;\r
+ private FinishedCallbackDelegate _videoViewFinishedCallbackDelegate;\r
+\r
+ /**\r
+ * @brief Event for Finished signal which can be used to subscribe/unsubscribe the event handler\r
+ * (in the type of FinishedEventHandler-DaliEventHandler<object,FinishedEventArgs>) provided by the user.\r
+ * Finished signal is emitted when a video playback have finished.\r
+ */\r
+ public event EventHandler<FinishedEventArgs> Finished\r
+ {\r
+ add\r
+ {\r
+ if (_videoViewFinishedEventHandler == null)\r
+ {\r
+ _videoViewFinishedCallbackDelegate = (OnFinished);\r
+ FinishedSignal().Connect(_videoViewFinishedCallbackDelegate);\r
+ }\r
+ _videoViewFinishedEventHandler += value;\r
+ }\r
+ remove\r
+ {\r
+ _videoViewFinishedEventHandler -= value;\r
+ if (_videoViewFinishedEventHandler == null && _videoViewFinishedCallbackDelegate != null)\r
+ {\r
+ FinishedSignal().Disconnect(_videoViewFinishedCallbackDelegate);\r
+ }\r
+ }\r
+ }\r
+\r
+ // Callback for VideoView Finished signal\r
+ private void OnFinished(IntPtr data)\r
+ {\r
+ FinishedEventArgs e = new FinishedEventArgs();\r
+\r
+ // Populate all members of "e" (FinishedEventArgs) with real data\r
+ e.VideoView = VideoView.GetVideoViewFromPtr(data);\r
+\r
+ if (_videoViewFinishedEventHandler != null)\r
+ {\r
+ //here we send all data to user event handlers\r
+ _videoViewFinishedEventHandler(this, e);\r
+ }\r
+ }\r
+\r
+ internal static VideoView GetVideoViewFromPtr(global::System.IntPtr cPtr)\r
+ {\r
+ VideoView ret = new VideoView(cPtr, false);\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ return ret;\r
+ }\r
+\r
+\r
+ internal class Property : global::System.IDisposable\r
+ {\r
+ private global::System.Runtime.InteropServices.HandleRef swigCPtr;\r
+ protected bool swigCMemOwn;\r
+\r
+ internal Property(global::System.IntPtr cPtr, bool cMemoryOwn)\r
+ {\r
+ swigCMemOwn = cMemoryOwn;\r
+ swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);\r
+ }\r
+\r
+ internal static global::System.Runtime.InteropServices.HandleRef getCPtr(Property obj)\r
+ {\r
+ return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;\r
+ }\r
+\r
+ ~Property()\r
+ {\r
+ Dispose();\r
+ }\r
+\r
+ public virtual void Dispose()\r
+ {\r
+ lock (this)\r
+ {\r
+ if (swigCPtr.Handle != global::System.IntPtr.Zero)\r
+ {\r
+ if (swigCMemOwn)\r
+ {\r
+ swigCMemOwn = false;\r
+ NDalicPINVOKE.delete_VideoView_Property(swigCPtr);\r
+ }\r
+ swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);\r
+ }\r
+ global::System.GC.SuppressFinalize(this);\r
+ }\r
+ }\r
+\r
+ internal Property() : this(NDalicPINVOKE.new_VideoView_Property(), true)\r
+ {\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ }\r
+\r
+ internal static readonly int VIDEO = NDalicPINVOKE.VideoView_Property_VIDEO_get();\r
+ internal static readonly int LOOPING = NDalicPINVOKE.VideoView_Property_LOOPING_get();\r
+ internal static readonly int MUTED = NDalicPINVOKE.VideoView_Property_MUTED_get();\r
+ internal static readonly int VOLUME = NDalicPINVOKE.VideoView_Property_VOLUME_get();\r
+\r
+ }\r
+\r
+ public VideoView() : this(NDalicPINVOKE.VideoView_New__SWIG_0(), true)\r
+ {\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+\r
+ }\r
+ public VideoView(string url) : this(NDalicPINVOKE.VideoView_New__SWIG_1(url), true)\r
+ {\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+\r
+ }\r
+ internal VideoView(VideoView videoView) : this(NDalicPINVOKE.new_VideoView__SWIG_1(VideoView.getCPtr(videoView)), true)\r
+ {\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ }\r
+\r
+ internal VideoView Assign(VideoView videoView)\r
+ {\r
+ VideoView ret = new VideoView(NDalicPINVOKE.VideoView_Assign(swigCPtr, VideoView.getCPtr(videoView)), false);\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ return ret;\r
+ }\r
+\r
+ public new static VideoView DownCast(BaseHandle handle)\r
+ {\r
+ VideoView ret = new VideoView(NDalicPINVOKE.VideoView_DownCast(BaseHandle.getCPtr(handle)), true);\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ return ret;\r
+ }\r
+\r
+ public void Play()\r
+ {\r
+ NDalicPINVOKE.VideoView_Play(swigCPtr);\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ }\r
+\r
+ public void Pause()\r
+ {\r
+ NDalicPINVOKE.VideoView_Pause(swigCPtr);\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ }\r
+\r
+ public void Stop()\r
+ {\r
+ NDalicPINVOKE.VideoView_Stop(swigCPtr);\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ }\r
+\r
+ public void Forward(int millisecond)\r
+ {\r
+ NDalicPINVOKE.VideoView_Forward(swigCPtr, millisecond);\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ }\r
+\r
+ public void Backward(int millisecond)\r
+ {\r
+ NDalicPINVOKE.VideoView_Backward(swigCPtr, millisecond);\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ }\r
+\r
+ internal VideoViewSignal FinishedSignal()\r
+ {\r
+ VideoViewSignal ret = new VideoViewSignal(NDalicPINVOKE.VideoView_FinishedSignal(swigCPtr), false);\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ return ret;\r
+ }\r
+\r
+ internal enum PropertyRange\r
+ {\r
+ PROPERTY_START_INDEX = PropertyRanges.PROPERTY_REGISTRATION_START_INDEX\r
+ }\r
+\r
+ public PropertyMap Video\r
+ {\r
+ get\r
+ {\r
+ PropertyMap temp = new PropertyMap();\r
+ GetProperty(VideoView.Property.VIDEO).Get(temp);\r
+ return temp;\r
+ }\r
+ set\r
+ {\r
+ SetProperty(VideoView.Property.VIDEO, new Tizen.NUI.PropertyValue(value));\r
+ }\r
+ }\r
+ public bool Looping\r
+ {\r
+ get\r
+ {\r
+ bool temp = false;\r
+ GetProperty(VideoView.Property.LOOPING).Get(ref temp);\r
+ return temp;\r
+ }\r
+ set\r
+ {\r
+ SetProperty(VideoView.Property.LOOPING, new Tizen.NUI.PropertyValue(value));\r
+ }\r
+ }\r
+ public bool Muted\r
+ {\r
+ get\r
+ {\r
+ bool temp = false;\r
+ GetProperty(VideoView.Property.MUTED).Get(ref temp);\r
+ return temp;\r
+ }\r
+ set\r
+ {\r
+ SetProperty(VideoView.Property.MUTED, new Tizen.NUI.PropertyValue(value));\r
+ }\r
+ }\r
+ public PropertyMap Volume\r
+ {\r
+ get\r
+ {\r
+ PropertyMap temp = new PropertyMap();\r
+ GetProperty(VideoView.Property.VOLUME).Get(temp);\r
+ return temp;\r
+ }\r
+ set\r
+ {\r
+ SetProperty(VideoView.Property.VOLUME, new PropertyValue(value));\r
+ }\r
+ }\r
+\r
+ }\r
+\r
+}\r
-// Copyright (c) 2016 Samsung Electronics Co., Ltd All Rights Reserved\r
-// PROPRIETARY/CONFIDENTIAL \r
-// This software is the confidential and proprietary\r
-// information of SAMSUNG ELECTRONICS ("Confidential Information"). You shall\r
-// not disclose such Confidential Information and shall use it only in\r
-// accordance with the terms of the license agreement you entered into with\r
-// SAMSUNG ELECTRONICS. SAMSUNG make no representations or warranties about the\r
-// suitability of the software, either express or implied, including but not\r
-// limited to the implied warranties of merchantability, fitness for a\r
-// particular purpose, or non-infringement. SAMSUNG shall not be liable for any\r
-// damages suffered by licensee as a result of using, modifying or distributing\r
-// this software or its derivatives.\r
-\r
-// Copyright (c) 2017 Samsung Electronics Co., Ltd.\r
-//\r
-// Licensed under the Apache License, Version 2.0 (the "License");\r
-// you may not use this file except in compliance with the License.\r
-// You may obtain a copy of the License at\r
-//\r
-// http://www.apache.org/licenses/LICENSE-2.0\r
-//\r
-// Unless required by applicable law or agreed to in writing, software\r
-// distributed under the License is distributed on an "AS IS" BASIS,\r
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
-// See the License for the specific language governing permissions and\r
-// limitations under the License.\r
-//\r
-\r
-// This File has been auto-generated by SWIG and then modified using DALi Ruby Scripts\r
-// Some have been manually changed\r
-\r
+/** Copyright (c) 2017 Samsung Electronics Co., Ltd.\r
+*\r
+* Licensed under the Apache License, Version 2.0 (the "License");\r
+* you may not use this file except in compliance with the License.\r
+* You may obtain a copy of the License at\r
+*\r
+* http://www.apache.org/licenses/LICENSE-2.0\r
+*\r
+* Unless required by applicable law or agreed to in writing, software\r
+* distributed under the License is distributed on an "AS IS" BASIS,\r
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
+* See the License for the specific language governing permissions and\r
+* limitations under the License.\r
+*\r
+*/\r
\r
namespace Tizen.NUI\r
{\r
internal View(global::System.IntPtr cPtr, bool cMemoryOwn) : base(NDalicPINVOKE.View_SWIGUpcast(cPtr), cMemoryOwn)\r
{\r
swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);\r
+\r
+ // Register this instance of view in the view registry.\r
+ ViewRegistry.RegisterView(this);\r
+\r
+ // By default, we do not want the position to use the anchor point\r
+ //this.PositionUsesAnchorPoint = false;\r
}\r
\r
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(View obj)\r
\r
~View()\r
{\r
- Dispose();\r
+ DisposeQueue.Instance.Add(this);\r
+\r
+ // Unregister this instance of view from the view registry.\r
+ ViewRegistry.UnregisterView(this);\r
}\r
\r
public override void Dispose()\r
}\r
}\r
\r
- private EventHandler _keyInputFocusGainedEventHandler;\r
- [UnmanagedFunctionPointer(CallingConvention.StdCall)]\r
- private delegate void KeyInputFocusGainedCallbackType(IntPtr control);\r
- private KeyInputFocusGainedCallbackType _keyInputFocusGainedCallback;\r
-\r
/**\r
- * @brief Event for KeyInputFocusGained signal which can be used to subscribe/unsubscribe the event handler\r
- * provided by the user. KeyInputFocusGained signal is emitted when the control gets Key Input Focus.\r
- */\r
- public event EventHandler FocusGained\r
+ * @brief Event arguments that passed via KeyInputFocusGained signal\r
+ *\r
+ */\r
+ public class KeyInputFocusGainedEventArgs : EventArgs\r
{\r
- add\r
+ private View _view;\r
+\r
+ /**\r
+ * @brief View - is the view that gets Key Input Focus\r
+ *\r
+ */\r
+ public View View\r
{\r
- if (_keyInputFocusGainedEventHandler == null)\r
+ get\r
{\r
- _keyInputFocusGainedCallback = OnKeyInputFocusGained;\r
- this.KeyInputFocusGainedSignal().Connect(_keyInputFocusGainedCallback);\r
+ return _view;\r
}\r
-\r
- _keyInputFocusGainedEventHandler += value;\r
- }\r
-\r
- remove\r
- {\r
- _keyInputFocusGainedEventHandler -= value;\r
-\r
- if (_keyInputFocusGainedEventHandler == null && _keyInputFocusGainedCallback != null)\r
+ set\r
{\r
- this.KeyInputFocusGainedSignal().Disconnect(_keyInputFocusGainedCallback);\r
+ _view = value;\r
}\r
}\r
}\r
\r
- private void OnKeyInputFocusGained(IntPtr view)\r
+ /**\r
+ * @brief Event arguments that passed via KeyInputFocusLost signal\r
+ *\r
+ */\r
+ public class KeyInputFocusLostEventArgs : EventArgs\r
{\r
- if (_keyInputFocusGainedEventHandler != null)\r
+ private View _view;\r
+\r
+ /**\r
+ * @brief View - is the view that loses Key Input Focus\r
+ *\r
+ */\r
+ public View View\r
{\r
- _keyInputFocusGainedEventHandler(this, null);\r
+ get\r
+ {\r
+ return _view;\r
+ }\r
+ set\r
+ {\r
+ _view = value;\r
+ }\r
}\r
}\r
\r
-\r
- private EventHandler _keyInputFocusLostEventHandler;\r
- [UnmanagedFunctionPointer(CallingConvention.StdCall)]\r
- private delegate void KeyInputFocusLostCallbackType(IntPtr control);\r
- private KeyInputFocusLostCallbackType _keyInputFocusLostCallback;\r
-\r
/**\r
- * @brief Event for KeyInputFocusLost signal which can be used to subscribe/unsubscribe the event handler\r
- * provided by the user. KeyInputFocusLost signal is emitted when the control loses Key Input Focus.\r
- */\r
- public event EventHandler FocusLost\r
+ * @brief Event arguments that passed via Key signal\r
+ *\r
+ */\r
+ public class KeyEventArgs : EventArgs\r
{\r
- add\r
+ private View _view;\r
+ private Key _key;\r
+\r
+ /**\r
+ * @brief View - is the view that recieves the key.\r
+ *\r
+ */\r
+ public View View\r
{\r
- if (_keyInputFocusLostEventHandler == null)\r
+ get\r
{\r
- _keyInputFocusLostCallback = OnKeyInputFocusLost;\r
- this.KeyInputFocusLostSignal().Connect(_keyInputFocusLostCallback);\r
+ return _view;\r
+ }\r
+ set\r
+ {\r
+ _view = value;\r
}\r
-\r
- _keyInputFocusLostEventHandler += value;\r
}\r
\r
- remove\r
+ /**\r
+ * @brief Key - is the key sent to the View.\r
+ *\r
+ */\r
+ public Key Key\r
{\r
- _keyInputFocusLostEventHandler -= value;\r
-\r
- if (_keyInputFocusLostEventHandler == null && _keyInputFocusLostCallback != null)\r
+ get\r
+ {\r
+ return _key;\r
+ }\r
+ set\r
{\r
- this.KeyInputFocusLostSignal().Disconnect(_keyInputFocusLostCallback);\r
+ _key = value;\r
}\r
}\r
}\r
\r
- private void OnKeyInputFocusLost(IntPtr view)\r
+ /**\r
+ * @brief Event arguments that passed via OnRelayout signal\r
+ *\r
+ */\r
+ public class OnRelayoutEventArgs : EventArgs\r
{\r
- if (_keyInputFocusLostEventHandler != null)\r
+ private View _view;\r
+\r
+ /**\r
+ * @brief View - is the view that is being resized upon relayout\r
+ *\r
+ */\r
+ public View View\r
{\r
- _keyInputFocusLostEventHandler(this, null);\r
+ get\r
+ {\r
+ return _view;\r
+ }\r
+ set\r
+ {\r
+ _view = value;\r
+ }\r
}\r
}\r
\r
\r
/**\r
- * @brief Event arguments that passed via KeyEvent signal\r
- *\r
- */\r
- public class KeyEventArgs : EventArgs\r
+ * @brief Event arguments that passed via Touch signal\r
+ *\r
+ */\r
+ public class TouchEventArgs : EventArgs\r
{\r
- private Key _key;\r
+ private View _view;\r
+ private Touch _touch;\r
\r
/**\r
- * @brief KeyEvent - is the keyevent sent to the View.\r
- *\r
- */\r
- public Key Key\r
+ * @brief View - is the view that is being touched\r
+ *\r
+ */\r
+ public View View\r
{\r
get\r
{\r
- return _key;\r
+ return _view;\r
}\r
set\r
{\r
- _key = value;\r
+ _view = value;\r
}\r
}\r
- }\r
\r
- private EventHandlerWithReturnType<object, KeyEventArgs, bool> _keyEventHandler;\r
- [UnmanagedFunctionPointer(CallingConvention.StdCall)]\r
- private delegate bool KeyCallbackType(IntPtr control, IntPtr keyEvent);\r
- private KeyCallbackType _keyCallback;\r
+ /**\r
+ * @brief Touch - contains the information of touch points\r
+ *\r
+ */\r
+ public Touch Touch\r
+ {\r
+ get\r
+ {\r
+ return _touch;\r
+ }\r
+ set\r
+ {\r
+ _touch = value;\r
+ }\r
+ }\r
+ }\r
\r
/**\r
- * @brief Event for KeyPressed signal which can be used to subscribe/unsubscribe the event handler\r
- * provided by the user. KeyPressed signal is emitted when key event is received.\r
- */\r
- public event EventHandlerWithReturnType<object, KeyEventArgs, bool> KeyEvent\r
+ * @brief Event arguments that passed via Hover signal\r
+ *\r
+ */\r
+ public class HoverEventArgs : EventArgs\r
{\r
- add\r
+ private View _view;\r
+ private Hover _hover;\r
+\r
+ /**\r
+ * @brief View - is the view that is being hovered\r
+ *\r
+ */\r
+ public View View\r
{\r
- if (_keyEventHandler == null)\r
+ get\r
{\r
- _keyCallback = OnKeyEvent;\r
- this.KeyEventSignal().Connect(_keyCallback);\r
+ return _view;\r
}\r
+ set\r
+ {\r
+ _view = value;\r
+ }\r
+ }\r
\r
- _keyEventHandler += value;\r
+ /**\r
+ * @brief Hover - contains touch points that represent the points\r
+ * that are currently being hovered or the points where a hover has stopped\r
+ *\r
+ */\r
+ public Hover Hover\r
+ {\r
+ get\r
+ {\r
+ return _hover;\r
+ }\r
+ set\r
+ {\r
+ _hover = value;\r
+ }\r
}\r
+ }\r
\r
- remove\r
+ /**\r
+ * @brief Event arguments that passed via Wheel signal\r
+ *\r
+ */\r
+ public class WheelEventArgs : EventArgs\r
+ {\r
+ private View _view;\r
+ private Wheel _wheel;\r
+\r
+ /**\r
+ * @brief View - is the view that is being wheeled\r
+ *\r
+ */\r
+ public View View\r
{\r
- _keyEventHandler -= value;\r
+ get\r
+ {\r
+ return _view;\r
+ }\r
+ set\r
+ {\r
+ _view = value;\r
+ }\r
+ }\r
\r
- if (_keyEventHandler == null && _keyCallback != null)\r
+ /**\r
+ * @brief Wheel - store a wheel rolling type : MOUSE_WHEEL or CUSTOM_WHEEL\r
+ *\r
+ */\r
+ public Wheel Wheel\r
+ {\r
+ get\r
+ {\r
+ return _wheel;\r
+ }\r
+ set\r
{\r
- this.KeyEventSignal().Disconnect(_keyCallback);\r
+ _wheel = value;\r
}\r
}\r
}\r
\r
- private bool OnKeyEvent(IntPtr view, IntPtr keyEvent)\r
+ /**\r
+ * @brief Event arguments that passed via OnStage signal\r
+ *\r
+ */\r
+ public class OnStageEventArgs : EventArgs\r
{\r
- KeyEventArgs e = new KeyEventArgs();\r
+ private View _view;\r
+\r
+ /**\r
+ * @brief View - is the view that is being connected to the stage\r
+ *\r
+ */\r
+ public View View\r
+ {\r
+ get\r
+ {\r
+ return _view;\r
+ }\r
+ set\r
+ {\r
+ _view = value;\r
+ }\r
+ }\r
+ }\r
\r
- e.Key = Tizen.NUI.Key.GetKeyFromPtr(keyEvent);\r
+ /**\r
+ * @brief Event arguments that passed via OffStage signal\r
+ *\r
+ */\r
+ public class OffStageEventArgs : EventArgs\r
+ {\r
+ private View _view;\r
\r
- if (_keyEventHandler != null)\r
+ /**\r
+ * @brief View - is the view that is being disconnected from the stage\r
+ *\r
+ */\r
+ public View View\r
{\r
- return _keyEventHandler(this, e);\r
+ get\r
+ {\r
+ return _view;\r
+ }\r
+ set\r
+ {\r
+ _view = value;\r
+ }\r
}\r
- return false;\r
}\r
\r
+ [UnmanagedFunctionPointer(CallingConvention.StdCall)]\r
+ private delegate void KeyInputFocusGainedCallbackDelegate(IntPtr control);\r
+ private EventHandler<KeyInputFocusGainedEventArgs> _KeyInputFocusGainedEventHandler;\r
+ private KeyInputFocusGainedCallbackDelegate _KeyInputFocusGainedCallbackDelegate;\r
+\r
+ [UnmanagedFunctionPointer(CallingConvention.StdCall)]\r
+ private delegate void KeyInputFocusLostCallbackDelegate(IntPtr control);\r
+ private EventHandler<KeyInputFocusLostEventArgs> _KeyInputFocusLostEventHandler;\r
+ private KeyInputFocusLostCallbackDelegate _KeyInputFocusLostCallbackDelegate;\r
+\r
+ [UnmanagedFunctionPointer(CallingConvention.StdCall)]\r
+ private delegate bool KeyCallbackDelegate(IntPtr control, IntPtr key);\r
+ private EventHandlerWithReturnType<object, KeyEventArgs, bool> _KeyHandler;\r
+ private KeyCallbackDelegate _KeyCallbackDelegate;\r
+\r
+ [UnmanagedFunctionPointer(CallingConvention.StdCall)]\r
+ private delegate void OnRelayoutEventCallbackDelegate(IntPtr control);\r
+ private EventHandler<OnRelayoutEventArgs> _viewOnRelayoutEventHandler;\r
+ private OnRelayoutEventCallbackDelegate _viewOnRelayoutEventCallbackDelegate;\r
+\r
+ [UnmanagedFunctionPointer(CallingConvention.StdCall)]\r
+ private delegate bool TouchCallbackDelegate(IntPtr view, IntPtr touch);\r
+ private EventHandlerWithReturnType<object, TouchEventArgs, bool> _viewTouchHandler;\r
+ private TouchCallbackDelegate _viewTouchCallbackDelegate;\r
+\r
+ [UnmanagedFunctionPointer(CallingConvention.StdCall)]\r
+ private delegate bool HoverCallbackDelegate(IntPtr view, IntPtr hover);\r
+ private EventHandlerWithReturnType<object, HoverEventArgs, bool> _viewHoverHandler;\r
+ private HoverCallbackDelegate _viewHoverCallbackDelegate;\r
+\r
+ [UnmanagedFunctionPointer(CallingConvention.StdCall)]\r
+ private delegate bool WheelCallbackDelegate(IntPtr view, IntPtr wheel);\r
+ private EventHandlerWithReturnType<object, WheelEventArgs, bool> _viewWheelHandler;\r
+ private WheelCallbackDelegate _viewWheelCallbackDelegate;\r
+\r
+ [UnmanagedFunctionPointer(CallingConvention.StdCall)]\r
+ private delegate void OnStageEventCallbackDelegate(IntPtr control);\r
+ private EventHandler<OnStageEventArgs> _viewOnStageEventHandler;\r
+ private OnStageEventCallbackDelegate _viewOnStageEventCallbackDelegate;\r
\r
- private EventHandler _onRelayoutEventHandler;\r
[UnmanagedFunctionPointer(CallingConvention.StdCall)]\r
- private delegate void OnRelayoutEventCallbackType(IntPtr control);\r
- private OnRelayoutEventCallbackType _onRelayoutEventCallback;\r
+ private delegate void OffStageEventCallbackDelegate(IntPtr control);\r
+ private EventHandler<OffStageEventArgs> _viewOffStageEventHandler;\r
+ private OffStageEventCallbackDelegate _viewOffStageEventCallbackDelegate;\r
\r
/**\r
- * @brief Event for OnRelayout signal which can be used to subscribe/unsubscribe the event handler\r
- * OnRelayout signal is emitted after the size has been set on the view during relayout.\r
- */\r
- public event EventHandler OnRelayoutEvent\r
+ * @brief Event for KeyInputFocusGained signal which can be used to subscribe/unsubscribe the event handler\r
+ * (in the type of KeyInputFocusGainedEventHandler-DaliEventHandler<object,KeyInputFocusGainedEventArgs>)\r
+ * provided by the user. KeyInputFocusGained signal is emitted when the control gets Key Input Focus.\r
+ */\r
+ public event EventHandler<KeyInputFocusGainedEventArgs> KeyInputFocusGained\r
{\r
add\r
{\r
- if (_onRelayoutEventHandler == null)\r
+ if (_KeyInputFocusGainedEventHandler == null)\r
{\r
- _onRelayoutEventCallback = OnRelayout;\r
- this.OnRelayoutSignal().Connect(_onRelayoutEventCallback);\r
+ //Console.WriteLine("View Key EVENT Locked....");\r
+ _KeyInputFocusGainedCallbackDelegate = (OnKeyInputFocusGained);\r
+ KeyInputFocusGainedSignal().Connect(_KeyInputFocusGainedCallbackDelegate);\r
}\r
-\r
- _onRelayoutEventHandler += value;\r
+ _KeyInputFocusGainedEventHandler += value;\r
}\r
\r
remove\r
{\r
- _onRelayoutEventHandler -= value;\r
+ _KeyInputFocusGainedEventHandler -= value;\r
\r
- if (_onRelayoutEventHandler == null && _onRelayoutEventCallback != null)\r
+ if (_KeyInputFocusGainedEventHandler == null && _KeyInputFocusGainedCallbackDelegate != null)\r
{\r
- this.OnRelayoutSignal().Disconnect(_onRelayoutEventCallback);\r
+ KeyInputFocusGainedSignal().Disconnect(_KeyInputFocusGainedCallbackDelegate);\r
}\r
-\r
}\r
}\r
\r
- // Callback for View OnRelayout signal\r
- private void OnRelayout(IntPtr data)\r
+ private void OnKeyInputFocusGained(IntPtr view)\r
{\r
- if (_onRelayoutEventHandler != null)\r
+ KeyInputFocusGainedEventArgs e = new KeyInputFocusGainedEventArgs();\r
+ Console.WriteLine("View Key ....");\r
+ // Populate all members of "e" (KeyInputFocusGainedEventArgs) with real data\r
+ e.View = Tizen.NUI.View.GetViewFromPtr(view);\r
+\r
+ if (_KeyInputFocusGainedEventHandler != null)\r
{\r
- _onRelayoutEventHandler(this, null);\r
+ //here we send all data to user event handlers\r
+ _KeyInputFocusGainedEventHandler(this, e);\r
}\r
- }\r
\r
+ }\r
\r
/**\r
- * @brief Event arguments that passed via Touch signal\r
- *\r
- */\r
- public class TouchEventArgs : EventArgs\r
+ * @brief Event for KeyInputFocusLost signal which can be used to subscribe/unsubscribe the event handler\r
+ * (in the type of KeyInputFocusLostEventHandler-DaliEventHandler<object,KeyInputFocusLostEventArgs>)\r
+ * provided by the user. KeyInputFocusLost signal is emitted when the control loses Key Input Focus.\r
+ */\r
+ public event EventHandler<KeyInputFocusLostEventArgs> KeyInputFocusLost\r
{\r
- private Touch _touch;\r
-\r
- /**\r
- * @brief TouchData - contains the information of touch points\r
- *\r
- */\r
- public Touch Touch\r
+ add\r
{\r
- get\r
+ if (_KeyInputFocusLostEventHandler == null)\r
{\r
- return _touch;\r
+ _KeyInputFocusLostCallbackDelegate = (OnKeyInputFocusLost);\r
+ KeyInputFocusLostSignal().Connect(_KeyInputFocusLostCallbackDelegate);\r
}\r
- set\r
+ _KeyInputFocusLostEventHandler += value;\r
+ }\r
+\r
+ remove\r
+ {\r
+ _KeyInputFocusLostEventHandler -= value;\r
+\r
+ if (_KeyInputFocusLostEventHandler == null && _KeyInputFocusLostCallbackDelegate != null)\r
{\r
- _touch = value;\r
+ KeyInputFocusLostSignal().Disconnect(_KeyInputFocusLostCallbackDelegate);\r
}\r
}\r
}\r
\r
- private EventHandlerWithReturnType<object, TouchEventArgs, bool> _touchDataEventHandler;\r
- [UnmanagedFunctionPointer(CallingConvention.StdCall)]\r
- private delegate bool TouchDataCallbackType(IntPtr view, IntPtr touchData);\r
- private TouchDataCallbackType _touchDataCallback;\r
+ private void OnKeyInputFocusLost(IntPtr view)\r
+ {\r
+ KeyInputFocusLostEventArgs e = new KeyInputFocusLostEventArgs();\r
+\r
+ // Populate all members of "e" (KeyInputFocusLostEventArgs) with real data\r
+ e.View = Tizen.NUI.View.GetViewFromPtr(view);\r
+\r
+ if (_KeyInputFocusLostEventHandler != null)\r
+ {\r
+ //here we send all data to user event handlers\r
+ _KeyInputFocusLostEventHandler(this, e);\r
+ }\r
+ }\r
\r
/**\r
- * @brief Event for Touched signal which can be used to subscribe/unsubscribe the event handler\r
- * provided by the user. Touched signal is emitted when touch input is received.\r
- */\r
- public event EventHandlerWithReturnType<object, TouchEventArgs, bool> Touched\r
+ * @brief Event for KeyPressed signal which can be used to subscribe/unsubscribe the event handler\r
+ * (in the type of KeyHandler-EventHandlerWithReturnType<object,KeyEventArgs,bool>)\r
+ * provided by the user. KeyPressed signal is emitted when key event is received.\r
+ */\r
+ public event EventHandlerWithReturnType<object, KeyEventArgs, bool> KeyPressed\r
{\r
add\r
{\r
- if (_touchDataEventHandler == null)\r
+ if (_KeyHandler == null)\r
{\r
- _touchDataCallback = OnTouch;\r
- this.TouchSignal().Connect(_touchDataCallback);\r
+ _KeyCallbackDelegate = (OnKey);\r
+ KeyEventSignal().Connect(_KeyCallbackDelegate);\r
}\r
-\r
- _touchDataEventHandler += value;\r
+ _KeyHandler += value;\r
}\r
\r
remove\r
{\r
- _touchDataEventHandler -= value;\r
-\r
- if (_touchDataEventHandler == null && _touchDataCallback != null)\r
+ _KeyHandler -= value;\r
+ if (_KeyHandler == null && _KeyCallbackDelegate != null)\r
{\r
- this.TouchSignal().Disconnect(_touchDataCallback);\r
+ KeyEventSignal().Disconnect(_KeyCallbackDelegate);\r
}\r
-\r
}\r
}\r
\r
- // Callback for View TouchSignal\r
- private bool OnTouch(IntPtr view, IntPtr touchData)\r
+ private bool OnKey(IntPtr view, IntPtr key)\r
{\r
- TouchEventArgs e = new TouchEventArgs();\r
+ KeyEventArgs e = new KeyEventArgs();\r
\r
- e.Touch = Tizen.NUI.Touch.GetTouchFromPtr(touchData);\r
+ // Populate all members of "e" (KeyEventArgs) with real data\r
+ e.View = Tizen.NUI.View.GetViewFromPtr(view);\r
+ e.Key = Tizen.NUI.Key.GetKeyFromPtr(key);\r
\r
- if (_touchDataEventHandler != null)\r
+ if (_KeyHandler != null)\r
{\r
- return _touchDataEventHandler(this, e);\r
+ //here we send all data to user event handlers\r
+ return _KeyHandler(this, e);\r
}\r
return false;\r
- }\r
\r
+ }\r
\r
/**\r
- * @brief Event arguments that passed via Hover signal\r
- *\r
- */\r
- public class HoverEventArgs : EventArgs\r
+ * @brief Event for OnRelayout signal which can be used to subscribe/unsubscribe the event handler\r
+ * (in the type of OnRelayoutEventHandler) provided by the user.\r
+ * OnRelayout signal is emitted after the size has been set on the view during relayout.\r
+ */\r
+ public event EventHandler<OnRelayoutEventArgs> OnRelayoutEvent\r
{\r
- private Hover _hover;\r
- /**\r
- * @brief HoverEvent - contains touch points that represent the points\r
- * that are currently being hovered or the points where a hover has stopped\r
- *\r
- */\r
- public Hover Hover\r
+ add\r
{\r
- get\r
+ if (_viewOnRelayoutEventHandler == null)\r
{\r
- return _hover;\r
+ //Console.WriteLine("View OnRelayoutEventArgs Locked....");\r
+ _viewOnRelayoutEventCallbackDelegate = (OnRelayout);\r
+ OnRelayoutSignal().Connect(_viewOnRelayoutEventCallbackDelegate);\r
}\r
- set\r
+ _viewOnRelayoutEventHandler += value;\r
+ }\r
+\r
+ remove\r
+ {\r
+ _viewOnRelayoutEventHandler -= value;\r
+ if (_viewOnRelayoutEventHandler == null && _viewOnRelayoutEventCallbackDelegate != null)\r
{\r
- _hover = value;\r
+ OnRelayoutSignal().Disconnect(_viewOnRelayoutEventCallbackDelegate);\r
}\r
}\r
}\r
\r
- private EventHandlerWithReturnType<object, HoverEventArgs, bool> _hoverEventHandler;\r
- [UnmanagedFunctionPointer(CallingConvention.StdCall)]\r
- private delegate bool HoverEventCallbackType(IntPtr view, IntPtr hoverEvent);\r
- private HoverEventCallbackType _hoverEventCallback;\r
+ // Callback for View OnRelayout signal\r
+ private void OnRelayout(IntPtr data)\r
+ {\r
+ OnRelayoutEventArgs e = new OnRelayoutEventArgs();\r
+ Console.WriteLine("View OnRelayoutEventArgs....");\r
+ // Populate all members of "e" (OnRelayoutEventArgs) with real data\r
+ e.View = View.GetViewFromPtr(data);\r
+\r
+ if (_viewOnRelayoutEventHandler != null)\r
+ {\r
+ //here we send all data to user event handlers\r
+ _viewOnRelayoutEventHandler(this, e);\r
+ }\r
+ }\r
\r
/**\r
- * @brief Event for Hovered signal which can be used to subscribe/unsubscribe the event handler\r
- * provided by the user. Hovered signal is emitted when hover input is received.\r
- */\r
- public event EventHandlerWithReturnType<object, HoverEventArgs, bool> Hovered\r
+ * @brief Event for Touched signal which can be used to subscribe/unsubscribe the event handler\r
+ * (in the type of TouchHandler-EventHandlerWithReturnType<object,TouchEventArgs,bool>)\r
+ * provided by the user. Touched signal is emitted when touch input is received.\r
+ */\r
+ public event EventHandlerWithReturnType<object, TouchEventArgs, bool> Touched\r
{\r
add\r
{\r
- if (_hoverEventHandler == null)\r
+ if (_viewTouchHandler == null)\r
{\r
- _hoverEventCallback = OnHoverEvent;\r
- this.HoveredSignal().Connect(_hoverEventCallback);\r
+ //Console.WriteLine("View Touch EVENT LOCKED....");\r
+ _viewTouchCallbackDelegate = (OnTouch);\r
+ TouchSignal().Connect(_viewTouchCallbackDelegate);\r
}\r
-\r
- _hoverEventHandler += value;\r
+ _viewTouchHandler += value;\r
}\r
\r
remove\r
{\r
- _hoverEventHandler -= value;\r
-\r
- if (_hoverEventHandler == null && _hoverEventCallback != null)\r
+ _viewTouchHandler -= value;\r
+ if (_viewTouchHandler == null && _viewTouchCallbackDelegate != null)\r
{\r
- this.HoveredSignal().Disconnect(_hoverEventCallback);\r
+ TouchSignal().Disconnect(_viewTouchCallbackDelegate);\r
}\r
-\r
}\r
}\r
\r
- // Callback for View Hover signal\r
- private bool OnHoverEvent(IntPtr view, IntPtr hoverEvent)\r
+ // Callback for View TouchSignal\r
+ private bool OnTouch(IntPtr view, IntPtr touch)\r
{\r
- HoverEventArgs e = new HoverEventArgs();\r
-\r
- e.Hover = Tizen.NUI.Hover.GetHoverFromPtr(hoverEvent);\r
+ TouchEventArgs e = new TouchEventArgs();\r
+ Console.WriteLine("View Touch EVENT....");\r
+ // Populate all members of "e" (TouchEventArgs) with real data\r
+ e.View = View.GetViewFromPtr(view);\r
+ e.Touch = Tizen.NUI.Touch.GetTouchFromPtr(touch);\r
\r
- if (_hoverEventHandler != null)\r
+ if (_viewTouchHandler != null)\r
{\r
- return _hoverEventHandler(this, e);\r
+ //here we send all data to user event handlers\r
+ return _viewTouchHandler(this, e);\r
}\r
+\r
return false;\r
}\r
\r
-\r
/**\r
- * @brief Event arguments that passed via Wheel signal\r
- *\r
- */\r
- public class WheelEventArgs : EventArgs\r
+ * @brief Event for Hovered signal which can be used to subscribe/unsubscribe the event handler\r
+ * (in the type of HoverHandler-EventHandlerWithReturnType<object,HoverEventArgs,bool>)\r
+ * provided by the user. Hovered signal is emitted when hover input is received.\r
+ */\r
+ public event EventHandlerWithReturnType<object, HoverEventArgs, bool> Hovered\r
{\r
- private Wheel _wheel;\r
- /**\r
- * @brief WheelEvent - store a wheel rolling type : MOUSE_WHEEL or CUSTOM_WHEEL\r
- *\r
- */\r
- public Wheel Wheel\r
+ add\r
{\r
- get\r
+ if (_viewHoverHandler == null)\r
{\r
- return _wheel;\r
+ _viewHoverCallbackDelegate = (OnHover);\r
+ HoveredSignal().Connect(_viewHoverCallbackDelegate);\r
}\r
- set\r
+ _viewHoverHandler += value;\r
+ }\r
+\r
+ remove\r
+ {\r
+ _viewHoverHandler -= value;\r
+ if (_viewHoverHandler == null && _viewHoverCallbackDelegate != null)\r
{\r
- _wheel = value;\r
+ HoveredSignal().Disconnect(_viewHoverCallbackDelegate);\r
}\r
}\r
}\r
\r
- private EventHandlerWithReturnType<object, WheelEventArgs, bool> _wheelEventHandler;\r
- [UnmanagedFunctionPointer(CallingConvention.StdCall)]\r
- private delegate bool WheelEventCallbackType(IntPtr view, IntPtr wheelEvent);\r
- private WheelEventCallbackType _wheelEventCallback;\r
+ // Callback for View Hover signal\r
+ private bool OnHover(IntPtr view, IntPtr hover)\r
+ {\r
+ HoverEventArgs e = new HoverEventArgs();\r
+\r
+ // Populate all members of "e" (HoverEventArgs) with real data\r
+ e.View = View.GetViewFromPtr(view);\r
+ e.Hover = Tizen.NUI.Hover.GetHoverFromPtr(hover);\r
+\r
+ if (_viewHoverHandler != null)\r
+ {\r
+ //here we send all data to user event handlers\r
+ return _viewHoverHandler(this, e);\r
+ }\r
+\r
+ return false;\r
+ }\r
\r
/**\r
- * @brief Event for WheelMoved signal which can be used to subscribe/unsubscribe the event handler\r
- * provided by the user. WheelMoved signal is emitted when wheel event is received.\r
- */\r
+ * @brief Event for WheelMoved signal which can be used to subscribe/unsubscribe the event handler\r
+ * (in the type of WheelHandler-EventHandlerWithReturnType<object,WheelEventArgs,bool>)\r
+ * provided by the user. WheelMoved signal is emitted when wheel event is received.\r
+ */\r
public event EventHandlerWithReturnType<object, WheelEventArgs, bool> WheelMoved\r
{\r
add\r
{\r
- if (_wheelEventHandler == null)\r
+ if (_viewWheelHandler == null)\r
{\r
- _wheelEventCallback = OnWheelEvent;\r
- this.WheelEventSignal().Connect(_wheelEventCallback);\r
+ //Console.WriteLine("View Wheel EVENT LOCKED....");\r
+ _viewWheelCallbackDelegate = (OnWheel);\r
+ WheelEventSignal().Connect(_viewWheelCallbackDelegate);\r
}\r
-\r
- _wheelEventHandler += value;\r
+ _viewWheelHandler += value;\r
}\r
\r
remove\r
{\r
- _wheelEventHandler -= value;\r
-\r
- if (_wheelEventHandler == null && _wheelEventCallback != null)\r
+ _viewWheelHandler -= value;\r
+ if (_viewWheelHandler == null && _viewWheelCallbackDelegate != null)\r
{\r
- this.WheelEventSignal().Disconnect(_wheelEventCallback);\r
+ WheelEventSignal().Disconnect(_viewWheelCallbackDelegate);\r
}\r
-\r
}\r
}\r
\r
// Callback for View Wheel signal\r
- private bool OnWheelEvent(IntPtr view, IntPtr wheelEvent)\r
+ private bool OnWheel(IntPtr view, IntPtr wheel)\r
{\r
WheelEventArgs e = new WheelEventArgs();\r
+ Console.WriteLine("View Wheel EVENT ....");\r
+ // Populate all members of "e" (WheelEventArgs) with real data\r
+ e.View = View.GetViewFromPtr(view);\r
+ e.Wheel = Tizen.NUI.Wheel.GetWheelFromPtr(wheel);\r
\r
- e.Wheel = Tizen.NUI.Wheel.GetWheelFromPtr(wheelEvent);\r
-\r
- if (_wheelEventHandler != null)\r
+ if (_viewWheelHandler != null)\r
{\r
- return _wheelEventHandler(this, e);\r
+ //here we send all data to user event handlers\r
+ return _viewWheelHandler(this, e);\r
}\r
+\r
return false;\r
}\r
\r
-\r
- private EventHandler _onStageEventHandler;\r
- [UnmanagedFunctionPointer(CallingConvention.StdCall)]\r
- private delegate void OnStageEventCallbackType(IntPtr control);\r
- private OnStageEventCallbackType _onStageEventCallback;\r
-\r
/**\r
- * @brief Event for OnStage signal which can be used to subscribe/unsubscribe the event handler\r
- * OnStage signal is emitted after the view has been connected to the stage.\r
- */\r
- public event EventHandler OnStageEvent\r
+ * @brief Event for OnStage signal which can be used to subscribe/unsubscribe the event handler\r
+ * (in the type of OnStageEventHandler) provided by the user.\r
+ * OnStage signal is emitted after the view has been connected to the stage.\r
+ */\r
+ public event EventHandler<OnStageEventArgs> OnStageEvent\r
{\r
add\r
{\r
- if (_onStageEventHandler == null)\r
+ if (_viewOnStageEventHandler == null)\r
{\r
- _onStageEventCallback = OnStage;\r
- this.OnStageSignal().Connect(_onStageEventCallback);\r
+ _viewOnStageEventCallbackDelegate = (OnStage);\r
+ OnStageSignal().Connect(_viewOnStageEventCallbackDelegate);\r
}\r
-\r
- _onStageEventHandler += value;\r
+ _viewOnStageEventHandler += value;\r
}\r
\r
remove\r
{\r
- _onStageEventHandler -= value;\r
-\r
- if (_onStageEventHandler == null && _onStageEventCallback != null)\r
+ _viewOnStageEventHandler -= value;\r
+ if (_viewOnStageEventHandler == null && _viewOnStageEventCallbackDelegate != null)\r
{\r
- this.OnStageSignal().Disconnect(_onStageEventCallback);\r
+ OnStageSignal().Disconnect(_viewOnStageEventCallbackDelegate);\r
}\r
}\r
}\r
// Callback for View OnStage signal\r
private void OnStage(IntPtr data)\r
{\r
- if (_onStageEventHandler != null)\r
+ OnStageEventArgs e = new OnStageEventArgs();\r
+\r
+ // Populate all members of "e" (OnStageEventArgs) with real data\r
+ e.View = View.GetViewFromPtr(data);\r
+\r
+ //Console.WriteLine("############# OnStage()! e.View.Name=" + e.View.Name);\r
+\r
+ if (_viewOnStageEventHandler != null)\r
{\r
- _onStageEventHandler(this, null);\r
+ //here we send all data to user event handlers\r
+ _viewOnStageEventHandler(this, e);\r
}\r
}\r
\r
-\r
- private EventHandler _offStageEventHandler;\r
- [UnmanagedFunctionPointer(CallingConvention.StdCall)]\r
- private delegate void OffStageEventCallbackType(IntPtr control);\r
- private OffStageEventCallbackType _offStageEventCallback;\r
-\r
/**\r
- * @brief Event for OffStage signal which can be used to subscribe/unsubscribe the event handler\r
- * OffStage signal is emitted after the view has been disconnected from the stage.\r
- */\r
- public event EventHandler OffStageEvent\r
+ * @brief Event for OffStage signal which can be used to subscribe/unsubscribe the event handler\r
+ * (in the type of OffStageEventHandler) provided by the user.\r
+ * OffStage signal is emitted after the view has been disconnected from the stage.\r
+ */\r
+ public event EventHandler<OffStageEventArgs> OffStageEvent\r
{\r
add\r
{\r
- if (_offStageEventHandler == null)\r
+ if (_viewOffStageEventHandler == null)\r
{\r
- _offStageEventCallback = OffStage;\r
- this.OnStageSignal().Connect(_offStageEventCallback);\r
+ _viewOffStageEventCallbackDelegate = (OffStage);\r
+ OnStageSignal().Connect(_viewOffStageEventCallbackDelegate);\r
}\r
-\r
- _offStageEventHandler += value;\r
+ _viewOffStageEventHandler += value;\r
}\r
\r
remove\r
{\r
- _offStageEventHandler -= value;\r
-\r
- if (_offStageEventHandler == null && _offStageEventCallback != null)\r
+ _viewOffStageEventHandler -= value;\r
+ if (_viewOffStageEventHandler == null && _viewOffStageEventCallbackDelegate != null)\r
{\r
- this.OnStageSignal().Disconnect(_offStageEventCallback);\r
+ OnStageSignal().Disconnect(_viewOffStageEventCallbackDelegate);\r
}\r
}\r
}\r
// Callback for View OffStage signal\r
private void OffStage(IntPtr data)\r
{\r
- if (_offStageEventHandler != null)\r
+ OffStageEventArgs e = new OffStageEventArgs();\r
+\r
+ // Populate all members of "e" (OffStageEventArgs) with real data\r
+ e.View = View.GetViewFromPtr(data);\r
+\r
+ if (_viewOffStageEventHandler != null)\r
{\r
- _offStageEventHandler(this, null);\r
+ //here we send all data to user event handlers\r
+ _viewOffStageEventHandler(this, e);\r
}\r
}\r
\r
return ret;\r
}\r
\r
- internal IntPtr GetPtrfromView()\r
- {\r
- return (IntPtr)swigCPtr;\r
- }\r
-\r
- public Tizen.NUI.PropertyMap Tooltip\r
- {\r
- get\r
- {\r
- Tizen.NUI.PropertyMap temp = new Tizen.NUI.PropertyMap();\r
- GetProperty(View.Property.TOOLTIP).Get(temp);\r
- return temp;\r
- }\r
- set\r
- {\r
- SetProperty(View.Property.TOOLTIP, new Tizen.NUI.PropertyValue(value));\r
- }\r
- }\r
-\r
- public string TooltipText\r
- {\r
- set\r
- {\r
- SetProperty(View.Property.TOOLTIP, new Tizen.NUI.PropertyValue(value));\r
- }\r
- }\r
-\r
internal class Property : global::System.IDisposable\r
{\r
private global::System.Runtime.InteropServices.HandleRef swigCPtr;\r
}\r
\r
internal static readonly int TOOLTIP = NDalicManualPINVOKE.View_Property_TOOLTIP_get();\r
+ internal static readonly int STATE = NDalicManualPINVOKE.View_Property_STATE_get();\r
+ internal static readonly int SUB_STATE = NDalicManualPINVOKE.View_Property_SUB_STATE_get();\r
+ internal static readonly int LEFT_FOCUSABLE_ACTOR_ID = NDalicManualPINVOKE.View_Property_LEFT_FOCUSABLE_ACTOR_ID_get();\r
+ internal static readonly int RIGHT_FOCUSABLE_ACTOR_ID = NDalicManualPINVOKE.View_Property_RIGHT_FOCUSABLE_ACTOR_ID_get();\r
+ internal static readonly int UP_FOCUSABLE_ACTOR_ID = NDalicManualPINVOKE.View_Property_UP_FOCUSABLE_ACTOR_ID_get();\r
+ internal static readonly int DOWN_FOCUSABLE_ACTOR_ID = NDalicManualPINVOKE.View_Property_DOWN_FOCUSABLE_ACTOR_ID_get();\r
\r
internal Property() : this(NDalicPINVOKE.new_View_Property(), true)\r
{\r
return ret;\r
}\r
\r
- public void SetKeyInputFocus()\r
+ public static T DownCast<T>(Actor actor) where T : View\r
+ {\r
+ return (T)(ViewRegistry.GetViewFromActor(actor));\r
+ }\r
+\r
+ private View ConvertIdToView(uint id)\r
+ {\r
+ Actor actor = null;\r
+\r
+ if (Parent)\r
+ {\r
+ actor = Parent.FindChildById(id);\r
+ }\r
+\r
+ if (!actor)\r
+ {\r
+ actor = Stage.Instance.GetRootLayer().FindChildById(id);\r
+ }\r
+\r
+ return View.DownCast<View>(actor);\r
+ }\r
+\r
+ internal void SetKeyInputFocus()\r
{\r
NDalicPINVOKE.View_SetKeyInputFocus(swigCPtr);\r
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
return ret;\r
}\r
\r
- public void ClearKeyInputFocus()\r
+ internal void ClearKeyInputFocus()\r
{\r
NDalicPINVOKE.View_ClearKeyInputFocus(swigCPtr);\r
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
return ret;\r
}\r
\r
- internal void SetStyleName(string styleName)\r
+ public void SetStyleName(string styleName)\r
{\r
NDalicPINVOKE.View_SetStyleName(swigCPtr, styleName);\r
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
}\r
\r
- internal string GetStyleName()\r
+ public string GetStyleName()\r
{\r
string ret = NDalicPINVOKE.View_GetStyleName(swigCPtr);\r
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
{\r
get\r
{\r
- Color temp = new Color(0.0f, 0.0f, 0.0f, 0.0f);\r
- GetProperty(View.Property.BACKGROUND_COLOR).Get(temp);\r
- return temp;\r
+ Color backgroundColor = new Color(0.0f, 0.0f, 0.0f, 0.0f);\r
+\r
+ Tizen.NUI.PropertyMap background = Background;\r
+ int visualType = 0;\r
+ background.Find(Tizen.NUI.Constants.Visual.Property.Type).Get(ref visualType);\r
+ if (visualType == (int)Tizen.NUI.Constants.Visual.Type.Color)\r
+ {\r
+ background.Find(Tizen.NUI.Constants.ColorVisualProperty.MixColor).Get(backgroundColor);\r
+ }\r
+\r
+ return backgroundColor;\r
}\r
set\r
{\r
- SetProperty(View.Property.BACKGROUND_COLOR, new Tizen.NUI.PropertyValue(value));\r
+ SetProperty(View.Property.BACKGROUND, new Tizen.NUI.PropertyValue(value));\r
}\r
}\r
\r
{\r
get\r
{\r
- string temp;\r
- GetProperty(View.Property.BACKGROUND).Get(out temp);\r
- return temp;\r
+ string backgroundImage = "";\r
+\r
+ Tizen.NUI.PropertyMap background = Background;\r
+ int visualType = 0;\r
+ background.Find(Tizen.NUI.Constants.Visual.Property.Type).Get(ref visualType);\r
+ if (visualType == (int)Tizen.NUI.Constants.Visual.Type.Image)\r
+ {\r
+ background.Find(Tizen.NUI.Constants.ImageVisualProperty.URL).Get(out backgroundImage);\r
+ }\r
+\r
+ return backgroundImage;\r
}\r
set\r
{\r
SetProperty(View.Property.BACKGROUND, new Tizen.NUI.PropertyValue(value));\r
}\r
}\r
+\r
internal bool KeyInputFocus\r
{\r
get\r
SetProperty(View.Property.KEY_INPUT_FOCUS, new Tizen.NUI.PropertyValue(value));\r
}\r
}\r
+\r
public Tizen.NUI.PropertyMap Background\r
{\r
get\r
}\r
}\r
\r
- public Vector2 CellIndex\r
+ public string State\r
{\r
get\r
{\r
- Vector2 temp = new Vector2(0.0f, 0.0f);\r
- GetProperty(TableView.ChildProperty.CELL_INDEX).Get(temp);\r
+ string temp;\r
+ GetProperty(View.Property.STATE).Get(out temp);\r
return temp;\r
}\r
set\r
{\r
- SetProperty(TableView.ChildProperty.CELL_INDEX, new Tizen.NUI.PropertyValue(value));\r
+ SetProperty(View.Property.STATE, new Tizen.NUI.PropertyValue(value));\r
}\r
}\r
- public float RowSpan\r
+\r
+ public string SubState\r
{\r
get\r
{\r
- float temp = 0.0f;\r
- GetProperty(TableView.ChildProperty.ROW_SPAN).Get(ref temp);\r
+ string temp;\r
+ GetProperty(View.Property.SUB_STATE).Get(out temp);\r
return temp;\r
}\r
set\r
{\r
- SetProperty(TableView.ChildProperty.ROW_SPAN, new Tizen.NUI.PropertyValue(value));\r
+ SetProperty(View.Property.SUB_STATE, new Tizen.NUI.PropertyValue(value));\r
}\r
}\r
- public float ColumnSpan\r
+\r
+ public Tizen.NUI.PropertyMap Tooltip\r
{\r
get\r
{\r
- float temp = 0.0f;\r
- GetProperty(TableView.ChildProperty.COLUMN_SPAN).Get(ref temp);\r
+ Tizen.NUI.PropertyMap temp = new Tizen.NUI.PropertyMap();\r
+ GetProperty(View.Property.TOOLTIP).Get(temp);\r
return temp;\r
}\r
set\r
{\r
- SetProperty(TableView.ChildProperty.COLUMN_SPAN, new Tizen.NUI.PropertyValue(value));\r
+ SetProperty(View.Property.TOOLTIP, new Tizen.NUI.PropertyValue(value));\r
}\r
}\r
- public string CellHorizontalAlignment\r
+\r
+ public string TooltipText\r
+ {\r
+ set\r
+ {\r
+ SetProperty(View.Property.TOOLTIP, new Tizen.NUI.PropertyValue(value));\r
+ }\r
+ }\r
+\r
+ private int LeftFocusableActorId\r
{\r
get\r
{\r
- string temp;\r
- GetProperty(TableView.ChildProperty.CELL_HORIZONTAL_ALIGNMENT).Get(out temp);\r
+ int temp = 0;\r
+ GetProperty(View.Property.LEFT_FOCUSABLE_ACTOR_ID).Get(ref temp);\r
return temp;\r
}\r
set\r
{\r
- SetProperty(TableView.ChildProperty.CELL_HORIZONTAL_ALIGNMENT, new Tizen.NUI.PropertyValue(value));\r
+ SetProperty(View.Property.LEFT_FOCUSABLE_ACTOR_ID, new Tizen.NUI.PropertyValue(value));\r
}\r
}\r
- public string CellVerticalAlignment\r
+\r
+ private int RightFocusableActorId\r
{\r
get\r
{\r
- string temp;\r
- GetProperty(TableView.ChildProperty.CELL_VERTICAL_ALIGNMENT).Get(out temp);\r
+ int temp = 0;\r
+ GetProperty(View.Property.RIGHT_FOCUSABLE_ACTOR_ID).Get(ref temp);\r
return temp;\r
}\r
set\r
{\r
- SetProperty(TableView.ChildProperty.CELL_VERTICAL_ALIGNMENT, new Tizen.NUI.PropertyValue(value));\r
+ SetProperty(View.Property.RIGHT_FOCUSABLE_ACTOR_ID, new Tizen.NUI.PropertyValue(value));\r
+ }\r
+ }\r
+\r
+ private int UpFocusableActorId\r
+ {\r
+ get\r
+ {\r
+ int temp = 0;\r
+ GetProperty(View.Property.UP_FOCUSABLE_ACTOR_ID).Get(ref temp);\r
+ return temp;\r
+ }\r
+ set\r
+ {\r
+ SetProperty(View.Property.UP_FOCUSABLE_ACTOR_ID, new Tizen.NUI.PropertyValue(value));\r
+ }\r
+ }\r
+\r
+ private int DownFocusableActorId\r
+ {\r
+ get\r
+ {\r
+ int temp = 0;\r
+ GetProperty(View.Property.DOWN_FOCUSABLE_ACTOR_ID).Get(ref temp);\r
+ return temp;\r
+ }\r
+ set\r
+ {\r
+ SetProperty(View.Property.DOWN_FOCUSABLE_ACTOR_ID, new Tizen.NUI.PropertyValue(value));\r
}\r
}\r
\r
}\r
}\r
\r
+ public Vector2 CellIndex\r
+ {\r
+ get\r
+ {\r
+ Vector2 temp = new Vector2(0.0f, 0.0f);\r
+ GetProperty(TableView.ChildProperty.CELL_INDEX).Get(temp);\r
+ return temp;\r
+ }\r
+ set\r
+ {\r
+ SetProperty(TableView.ChildProperty.CELL_INDEX, new Tizen.NUI.PropertyValue(value));\r
+ }\r
+ }\r
+\r
+ public float RowSpan\r
+ {\r
+ get\r
+ {\r
+ float temp = 0.0f;\r
+ GetProperty(TableView.ChildProperty.ROW_SPAN).Get(ref temp);\r
+ return temp;\r
+ }\r
+ set\r
+ {\r
+ SetProperty(TableView.ChildProperty.ROW_SPAN, new Tizen.NUI.PropertyValue(value));\r
+ }\r
+ }\r
+\r
+ public float ColumnSpan\r
+ {\r
+ get\r
+ {\r
+ float temp = 0.0f;\r
+ GetProperty(TableView.ChildProperty.COLUMN_SPAN).Get(ref temp);\r
+ return temp;\r
+ }\r
+ set\r
+ {\r
+ SetProperty(TableView.ChildProperty.COLUMN_SPAN, new Tizen.NUI.PropertyValue(value));\r
+ }\r
+ }\r
+\r
+ public string CellHorizontalAlignment\r
+ {\r
+ get\r
+ {\r
+ string temp;\r
+ GetProperty(TableView.ChildProperty.CELL_HORIZONTAL_ALIGNMENT).Get(out temp);\r
+ return temp;\r
+ }\r
+ set\r
+ {\r
+ SetProperty(TableView.ChildProperty.CELL_HORIZONTAL_ALIGNMENT, new Tizen.NUI.PropertyValue(value));\r
+ }\r
+ }\r
+\r
+ public string CellVerticalAlignment\r
+ {\r
+ get\r
+ {\r
+ string temp;\r
+ GetProperty(TableView.ChildProperty.CELL_VERTICAL_ALIGNMENT).Get(out temp);\r
+ return temp;\r
+ }\r
+ set\r
+ {\r
+ SetProperty(TableView.ChildProperty.CELL_VERTICAL_ALIGNMENT, new Tizen.NUI.PropertyValue(value));\r
+ }\r
+ }\r
+\r
+ /**\r
+ * @brief The left focusable view.\r
+ * @note This will return NULL if not set.\r
+ * This will also return NULL if the specified left focusable view is not on stage.\r
+ *\r
+ */\r
+ public View LeftFocusableView\r
+ {\r
+ // As native side will be only storing IDs so need a logic to convert View to ID and vice-versa.\r
+ get\r
+ {\r
+ if (LeftFocusableActorId >= 0)\r
+ {\r
+ return ConvertIdToView((uint)LeftFocusableActorId);\r
+ }\r
+ return null;\r
+ }\r
+ set\r
+ {\r
+ LeftFocusableActorId = (int)value.GetId();\r
+ }\r
+ }\r
+\r
+ /**\r
+ * @brief The right focusable view.\r
+ * @note This will return NULL if not set.\r
+ * This will also return NULL if the specified right focusable view is not on stage.\r
+ *\r
+ */\r
+ public View RightFocusableView\r
+ {\r
+ // As native side will be only storing IDs so need a logic to convert View to ID and vice-versa.\r
+ get\r
+ {\r
+ if (RightFocusableActorId >= 0)\r
+ {\r
+ return ConvertIdToView((uint)RightFocusableActorId);\r
+ }\r
+ return null;\r
+ }\r
+ set\r
+ {\r
+ RightFocusableActorId = (int)value.GetId();\r
+ }\r
+ }\r
+\r
+ /**\r
+ * @brief The up focusable view.\r
+ * @note This will return NULL if not set.\r
+ * This will also return NULL if the specified up focusable view is not on stage.\r
+ *\r
+ */\r
+ public View UpFocusableView\r
+ {\r
+ // As native side will be only storing IDs so need a logic to convert View to ID and vice-versa.\r
+ get\r
+ {\r
+ if (UpFocusableActorId >= 0)\r
+ {\r
+ return ConvertIdToView((uint)UpFocusableActorId);\r
+ }\r
+ return null;\r
+ }\r
+ set\r
+ {\r
+ UpFocusableActorId = (int)value.GetId();\r
+ }\r
+ }\r
+\r
+ /**\r
+ * @brief The down focusable view.\r
+ * @note This will return NULL if not set.\r
+ * This will also return NULL if the specified down focusable view is not on stage.\r
+ *\r
+ */\r
+ public View DownFocusableView\r
+ {\r
+ // As native side will be only storing IDs so need a logic to convert View to ID and vice-versa.\r
+ get\r
+ {\r
+ if (DownFocusableActorId >= 0)\r
+ {\r
+ return ConvertIdToView((uint)DownFocusableActorId);\r
+ }\r
+ return null;\r
+ }\r
+ set\r
+ {\r
+ DownFocusableActorId = (int)value.GetId();\r
+ }\r
+ }\r
+\r
public bool Focusable\r
{\r
set\r
-// Copyright (c) 2016 Samsung Electronics Co., Ltd All Rights Reserved
-// PROPRIETARY/CONFIDENTIAL
-// This software is the confidential and proprietary
-// information of SAMSUNG ELECTRONICS ("Confidential Information"). You shall
-// not disclose such Confidential Information and shall use it only in
-// accordance with the terms of the license agreement you entered into with
-// SAMSUNG ELECTRONICS. SAMSUNG make no representations or warranties about the
-// suitability of the software, either express or implied, including but not
-// limited to the implied warranties of merchantability, fitness for a
-// particular purpose, or non-infringement. SAMSUNG shall not be liable for any
-// damages suffered by licensee as a result of using, modifying or distributing
-// this software or its derivatives.
-
-// 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.
-//
-
-// This File has been auto-generated by SWIG and then modified using DALi Ruby Scripts
-// Some have been manually changed
-
-
-namespace Tizen.NUI
-{
-
- public class VisualBase : BaseHandle
- {
-
- private global::System.Runtime.InteropServices.HandleRef swigCPtr;
-
- internal VisualBase(global::System.IntPtr cPtr, bool cMemoryOwn) : base(NDalicPINVOKE.VisualBase_SWIGUpcast(cPtr), cMemoryOwn)
- {
- swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
- }
-
- internal static global::System.Runtime.InteropServices.HandleRef getCPtr(VisualBase obj)
- {
- return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
- }
-
- ~VisualBase()
- {
- Dispose();
- }
-
- public override void Dispose()
- {
- lock (this)
- {
- if (swigCPtr.Handle != global::System.IntPtr.Zero)
- {
- if (swigCMemOwn)
- {
- swigCMemOwn = false;
- NDalicPINVOKE.delete_VisualBase(swigCPtr);
- }
- swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
- }
- global::System.GC.SuppressFinalize(this);
- base.Dispose();
- }
- }
-
- public VisualBase() : this(NDalicPINVOKE.new_VisualBase__SWIG_0(), true)
- {
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- }
-
- internal VisualBase(VisualBase handle) : this(NDalicPINVOKE.new_VisualBase__SWIG_1(VisualBase.getCPtr(handle)), true)
- {
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- }
-
- internal VisualBase Assign(VisualBase handle)
- {
- VisualBase ret = new VisualBase(NDalicPINVOKE.VisualBase_Assign(swigCPtr, VisualBase.getCPtr(handle)), false);
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- return ret;
- }
-
- public string Name
- {
- set
- {
- SetName(value);
- }
- get
- {
- return GetName();
- }
- }
-
- internal void SetName(string name)
- {
- NDalicPINVOKE.VisualBase_SetName(swigCPtr, name);
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- }
-
- internal string GetName()
- {
- string ret = NDalicPINVOKE.VisualBase_GetName(swigCPtr);
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- return ret;
- }
-
- public void SetTransformAndSize(PropertyMap transform, Vector2 controlSize)
- {
- NDalicPINVOKE.VisualBase_SetTransformAndSize(swigCPtr, PropertyMap.getCPtr(transform), Vector2.getCPtr(controlSize));
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- }
-
- public float GetHeightForWidth(float width)
- {
- float ret = NDalicPINVOKE.VisualBase_GetHeightForWidth(swigCPtr, width);
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- return ret;
- }
-
- public float GetWidthForHeight(float height)
- {
- float ret = NDalicPINVOKE.VisualBase_GetWidthForHeight(swigCPtr, height);
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- return ret;
- }
-
- public void GetNaturalSize(Size2D naturalSize)
- {
- NDalicPINVOKE.VisualBase_GetNaturalSize(swigCPtr, Size2D.getCPtr(naturalSize));
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- }
-
- public float DepthIndex
- {
- set
- {
- SetDepthIndex(value);
- }
- get
- {
- return GetDepthIndex();
- }
- }
- internal void SetDepthIndex(float index)
- {
- NDalicPINVOKE.VisualBase_SetDepthIndex(swigCPtr, index);
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- }
-
- internal float GetDepthIndex()
- {
- float ret = NDalicPINVOKE.VisualBase_GetDepthIndex(swigCPtr);
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- return ret;
- }
-
- public PropertyMap Creation
- {
- set
- {
- CreatePropertyMap(value);
- }
- }
- internal void CreatePropertyMap(PropertyMap map)
- {
- NDalicPINVOKE.VisualBase_CreatePropertyMap(swigCPtr, PropertyMap.getCPtr(map));
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- }
-
- internal VisualBase(SWIGTYPE_p_Dali__Toolkit__Internal__Visual__Base impl) : this(NDalicPINVOKE.new_VisualBase__SWIG_2(SWIGTYPE_p_Dali__Toolkit__Internal__Visual__Base.getCPtr(impl)), true)
- {
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- }
-
- }
-
-}
+//------------------------------------------------------------------------------\r
+// <auto-generated />\r
+//\r
+// This file was automatically generated by SWIG (http://www.swig.org).\r
+// Version 3.0.9\r
+//\r
+// Do not make changes to this file unless you know what you are doing--modify\r
+// the SWIG interface file instead.\r
+//------------------------------------------------------------------------------\r
+\r
+namespace Tizen.NUI\r
+{\r
+\r
+ public class VisualBase : BaseHandle\r
+ {\r
+ private global::System.Runtime.InteropServices.HandleRef swigCPtr;\r
+\r
+ internal VisualBase(global::System.IntPtr cPtr, bool cMemoryOwn) : base(NDalicPINVOKE.VisualBase_SWIGUpcast(cPtr), cMemoryOwn)\r
+ {\r
+ swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);\r
+ }\r
+\r
+ internal static global::System.Runtime.InteropServices.HandleRef getCPtr(VisualBase obj)\r
+ {\r
+ return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;\r
+ }\r
+\r
+ ~VisualBase()\r
+ {\r
+ Dispose();\r
+ }\r
+\r
+ public override void Dispose()\r
+ {\r
+ lock (this)\r
+ {\r
+ if (swigCPtr.Handle != global::System.IntPtr.Zero)\r
+ {\r
+ if (swigCMemOwn)\r
+ {\r
+ swigCMemOwn = false;\r
+ NDalicPINVOKE.delete_VisualBase(swigCPtr);\r
+ }\r
+ swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);\r
+ }\r
+ global::System.GC.SuppressFinalize(this);\r
+ base.Dispose();\r
+ }\r
+ }\r
+\r
+ public VisualBase() : this(NDalicPINVOKE.new_VisualBase__SWIG_0(), true)\r
+ {\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ }\r
+\r
+ internal VisualBase(VisualBase handle) : this(NDalicPINVOKE.new_VisualBase__SWIG_1(VisualBase.getCPtr(handle)), true)\r
+ {\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ }\r
+\r
+ internal VisualBase Assign(VisualBase handle)\r
+ {\r
+ VisualBase ret = new VisualBase(NDalicPINVOKE.VisualBase_Assign(swigCPtr, VisualBase.getCPtr(handle)), false);\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ return ret;\r
+ }\r
+\r
+ public string Name\r
+ {\r
+ set\r
+ {\r
+ SetName(value);\r
+ }\r
+ get\r
+ {\r
+ return GetName();\r
+ }\r
+ }\r
+\r
+ internal void SetName(string name)\r
+ {\r
+ NDalicPINVOKE.VisualBase_SetName(swigCPtr, name);\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ }\r
+\r
+ internal string GetName()\r
+ {\r
+ string ret = NDalicPINVOKE.VisualBase_GetName(swigCPtr);\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ return ret;\r
+ }\r
+\r
+ public void SetTransformAndSize(PropertyMap transform, Vector2 controlSize)\r
+ {\r
+ NDalicPINVOKE.VisualBase_SetTransformAndSize(swigCPtr, PropertyMap.getCPtr(transform), Vector2.getCPtr(controlSize));\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ }\r
+\r
+ public float GetHeightForWidth(float width)\r
+ {\r
+ float ret = NDalicPINVOKE.VisualBase_GetHeightForWidth(swigCPtr, width);\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ return ret;\r
+ }\r
+\r
+ public float GetWidthForHeight(float height)\r
+ {\r
+ float ret = NDalicPINVOKE.VisualBase_GetWidthForHeight(swigCPtr, height);\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ return ret;\r
+ }\r
+\r
+ public void GetNaturalSize(Size2D naturalSize)\r
+ {\r
+ NDalicPINVOKE.VisualBase_GetNaturalSize(swigCPtr, Size2D.getCPtr(naturalSize));\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ }\r
+\r
+ public float DepthIndex\r
+ {\r
+ set\r
+ {\r
+ SetDepthIndex(value);\r
+ }\r
+ get\r
+ {\r
+ return GetDepthIndex();\r
+ }\r
+ }\r
+ internal void SetDepthIndex(float index)\r
+ {\r
+ NDalicPINVOKE.VisualBase_SetDepthIndex(swigCPtr, index);\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ }\r
+\r
+ internal float GetDepthIndex()\r
+ {\r
+ float ret = NDalicPINVOKE.VisualBase_GetDepthIndex(swigCPtr);\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ return ret;\r
+ }\r
+\r
+ public PropertyMap Creation\r
+ {\r
+ set\r
+ {\r
+ CreatePropertyMap(value);\r
+ }\r
+ }\r
+ internal void CreatePropertyMap(PropertyMap map)\r
+ {\r
+ NDalicPINVOKE.VisualBase_CreatePropertyMap(swigCPtr, PropertyMap.getCPtr(map));\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ }\r
+\r
+ internal VisualBase(SWIGTYPE_p_Dali__Toolkit__Internal__Visual__Base impl) : this(NDalicPINVOKE.new_VisualBase__SWIG_2(SWIGTYPE_p_Dali__Toolkit__Internal__Visual__Base.getCPtr(impl)), true)\r
+ {\r
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
+ }\r
+\r
+ }\r
+\r
+}\r
-// Copyright (c) 2016 Samsung Electronics Co., Ltd All Rights Reserved\r
-// PROPRIETARY/CONFIDENTIAL \r
-// This software is the confidential and proprietary\r
-// information of SAMSUNG ELECTRONICS ("Confidential Information"). You shall\r
-// not disclose such Confidential Information and shall use it only in\r
-// accordance with the terms of the license agreement you entered into with\r
-// SAMSUNG ELECTRONICS. SAMSUNG make no representations or warranties about the\r
-// suitability of the software, either express or implied, including but not\r
-// limited to the implied warranties of merchantability, fitness for a\r
-// particular purpose, or non-infringement. SAMSUNG shall not be liable for any\r
-// damages suffered by licensee as a result of using, modifying or distributing\r
-// this software or its derivatives.\r
-\r
-// Copyright (c) 2017 Samsung Electronics Co., Ltd.\r
+//------------------------------------------------------------------------------\r
+// <auto-generated />\r
//\r
-// Licensed under the Apache License, Version 2.0 (the "License");\r
-// you may not use this file except in compliance with the License.\r
-// You may obtain a copy of the License at\r
+// This file was automatically generated by SWIG (http://www.swig.org).\r
+// Version 3.0.9\r
//\r
-// http://www.apache.org/licenses/LICENSE-2.0\r
-//\r
-// Unless required by applicable law or agreed to in writing, software\r
-// distributed under the License is distributed on an "AS IS" BASIS,\r
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
-// See the License for the specific language governing permissions and\r
-// limitations under the License.\r
-//\r
-\r
-// This File has been auto-generated by SWIG and then modified using DALi Ruby Scripts\r
-// Some have been manually changed\r
-\r
+// Do not make changes to this file unless you know what you are doing--modify\r
+// the SWIG interface file instead.\r
+//------------------------------------------------------------------------------\r
\r
namespace Tizen.NUI\r
{\r
+++ /dev/null
-// Copyright (c) 2016 Samsung Electronics Co., Ltd All Rights Reserved\r
-// PROPRIETARY/CONFIDENTIAL \r
-// This software is the confidential and proprietary\r
-// information of SAMSUNG ELECTRONICS ("Confidential Information"). You shall\r
-// not disclose such Confidential Information and shall use it only in\r
-// accordance with the terms of the license agreement you entered into with\r
-// SAMSUNG ELECTRONICS. SAMSUNG make no representations or warranties about the\r
-// suitability of the software, either express or implied, including but not\r
-// limited to the implied warranties of merchantability, fitness for a\r
-// particular purpose, or non-infringement. SAMSUNG shall not be liable for any\r
-// damages suffered by licensee as a result of using, modifying or distributing\r
-// this software or its derivatives.\r
-\r
-// Copyright (c) 2017 Samsung Electronics Co., Ltd.\r
-//\r
-// Licensed under the Apache License, Version 2.0 (the "License");\r
-// you may not use this file except in compliance with the License.\r
-// You may obtain a copy of the License at\r
-//\r
-// http://www.apache.org/licenses/LICENSE-2.0\r
-//\r
-// Unless required by applicable law or agreed to in writing, software\r
-// distributed under the License is distributed on an "AS IS" BASIS,\r
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
-// See the License for the specific language governing permissions and\r
-// limitations under the License.\r
-//\r
-\r
-// This File has been auto-generated by SWIG and then modified using DALi Ruby Scripts\r
-// Some have been manually changed\r
-\r
-namespace Tizen.NUI\r
-{\r
- using System;\r
-\r
- public class ImageVisualMap\r
- {\r
- public ImageVisualMap()\r
- {\r
- }\r
-\r
- private string _url = "";\r
- private FittingModeType _fittingMode = FittingModeType.ShrinkToFit;\r
- private SamplingModeType _samplingMode = SamplingModeType.BOX;\r
- private float _depthIndex = 0.0f;\r
- /* the following properties should be done also. \r
- public static readonly int DesiredWidth = NDalic.IMAGE_VISUAL_DESIRED_WIDTH;\r
- public static readonly int DesiredHeight = NDalic.IMAGE_VISUAL_DESIRED_HEIGHT;\r
- public static readonly int SynchronousLoading = NDalic.IMAGE_VISUAL_SYNCHRONOUS_LOADING;\r
- public static readonly int BorderOnly = NDalic.IMAGE_VISUAL_BORDER_ONLY;\r
- public static readonly int PixelArea = NDalic.IMAGE_VISUAL_PIXEL_AREA;\r
- public static readonly int WrapModeU = NDalic.IMAGE_VISUAL_WRAP_MODE_U;\r
- public static readonly int WrapModeV = NDalic.IMAGE_VISUAL_WRAP_MODE_V;\r
- */\r
- private PropertyMap _outputMap;\r
-\r
-\r
- public string URL\r
- {\r
- get\r
- {\r
- return _url;\r
- }\r
- set\r
- {\r
- _url = value;\r
- }\r
- }\r
-\r
- public FittingModeType FittingMode\r
- {\r
- get\r
- {\r
- return _fittingMode;\r
- }\r
- set\r
- {\r
- _fittingMode = value;\r
- }\r
- }\r
- public SamplingModeType SamplingMode\r
- {\r
- get\r
- {\r
- return _samplingMode;\r
- }\r
- set\r
- {\r
- _samplingMode = value;\r
- }\r
- }\r
- public float DepthIndex\r
- {\r
- get\r
- {\r
- return _depthIndex;\r
- }\r
- set\r
- {\r
- _depthIndex = value;\r
- }\r
- }\r
-\r
- public PropertyMap OutputMap\r
- {\r
- get\r
- {\r
- ComposingPropertyMap();\r
- return _outputMap;\r
- }\r
- }\r
-\r
- private void ComposingPropertyMap()\r
- {\r
- if (_url != "")\r
- {\r
- _outputMap = new PropertyMap(); ;\r
- _outputMap.Add(Tizen.NUI.Constants.Visual.Property.Type, new PropertyValue((int)Tizen.NUI.Constants.Visual.Type.Image));\r
- _outputMap.Add(Tizen.NUI.Constants.ImageVisualProperty.URL, new PropertyValue(_url));\r
- _outputMap.Add(Tizen.NUI.Constants.ImageVisualProperty.FittingMode, new PropertyValue((int)_fittingMode));\r
- _outputMap.Add(Tizen.NUI.Constants.ImageVisualProperty.SamplingMode, new PropertyValue((int)_samplingMode));\r
- //more PropertyMap should be added\r
- }\r
- }\r
- }\r
-\r
- public class TextVisualMap\r
- {\r
- public TextVisualMap()\r
- {\r
- }\r
-\r
- private string _text = "";\r
- private Color _textColor = Color.Black;\r
- private float _pointSize = 0.0f;\r
- private float _depthIndex = 0.0f;\r
- /* the following properties should be done also. \r
- public static readonly int FontFamily = NDalic.TEXT_VISUAL_FONT_FAMILY;\r
- public static readonly int FontStyle = NDalic.TEXT_VISUAL_FONT_STYLE;\r
- public static readonly int MultiLine = NDalic.TEXT_VISUAL_MULTI_LINE;\r
- public static readonly int HorizontalAlignment = NDalic.TEXT_VISUAL_HORIZONTAL_ALIGNMENT;\r
- public static readonly int VerticalAlignment = NDalic.TEXT_VISUAL_VERTICAL_ALIGNMENT;\r
- public static readonly int EnableMarkup = NDalic.TEXT_VISUAL_ENABLE_MARKUP;\r
- */\r
- private PropertyMap _outputMap;\r
-\r
- public string Text\r
- {\r
- get\r
- {\r
- return _text;\r
- }\r
- set\r
- {\r
- _text = value;\r
- }\r
- }\r
-\r
- public Color TextColor\r
- {\r
- get\r
- {\r
- return _textColor;\r
- }\r
- set\r
- {\r
- _textColor = value;\r
- }\r
- }\r
- public float PointSize\r
- {\r
- get\r
- {\r
- return _pointSize;\r
- }\r
- set\r
- {\r
- _pointSize = value;\r
- }\r
- }\r
- public float DepthIndex\r
- {\r
- get\r
- {\r
- return _depthIndex;\r
- }\r
- set\r
- {\r
- _depthIndex = value;\r
- }\r
- }\r
-\r
- public PropertyMap OutputMap\r
- {\r
- get\r
- {\r
- ComposingPropertyMap();\r
- return _outputMap;\r
- }\r
- }\r
-\r
- private void ComposingPropertyMap()\r
- {\r
- if (_text != "" && _pointSize != 0)\r
- {\r
- Tizen.Log.Debug("NUI", "p1 !!!!!");\r
- _outputMap = new PropertyMap(); ;\r
- _outputMap.Add(Tizen.NUI.Constants.Visual.Property.Type, new PropertyValue((int)Tizen.NUI.Constants.Visual.Type.Text));\r
- _outputMap.Add(Tizen.NUI.Constants.TextVisualProperty.Text, new PropertyValue(_text));\r
- _outputMap.Add(Tizen.NUI.Constants.TextVisualProperty.TextColor, new PropertyValue(_textColor));\r
- _outputMap.Add(Tizen.NUI.Constants.TextVisualProperty.PointSize, new PropertyValue(_pointSize));\r
- //more PropertyMap should be added\r
- }\r
- }\r
- }\r
-\r
-}\r
-// Copyright (c) 2016 Samsung Electronics Co., Ltd All Rights Reserved\r
-// PROPRIETARY/CONFIDENTIAL \r
-// This software is the confidential and proprietary\r
-// information of SAMSUNG ELECTRONICS ("Confidential Information"). You shall\r
-// not disclose such Confidential Information and shall use it only in\r
-// accordance with the terms of the license agreement you entered into with\r
-// SAMSUNG ELECTRONICS. SAMSUNG make no representations or warranties about the\r
-// suitability of the software, either express or implied, including but not\r
-// limited to the implied warranties of merchantability, fitness for a\r
-// particular purpose, or non-infringement. SAMSUNG shall not be liable for any\r
-// damages suffered by licensee as a result of using, modifying or distributing\r
-// this software or its derivatives.\r
-\r
-// Copyright (c) 2017 Samsung Electronics Co., Ltd.\r
-//\r
-// Licensed under the Apache License, Version 2.0 (the "License");\r
-// you may not use this file except in compliance with the License.\r
-// You may obtain a copy of the License at\r
-//\r
-// http://www.apache.org/licenses/LICENSE-2.0\r
+//------------------------------------------------------------------------------\r
+// <auto-generated />\r
//\r
-// Unless required by applicable law or agreed to in writing, software\r
-// distributed under the License is distributed on an "AS IS" BASIS,\r
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
-// See the License for the specific language governing permissions and\r
-// limitations under the License.\r
+// This file was automatically generated by SWIG (http://www.swig.org).\r
+// Version 3.0.9\r
//\r
-\r
-// This File has been auto-generated by SWIG and then modified using DALi Ruby Scripts\r
-// Some have been manually changed\r
-\r
+// Do not make changes to this file unless you know what you are doing--modify\r
+// the SWIG interface file instead.\r
+//------------------------------------------------------------------------------\r
\r
namespace Tizen.NUI\r
{\r
-// Copyright (c) 2016 Samsung Electronics Co., Ltd All Rights Reserved\r
-// PROPRIETARY/CONFIDENTIAL \r
-// This software is the confidential and proprietary\r
-// information of SAMSUNG ELECTRONICS ("Confidential Information"). You shall\r
-// not disclose such Confidential Information and shall use it only in\r
-// accordance with the terms of the license agreement you entered into with\r
-// SAMSUNG ELECTRONICS. SAMSUNG make no representations or warranties about the\r
-// suitability of the software, either express or implied, including but not\r
-// limited to the implied warranties of merchantability, fitness for a\r
-// particular purpose, or non-infringement. SAMSUNG shall not be liable for any\r
-// damages suffered by licensee as a result of using, modifying or distributing\r
-// this software or its derivatives.\r
-\r
-// Copyright (c) 2017 Samsung Electronics Co., Ltd.\r
+/** Copyright (c) 2017 Samsung Electronics Co., Ltd.\r
+*\r
+* Licensed under the Apache License, Version 2.0 (the "License");\r
+* you may not use this file except in compliance with the License.\r
+* You may obtain a copy of the License at\r
+*\r
+* http://www.apache.org/licenses/LICENSE-2.0\r
+*\r
+* Unless required by applicable law or agreed to in writing, software\r
+* distributed under the License is distributed on an "AS IS" BASIS,\r
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
+* See the License for the specific language governing permissions and\r
+* limitations under the License.\r
+*\r
+*/\r
+// This File has been auto-generated by SWIG and then modified using DALi Ruby Scripts\r
+//------------------------------------------------------------------------------\r
+// <auto-generated />\r
//\r
-// Licensed under the Apache License, Version 2.0 (the "License");\r
-// you may not use this file except in compliance with the License.\r
-// You may obtain a copy of the License at\r
+// This file was automatically generated by SWIG (http://www.swig.org).\r
+// Version 3.0.9\r
//\r
-// http://www.apache.org/licenses/LICENSE-2.0\r
-//
-// Unless required by applicable law or agreed to in writing, software\r
-// distributed under the License is distributed on an "AS IS" BASIS,\r
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
-// See the License for the specific language governing permissions and\r
-// limitations under the License.\r
-//
-
-// This File has been auto-generated by SWIG and then modified using DALi Ruby Scripts\r
-// Some have been manually changed\r
-\r
+// Do not make changes to this file unless you know what you are doing--modify\r
+// the SWIG interface file instead.\r
+//------------------------------------------------------------------------------\r
\r
namespace Tizen.NUI\r
{\r
Auto = 2\r
}\r
\r
- }
-
-}
+ }\r
+\r
+}\r