1 // Copyright (c) 2017 Samsung Electronics Co., Ltd.
3 // Licensed under the Apache License, Version 2.0 (the "License");
4 // you may not use this file except in compliance with the License.
5 // You may obtain a copy of the License at
7 // http://www.apache.org/licenses/LICENSE-2.0
9 // Unless required by applicable law or agreed to in writing, software
10 // distributed under the License is distributed on an "AS IS" BASIS,
11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 // See the License for the specific language governing permissions and
13 // limitations under the License.
16 using System.ComponentModel;
20 public enum ScrollModeType
31 /// This specifies whether the actor uses its own color or inherits.
36 /// Actor will use its own color.
40 /// Actor will use its parent color.
44 /// Actor will blend its color with its parents color.
46 UseOwnMultiplyParentColor,
48 /// Actor will blend its alpha with its parents alpha. This means when the parent fades in or out, the child does as well. This is the default.
50 UseOwnMultiplyParentAlpha
54 /// This specifies the dimension of the width or the height for size negotiation.
56 public enum DimensionType
67 /// Mask to cover all flags.
73 /// Enumeration for the instance of how the actor and it's children will be drawn.
75 public enum DrawModeType
78 /// The default draw-mode.
82 /// Draw the actor and its children as an overlay.
86 /// Will be replaced by separate ClippingMode enum. Draw the actor and its children into the stencil buffer.
92 /// Enumeration for size negotiation resize policies.
94 public enum ResizePolicyType
97 /// Size is fixed as set by SetSize.
101 /// Size is to use the actor's natural size.
103 /// <see cref="ViewImpl.GetNaturalSize"/>
106 /// Size is to fill up to the actor's parent's bounds. Aspect ratio is not maintained.
110 /// The actors size will be ( ParentSize * SizeRelativeToParentFactor ).
112 SizeRelativeToParent,
114 /// The actors size will be ( ParentSize + SizeRelativeToParentFactor ).
116 SizeFixedOffsetFromParent,
118 /// The size will adjust to wrap around all children.
122 /// One dimension is dependent on the other.
126 /// The size will be assigned to the actor.
132 /// Enumeration for policies to determine how an actor should resize itself when having its size set in size negotiation.
134 public enum SizeScalePolicyType
137 /// Use the size that was set.
141 /// Fit within the size set maintaining natural size aspect ratio.
145 /// Fit within the size set maintaining natural size aspect ratio.
151 /// Enumeration for the ClippingMode describing how this actor's children will be clipped against it.
153 public enum ClippingModeType
156 /// This actor will not clip its children.
160 /// This actor will clip all children to within its boundaries (the actor will also be visible itself).
166 /// Enumeration for type determination of how the camera operates.
168 public enum CameraType
171 /// Camera orientation is taken from the CameraActor.
175 /// Camera is oriented to always look at a target.
181 /// Enumeration for the projection modes.
183 public enum ProjectionMode
186 /// Distance causes foreshortening; objects further from the camera appear smaller.
188 PerspectiveProjection,
190 /// Relative distance from the camera does not affect the size of objects.
192 OrthographicProjection
196 /// This specifies customView behavior types.
198 public enum CustomViewBehaviour
201 /// Use to provide default behavior (size negotiation is on, event callbacks are not called).
203 ViewBehaviourDefault = 0,
205 /// True if the control does not need size negotiation, i.e., it can be skipped in the algorithm.
207 DisableSizeNegotiation = 1 << 0,
209 /// Use to provide key navigation support.
211 RequiresKeyboardNavigationSupport = 1 << 5,
213 /// Use to make style change event disabled.
215 DisableStyleChangeSignals = 1 << 6,
216 [EditorBrowsable(EditorBrowsableState.Never)]
217 LastViewBehaviourFlag
220 public enum DeviceClassType
233 /// This specifies all the property types.<br>
234 /// Enumeration for the property types supported.
236 public enum PropertyType
255 /// A vector array of size=2 with float precision.
259 /// A vector array of size=3 with float precision.
263 /// A vector array of size=4 with float precision.
275 /// An integer array of size=4.
279 /// Either a quaternion or an axis angle rotation.
287 /// An array of PropertyValue.
291 /// A string key to PropertyValue mapping.
297 /// This specifies the property access mode types.<br>
298 /// Enumeration for the access mode for custom properties.
300 public enum PropertyAccessMode
303 /// If the property is read-only.
307 /// If the property is read or writeable.
311 /// If the property can be animated or constrained.
315 /// The number of access modes.
321 /// Types of style change. Enumeration for the StyleChange type.
323 public enum StyleChangeType
326 /// Denotes that the default font has changed.
330 /// Denotes that the default font size has changed.
332 DefaultFontSizeChange,
334 /// Denotes that the theme has changed.
340 /// Enumeration for horizontal alignment types.
342 public enum HorizontalAlignmentType
345 /// Align horizontally left.
349 /// Align horizontally center.
353 /// Align horizontally right.
359 /// Enumeration for vertical alignment types.
361 public enum VerticalAlignmentType
364 /// Align vertically top.
368 /// Align vertically center.
372 /// Align vertically bottom.
378 /// Enumeration for point state type.
380 public enum PointStateType
383 /// Touch or hover started.
387 /// Touch or hover finished.
399 /// Finger dragged or hovered.
403 /// Leave the boundary of an actor.
407 /// No change from last event. <br>
408 /// Useful when a multi-point event occurs where all points are sent, but indicates that this particular point has not changed since the last time.
412 /// A system event has occurred which has interrupted the touch or hover event sequence.
418 /// Enumeration for the text horizontal aligning.
420 public enum HorizontalAlignment
423 /// Texts place at the begin of horizontal direction.
427 /// Texts place at the center of horizontal direction.
431 /// Texts place at the end of horizontal direction.
437 /// Enumeration for the text horizontal aligning.
439 public enum VerticalAlignment
442 /// Texts place at the top of vertical direction.
446 /// Texts place at the center of vertical direction.
450 /// Texts place at the bottom of vertical direction.
456 /// This specifies wrap mode types.<br>
457 /// WrapModeU and WrapModeV separately decide how the texture should be sampled when the u and v coordinate exceeds the range of 0.0 to 1.0.
459 public enum WrapModeType
462 /// The default value.
480 /// The type of coordinate system for certain attributes of the points in a gradient.
482 public enum GradientVisualUnitsType
485 /// Uses the normals for the start, end, and center points, i.e., top-left is (-0.5, -0.5) and bottom-right is (0.5, 0.5).
489 /// Uses the user coordinates for the start, end, and center points, i.e., in a 200 by 200 control, top-left is (0, 0) and bottom-right is (200, 200).
495 /// This specifies SpreadMethod types.<br>
496 /// SpreadMethod defines what happens if the gradient starts or ends inside the bounds of the target rectangle.<br>
498 public enum GradientVisualSpreadMethodType
501 /// Uses the terminal colors of the gradient to fill the remainder of the quad.
505 /// Reflects the gradient pattern start-to-end, end-to-start, start-to-end, etc. until the quad is filled.
509 /// Repeats the gradient pattern start-to-end, start-to-end, start-to-end, etc. until the quad is filled.
515 /// The shading mode used by the mesh visual.
517 public enum MeshVisualShadingModeValue
520 /// *Simplest*. One color that is lit by ambient and diffuse lighting.
522 TexturelessWithDiffuseLighting,
524 /// Uses only the visual image textures provided with specular lighting in addition to ambient and diffuse lighting.
526 TexturedWithSpecularLighting,
528 /// Uses all textures provided including gloss, normal, and texture map along with specular, ambient, and diffuse lighting.
530 TexturedWithDetailedSpecularLighting
534 /// The primitive shape to render as a primitive visual.
536 public enum PrimitiveVisualShapeType
539 /// A perfectly round geometrical object in the three-dimensional space.
543 /// The area bound between two circles, i.e., a cone with the tip removed.
547 /// Equivalent to a conical frustrum with the top radius of zero.
548 /// </summary>Equivalent to a conical frustrum with the top radius of zero.
551 /// Equivalent to a conical frustrum with the top radius of zero.
555 /// Equivalent to a conical frustrum with equal radii for the top and bottom circles.
559 /// Equivalent to a bevelled cube with a bevel percentage of zero.
563 /// Equivalent to a bevelled cube with a bevel percentage of one.
569 /// This specifies fitting mode types. Fitting options, used when resizing images to fit desired dimensions.<br>
570 /// A fitting mode controls the region of a loaded image to be mapped to the desired image rectangle.<br>
571 /// All fitting modes preserve the aspect ratio of the image contents.<br>
573 public enum FittingModeType
576 /// Full-screen image display: Limit loaded image resolution to device resolution using the ShrinkToFit mode.
580 /// Thumbnail gallery grid: Limit loaded image resolution to screen tile using the ScaleToFill mode.
584 /// Image columns: Limit loaded image resolution to column width using the FitWidth mode.
588 /// Image rows: Limit loaded image resolution to row height using the FitHeight mode.
594 /// This specifies sampling mode types. Filtering options are used when resizing images to sample original pixels.<br>
595 /// A SamplingMode controls how pixels in an input image are sampled and combined to generate each pixel of a destination image during scaling.<br>
596 /// NoFilter and Box modes do not guarantee that the output pixel array exactly matches the rectangle specified by the desired dimensions and the FittingMode,<br>
597 /// but all other filter modes do if the desired dimensions are `<=` the raw dimensions of the input image file.<br>
599 public enum SamplingModeType
602 /// Iteratively box filter to generate an image of 1/2, 1/4, 1/8, etc. width and height and approximately the desired size. <br>
603 /// This is the default.
607 /// For each output pixel, read one input pixel.
611 /// For each output pixel, read a quad of four input pixels and write a weighted average of them.
615 /// Iteratively box filter to generate an image of 1/2, 1/4, 1/8, etc. width and height and approximately the desired size, <br>
616 /// then for each output pixel, read one pixel from the last level of box filtering.<br>
620 /// Iteratively box filter to almost the right size, then for each output pixel, read four pixels from the last level of box filtering and write their weighted average.
624 /// No filtering is performed. If the SCALE_TO_FILL scaling mode is enabled, the borders of the image may be trimmed to match the aspect ratio of the desired dimensions.
628 /// For caching algorithms where a client strongly prefers a cache-hit to reuse a cached image.
634 /// This specifies policy types that could be used by the transform for the offset or size.
636 public enum VisualTransformPolicyType
639 /// Relative to the control (percentage [0.0f to 1.0f] of the control).
643 /// Absolute value in world units.
649 /// This specifies all the transform property types.
651 public enum VisualTransformPropertyType
654 /// Offset of the visual, which can be either relative (percentage [0.0f to 1.0f] of the parent) or absolute (in world units).
658 /// Size of the visual, which can be either relative (percentage [0.0f to 1.0f] of the parent) or absolute (in world units).
662 /// The origin of the visual within its control area.
666 /// The anchor-point of the visual.
670 /// Whether the x or y offset values are relative (percentage [0.0f to 1.0f] of the control) or absolute (in world units).
674 /// Whether the width or the height size values are relative (percentage [0.0f to 1.0f] of the control) or absolute (in world units).
680 /// This specifies visual types.
685 /// The index for the visual type.
690 /// Renders a solid color as an internal border to the control's quad.
694 /// Renders a solid color to the control's quad.
698 /// Renders a smooth transition of colors to the control's quad.
702 /// Renders an image into the control's quad.
706 /// Renders a mesh using an "obj" file, optionally with textures provided by an "mtl" file.
710 /// Renders a simple 3D shape, such as a cube or a sphere.
714 /// Renders a simple wire-frame outlining a quad.
722 /// Renders an n-patch image.
726 /// Renders an SVG image.
730 /// Renders a animated image (animated GIF).
736 /// This specifies visual properties.
738 public struct Property
740 public static readonly int Type = NDalic.VISUAL_PROPERTY_TYPE;
741 public static readonly int Shader = NDalic.VISUAL_PROPERTY_SHADER;
742 public static readonly int Transform = NDalic.VISUAL_PROPERTY_TRANSFORM;
743 public static readonly int PremultipliedAlpha = NDalic.VISUAL_PROPERTY_PREMULTIPLIED_ALPHA;
744 public static readonly int MixColor = NDalic.VISUAL_PROPERTY_MIX_COLOR;
745 public static readonly int Opacity = NDalic.VISUAL_PROPERTY_MIX_COLOR + 1;
749 /// This specifies shader properties.
751 public struct ShaderProperty
753 public static readonly int VertexShader = NDalic.VISUAL_SHADER_VERTEX;
754 public static readonly int FragmentShader = NDalic.VISUAL_SHADER_FRAGMENT;
755 public static readonly int ShaderSubdivideGridX = NDalic.VISUAL_SHADER_SUBDIVIDE_GRID_X;
756 public static readonly int ShaderSubdivideGridY = NDalic.VISUAL_SHADER_SUBDIVIDE_GRID_Y;
757 public static readonly int ShaderHints = NDalic.VISUAL_SHADER_HINTS;
761 /// This specifies visaul align types.
763 public enum AlignType
778 /// This specifies properties of the BorderVisual.
780 public struct BorderVisualProperty
782 public static readonly int Color = NDalic.BORDER_VISUAL_COLOR;
783 public static readonly int Size = NDalic.BORDER_VISUAL_SIZE;
784 public static readonly int AntiAliasing = NDalic.BORDER_VISUAL_ANTI_ALIASING;
788 /// This specifies properties of the ColorVisual.
790 public struct ColorVisualProperty
792 public static readonly int MixColor = NDalic.COLOR_VISUAL_MIX_COLOR;
796 /// This specifies properties of the GradientVisual.
798 public struct GradientVisualProperty
800 public static readonly int StartPosition = NDalic.GRADIENT_VISUAL_START_POSITION;
801 public static readonly int EndPosition = NDalic.GRADIENT_VISUAL_END_POSITION;
802 public static readonly int Center = NDalic.GRADIENT_VISUAL_CENTER;
803 public static readonly int Radius = NDalic.GRADIENT_VISUAL_RADIUS;
804 public static readonly int StopOffset = NDalic.GRADIENT_VISUAL_STOP_OFFSET;
805 public static readonly int StopColor = NDalic.GRADIENT_VISUAL_STOP_COLOR;
806 public static readonly int Units = NDalic.GRADIENT_VISUAL_UNITS;
807 public static readonly int SpreadMethod = NDalic.GRADIENT_VISUAL_SPREAD_METHOD;
811 /// This specifies properties of the ImageVisual.
813 public struct ImageVisualProperty
815 public static readonly int URL = NDalic.IMAGE_VISUAL_URL;
816 public static readonly int AlphaMaskURL = NDalic.IMAGE_VISUAL_ALPHA_MASK_URL;
817 public static readonly int FittingMode = NDalic.IMAGE_VISUAL_FITTING_MODE;
818 public static readonly int SamplingMode = NDalic.IMAGE_VISUAL_SAMPLING_MODE;
819 public static readonly int DesiredWidth = NDalic.IMAGE_VISUAL_DESIRED_WIDTH;
820 public static readonly int DesiredHeight = NDalic.IMAGE_VISUAL_DESIRED_HEIGHT;
821 public static readonly int SynchronousLoading = NDalic.IMAGE_VISUAL_SYNCHRONOUS_LOADING;
822 public static readonly int BorderOnly = NDalic.IMAGE_VISUAL_BORDER_ONLY;
823 public static readonly int PixelArea = NDalic.IMAGE_VISUAL_PIXEL_AREA;
824 public static readonly int WrapModeU = NDalic.IMAGE_VISUAL_WRAP_MODE_U;
825 public static readonly int WrapModeV = NDalic.IMAGE_VISUAL_WRAP_MODE_V;
826 public static readonly int Border = NDalic.IMAGE_VISUAL_BORDER;
827 public static readonly int MaskContentScale = NDalic.IMAGE_VISUAL_MASK_CONTENT_SCALE;
828 public static readonly int CropToMask = NDalic.IMAGE_VISUAL_CROP_TO_MASK;
829 public static readonly int BatchSize = NDalic.IMAGE_VISUAL_BATCH_SIZE;
830 public static readonly int CacheSize = NDalic.IMAGE_VISUAL_CACHE_SIZE;
831 public static readonly int FrameDelay = NDalic.IMAGE_VISUAL_FRAME_DELAY;
836 /// This specifies properties of the MeshVisual.
838 public struct MeshVisualProperty
840 public static readonly int ObjectURL = NDalic.MESH_VISUAL_OBJECT_URL;
841 public static readonly int MaterialtURL = NDalic.MESH_VISUAL_MATERIAL_URL;
842 public static readonly int TexturesPath = NDalic.MESH_VISUAL_TEXTURES_PATH;
843 public static readonly int ShadingMode = NDalic.MESH_VISUAL_SHADING_MODE;
844 public static readonly int UseMipmapping = NDalic.MESH_VISUAL_USE_MIPMAPPING;
845 public static readonly int UseSoftNormals = NDalic.MESH_VISUAL_USE_SOFT_NORMALS;
846 public static readonly int LightPosition = NDalic.MESH_VISUAL_LIGHT_POSITION;
850 /// This specifies properties of the PrimitiveVisual.
852 public struct PrimitiveVisualProperty
854 public static readonly int Shape = NDalic.PRIMITIVE_VISUAL_SHAPE;
855 public static readonly int MixColor = NDalic.PRIMITIVE_VISUAL_MIX_COLOR;
856 public static readonly int Slices = NDalic.PRIMITIVE_VISUAL_SLICES;
857 public static readonly int Stacks = NDalic.PRIMITIVE_VISUAL_STACKS;
858 public static readonly int ScaleTopRadius = NDalic.PRIMITIVE_VISUAL_SCALE_TOP_RADIUS;
859 public static readonly int ScaleBottomRadius = NDalic.PRIMITIVE_VISUAL_SCALE_BOTTOM_RADIUS;
860 public static readonly int ScaleHeight = NDalic.PRIMITIVE_VISUAL_SCALE_HEIGHT;
861 public static readonly int ScaleRadius = NDalic.PRIMITIVE_VISUAL_SCALE_RADIUS;
862 public static readonly int ScaleDimensions = NDalic.PRIMITIVE_VISUAL_SCALE_DIMENSIONS;
863 public static readonly int BevelPercentage = NDalic.PRIMITIVE_VISUAL_BEVEL_PERCENTAGE;
864 public static readonly int BevelSmoothness = NDalic.PRIMITIVE_VISUAL_BEVEL_SMOOTHNESS;
865 public static readonly int LightPosition = NDalic.PRIMITIVE_VISUAL_LIGHT_POSITION;
869 /// This specifies properties of the TextVisual.
871 public struct TextVisualProperty
873 public static readonly int Text = NDalic.TEXT_VISUAL_TEXT;
874 public static readonly int FontFamily = NDalic.TEXT_VISUAL_FONT_FAMILY;
875 public static readonly int FontStyle = NDalic.TEXT_VISUAL_FONT_STYLE;
876 public static readonly int PointSize = NDalic.TEXT_VISUAL_POINT_SIZE;
877 public static readonly int MultiLine = NDalic.TEXT_VISUAL_MULTI_LINE;
878 public static readonly int HorizontalAlignment = NDalic.TEXT_VISUAL_HORIZONTAL_ALIGNMENT;
879 public static readonly int VerticalAlignment = NDalic.TEXT_VISUAL_VERTICAL_ALIGNMENT;
880 public static readonly int TextColor = NDalic.TEXT_VISUAL_TEXT_COLOR;
881 public static readonly int EnableMarkup = NDalic.TEXT_VISUAL_ENABLE_MARKUP;
885 /// This specifies properties of the NpatchImageVisual.
887 public struct NpatchImageVisualProperty
889 public static readonly int URL = NDalic.IMAGE_VISUAL_URL;
890 public static readonly int FittingMode = NDalic.IMAGE_VISUAL_FITTING_MODE;
891 public static readonly int SamplingMode = NDalic.IMAGE_VISUAL_SAMPLING_MODE;
892 public static readonly int DesiredWidth = NDalic.IMAGE_VISUAL_DESIRED_WIDTH;
893 public static readonly int DesiredHeight = NDalic.IMAGE_VISUAL_DESIRED_HEIGHT;
894 public static readonly int SynchronousLoading = NDalic.IMAGE_VISUAL_SYNCHRONOUS_LOADING;
895 public static readonly int BorderOnly = NDalic.IMAGE_VISUAL_BORDER_ONLY;
896 public static readonly int PixelArea = NDalic.IMAGE_VISUAL_PIXEL_AREA;
897 public static readonly int WrapModeU = NDalic.IMAGE_VISUAL_WRAP_MODE_U;
898 public static readonly int WrapModeV = NDalic.IMAGE_VISUAL_WRAP_MODE_V;
899 public static readonly int Border = NDalic.IMAGE_VISUAL_WRAP_MODE_V + 1;
903 /// The HiddenInput property.
905 public struct HiddenInputProperty
907 public static readonly int Mode = NDalicManualPINVOKE.HIDDENINPUT_PROPERTY_MODE_get();
908 public static readonly int SubstituteCharacter = NDalicManualPINVOKE.HIDDENINPUT_PROPERTY_SUBSTITUTE_CHARACTER_get();
909 public static readonly int SubstituteCount = NDalicManualPINVOKE.HIDDENINPUT_PROPERTY_SUBSTITUTE_COUNT_get();
910 public static readonly int ShowDuration = NDalicManualPINVOKE.HIDDENINPUT_PROPERTY_SHOW_DURATION_get();
914 /// The type for HiddenInput mode.
916 public enum HiddenInputModeType
923 /// Hide all the input text.
927 /// Hide n characters from start.
931 /// Show n characters from start.
935 /// Show last character for the duration (use ShowDuration property to modify duration).
941 /// ParentOrigin constants.
943 public struct ParentOrigin
945 public static float Top
949 float ret = NDalicPINVOKE.ParentOriginTop_get();
950 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
954 public static float Bottom
958 float ret = NDalicPINVOKE.ParentOriginBottom_get();
959 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
963 public static float Left
967 float ret = NDalicPINVOKE.ParentOriginLeft_get();
968 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
972 public static float Right
976 float ret = NDalicPINVOKE.ParentOriginRight_get();
977 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
981 public static float Middle
985 float ret = NDalicPINVOKE.ParentOriginMiddle_get();
986 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
990 public static Position TopLeft
994 global::System.IntPtr cPtr = NDalicPINVOKE.ParentOriginTopLeft_get();
995 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
996 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1000 public static Position TopCenter
1004 global::System.IntPtr cPtr = NDalicPINVOKE.ParentOriginTopCenter_get();
1005 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1006 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1010 public static Position TopRight
1014 global::System.IntPtr cPtr = NDalicPINVOKE.ParentOriginTopRight_get();
1015 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1016 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1020 public static Position CenterLeft
1024 global::System.IntPtr cPtr = NDalicPINVOKE.ParentOriginCenterLeft_get();
1025 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1026 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1030 public static Position Center
1034 global::System.IntPtr cPtr = NDalicPINVOKE.ParentOriginCenter_get();
1035 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1036 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1040 public static Position CenterRight
1044 global::System.IntPtr cPtr = NDalicPINVOKE.ParentOriginCenterRight_get();
1045 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1046 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1050 public static Position BottomLeft
1054 global::System.IntPtr cPtr = NDalicPINVOKE.ParentOriginBottomLeft_get();
1055 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1056 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1060 public static Position BottomCenter
1064 global::System.IntPtr cPtr = NDalicPINVOKE.ParentOriginBottomCenter_get();
1065 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1066 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1070 public static Position BottomRight
1074 global::System.IntPtr cPtr = NDalicPINVOKE.ParentOriginBottomRight_get();
1075 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1076 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1083 /// PivotPoint constants.
1085 public struct PivotPoint
1087 public static float Top
1091 float ret = NDalicPINVOKE.AnchorPointTop_get();
1092 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1096 public static float Bottom
1100 float ret = NDalicPINVOKE.AnchorPointBottom_get();
1101 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1105 public static float Left
1109 float ret = NDalicPINVOKE.AnchorPointLeft_get();
1110 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1114 public static float Right
1118 float ret = NDalicPINVOKE.AnchorPointRight_get();
1119 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1123 public static float Middle
1127 float ret = NDalicPINVOKE.AnchorPointMiddle_get();
1128 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1132 public static Position TopLeft
1136 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointTopLeft_get();
1137 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1138 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1142 public static Position TopCenter
1146 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointTopCenter_get();
1147 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1148 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1152 public static Position TopRight
1156 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointTopRight_get();
1157 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1158 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1162 public static Position CenterLeft
1166 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointCenterLeft_get();
1167 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1168 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1172 public static Position Center
1176 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointCenter_get();
1177 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1178 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1182 public static Position CenterRight
1186 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointCenterRight_get();
1187 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1188 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1192 public static Position BottomLeft
1196 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointBottomLeft_get();
1197 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1198 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1202 public static Position BottomCenter
1206 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointBottomCenter_get();
1207 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1208 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1212 public static Position BottomRight
1216 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointBottomRight_get();
1217 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1218 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1224 /// PositionAxis constants.
1226 public struct PositionAxis
1228 public static Position X
1232 global::System.IntPtr cPtr = NDalicPINVOKE.Vector3_XAXIS_get();
1233 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1234 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1238 public static Position Y
1242 global::System.IntPtr cPtr = NDalicPINVOKE.Vector3_YAXIS_get();
1243 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1244 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1248 public static Position Z
1252 global::System.IntPtr cPtr = NDalicPINVOKE.Vector3_ZAXIS_get();
1253 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1254 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1258 public static Position NegativeX
1262 global::System.IntPtr cPtr = NDalicPINVOKE.Vector3_NEGATIVE_XAXIS_get();
1263 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1264 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1268 public static Position NegativeY
1272 global::System.IntPtr cPtr = NDalicPINVOKE.Vector3_NEGATIVE_YAXIS_get();
1273 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1274 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1278 public static Position NegativeZ
1282 global::System.IntPtr cPtr = NDalicPINVOKE.Vector3_NEGATIVE_ZAXIS_get();
1283 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1284 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1291 /// Auto scrolling stop behavior.
1293 public enum AutoScrollStopMode
1296 /// Stop animation after current loop finished.
1300 /// Stop animation immediately and reset position.
1306 /// An enum of screen mode.
1308 public enum ScreenMode {
1310 /// The mode which turns the screen off after a timeout.
1314 /// The mode which keeps the screen turned on.
1320 /// An enum of notification window's priority level.
1322 public enum NotificationLevel {
1324 /// No notification level.<br>
1325 /// Default level.<br>
1326 /// This value makes the notification window place in the layer of the normal window.
1330 /// The base nofitication level.
1334 /// The medium notification level than base.
1338 /// The higher notification level than medium.
1342 /// The highest notification level.
1348 /// An enum of window types.
1350 public enum WindowType {
1352 /// A default window type.<br>
1353 /// Indicates a normal or top-level window.
1354 /// Almost every window will be created with this type.
1358 /// A notification window, like a warning about battery life or a new email received.
1362 /// A persistent utility window, like a toolbox or a palette.
1366 /// Used for simple dialog windows.
1371 public enum DisposeTypes
1373 Explicit, //Called By User
1374 Implicit, //Called by DisposeQueue
1380 [Obsolete("Please do not use! this will be deprecated")]
1381 public struct AnchorPoint
1383 public static float Top
1387 float ret = NDalicPINVOKE.AnchorPointTop_get();
1388 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1392 public static float Bottom
1396 float ret = NDalicPINVOKE.AnchorPointBottom_get();
1397 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1401 public static float Left
1405 float ret = NDalicPINVOKE.AnchorPointLeft_get();
1406 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1410 public static float Right
1414 float ret = NDalicPINVOKE.AnchorPointRight_get();
1415 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1419 public static float Middle
1423 float ret = NDalicPINVOKE.AnchorPointMiddle_get();
1424 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1428 public static Position TopLeft
1432 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointTopLeft_get();
1433 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1434 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1438 public static Position TopCenter
1442 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointTopCenter_get();
1443 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1444 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1448 public static Position TopRight
1452 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointTopRight_get();
1453 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1454 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1458 public static Position CenterLeft
1462 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointCenterLeft_get();
1463 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1464 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1468 public static Position Center
1472 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointCenter_get();
1473 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1474 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1478 public static Position CenterRight
1482 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointCenterRight_get();
1483 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1484 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1488 public static Position BottomLeft
1492 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointBottomLeft_get();
1493 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1494 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1498 public static Position BottomCenter
1502 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointBottomCenter_get();
1503 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1504 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1508 public static Position BottomRight
1512 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointBottomRight_get();
1513 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1514 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1521 /// An enum of the scroll state of the text eidtor.
1523 public enum ScrollState
1526 /// Scrolling is started.
1531 /// Scrolling is finished.
1537 /// An enum of the line wrap mode of text controls.
1539 public enum LineWrapMode
1542 /// The word mode will move a word to the next line.
1547 /// character will move character by character to the next line.