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 parent fades in or out child does as well. This is the default.
50 UseOwnMultiplyParentAlpha
54 /// This specifies the dimesion of width or heigh 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="View.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 /// 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 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 camera operates.
168 public enum CameraType
171 /// Camera orientation is taken from CameraActor.
175 /// Camera is oriented to always look at a target.
181 /// Enumeration for 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 ccustomView behaviour types.
198 public enum CustomViewBehaviour
201 /// Use to provide default behaviour (size negotiation is on, event callbacks are not called)
203 ViewBehaviourDefault = 0,
205 /// True if 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/writeable
311 /// If the property can be animated or constrained
315 /// The number of access modes
321 /// Types of style change. Enumeration for 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
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 & 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 & 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 /// Reflect the gradient pattern start-to-end, end-to-start, start-to-end etc. until the quad is filled.
509 /// Repeat the gradient pattern start-to-end, start-to-end, start-to-end etc. until the quad is filled.
515 /// The shading mode used by MeshVisual.
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 a gloss, normal and texture map along with specular, ambient and diffuse lighting.
530 TexturedWithDetailedSpecularLighting
534 /// The primitive shape to render as a PrimitiveVisual.
536 public enum PrimitiveVisualShapeType
539 /// A perfectly round geometrical object in 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 top radius of zero.
548 /// </summary>Equivalent to a conical frustrum with top radius of zero.
551 /// Equivalent to a conical frustrum with 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 ShrinkToFit mode.
580 /// Thumbnail gallery grid: Limit loaded image resolution to screen tile using ScaleToFill mode.
584 /// Image columns: Limit loaded image resolution to column width using FitWidth mode.
588 /// Image rows: Limit loaded image resolution to row height using FitHeight mode.
594 /// This specifies sampling mode types. Filtering options, 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 a 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 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 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 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 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 ColorVisual.
790 public struct ColorVisualProperty
792 public static readonly int MixColor = NDalic.COLOR_VISUAL_MIX_COLOR;
796 /// This specifies properties of 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 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;
830 /// This specifies properties of MeshVisual.
832 public struct MeshVisualProperty
834 public static readonly int ObjectURL = NDalic.MESH_VISUAL_OBJECT_URL;
835 public static readonly int MaterialtURL = NDalic.MESH_VISUAL_MATERIAL_URL;
836 public static readonly int TexturesPath = NDalic.MESH_VISUAL_TEXTURES_PATH;
837 public static readonly int ShadingMode = NDalic.MESH_VISUAL_SHADING_MODE;
838 public static readonly int UseMipmapping = NDalic.MESH_VISUAL_USE_MIPMAPPING;
839 public static readonly int UseSoftNormals = NDalic.MESH_VISUAL_USE_SOFT_NORMALS;
840 public static readonly int LightPosition = NDalic.MESH_VISUAL_LIGHT_POSITION;
844 /// This specifies properties of PrimitiveVisual.
846 public struct PrimitiveVisualProperty
848 public static readonly int Shape = NDalic.PRIMITIVE_VISUAL_SHAPE;
849 public static readonly int MixColor = NDalic.PRIMITIVE_VISUAL_MIX_COLOR;
850 public static readonly int Slices = NDalic.PRIMITIVE_VISUAL_SLICES;
851 public static readonly int Stacks = NDalic.PRIMITIVE_VISUAL_STACKS;
852 public static readonly int ScaleTopRadius = NDalic.PRIMITIVE_VISUAL_SCALE_TOP_RADIUS;
853 public static readonly int ScaleBottomRadius = NDalic.PRIMITIVE_VISUAL_SCALE_BOTTOM_RADIUS;
854 public static readonly int ScaleHeight = NDalic.PRIMITIVE_VISUAL_SCALE_HEIGHT;
855 public static readonly int ScaleRadius = NDalic.PRIMITIVE_VISUAL_SCALE_RADIUS;
856 public static readonly int ScaleDimensions = NDalic.PRIMITIVE_VISUAL_SCALE_DIMENSIONS;
857 public static readonly int BevelPercentage = NDalic.PRIMITIVE_VISUAL_BEVEL_PERCENTAGE;
858 public static readonly int BevelSmoothness = NDalic.PRIMITIVE_VISUAL_BEVEL_SMOOTHNESS;
859 public static readonly int LightPosition = NDalic.PRIMITIVE_VISUAL_LIGHT_POSITION;
863 /// This specifies properties of TextVisual.
865 public struct TextVisualProperty
867 public static readonly int Text = NDalic.TEXT_VISUAL_TEXT;
868 public static readonly int FontFamily = NDalic.TEXT_VISUAL_FONT_FAMILY;
869 public static readonly int FontStyle = NDalic.TEXT_VISUAL_FONT_STYLE;
870 public static readonly int PointSize = NDalic.TEXT_VISUAL_POINT_SIZE;
871 public static readonly int MultiLine = NDalic.TEXT_VISUAL_MULTI_LINE;
872 public static readonly int HorizontalAlignment = NDalic.TEXT_VISUAL_HORIZONTAL_ALIGNMENT;
873 public static readonly int VerticalAlignment = NDalic.TEXT_VISUAL_VERTICAL_ALIGNMENT;
874 public static readonly int TextColor = NDalic.TEXT_VISUAL_TEXT_COLOR;
875 public static readonly int EnableMarkup = NDalic.TEXT_VISUAL_ENABLE_MARKUP;
879 /// This specifies properties of NpatchImageVisual.
881 public struct NpatchImageVisualProperty
883 public static readonly int URL = NDalic.IMAGE_VISUAL_URL;
884 public static readonly int FittingMode = NDalic.IMAGE_VISUAL_FITTING_MODE;
885 public static readonly int SamplingMode = NDalic.IMAGE_VISUAL_SAMPLING_MODE;
886 public static readonly int DesiredWidth = NDalic.IMAGE_VISUAL_DESIRED_WIDTH;
887 public static readonly int DesiredHeight = NDalic.IMAGE_VISUAL_DESIRED_HEIGHT;
888 public static readonly int SynchronousLoading = NDalic.IMAGE_VISUAL_SYNCHRONOUS_LOADING;
889 public static readonly int BorderOnly = NDalic.IMAGE_VISUAL_BORDER_ONLY;
890 public static readonly int PixelArea = NDalic.IMAGE_VISUAL_PIXEL_AREA;
891 public static readonly int WrapModeU = NDalic.IMAGE_VISUAL_WRAP_MODE_U;
892 public static readonly int WrapModeV = NDalic.IMAGE_VISUAL_WRAP_MODE_V;
893 public static readonly int Border = NDalic.IMAGE_VISUAL_WRAP_MODE_V + 1;
897 /// HiddenInput Property.
899 public struct HiddenInputProperty
901 public static readonly int Mode = NDalicManualPINVOKE.HIDDENINPUT_PROPERTY_MODE_get();
902 public static readonly int SubstituteCharacter = NDalicManualPINVOKE.HIDDENINPUT_PROPERTY_SUBSTITUTE_CHARACTER_get();
903 public static readonly int SubstituteCount = NDalicManualPINVOKE.HIDDENINPUT_PROPERTY_SUBSTITUTE_COUNT_get();
904 public static readonly int ShowDuration = NDalicManualPINVOKE.HIDDENINPUT_PROPERTY_SHOW_DURATION_get();
908 /// The type for HiddenInput mode.
910 public enum HiddenInputModeType
917 /// Hide all the input text.
921 /// Hide n characters from start.
925 /// Show n characters from start.
929 /// Show last character for the duration(use ShowDuration property to modify duration).
935 /// ParentOrigin constants.
937 public struct ParentOrigin
939 public static float Top
943 float ret = NDalicPINVOKE.ParentOriginTop_get();
944 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
948 public static float Bottom
952 float ret = NDalicPINVOKE.ParentOriginBottom_get();
953 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
957 public static float Left
961 float ret = NDalicPINVOKE.ParentOriginLeft_get();
962 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
966 public static float Right
970 float ret = NDalicPINVOKE.ParentOriginRight_get();
971 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
975 public static float Middle
979 float ret = NDalicPINVOKE.ParentOriginMiddle_get();
980 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
984 public static Position TopLeft
988 global::System.IntPtr cPtr = NDalicPINVOKE.ParentOriginTopLeft_get();
989 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
990 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
994 public static Position TopCenter
998 global::System.IntPtr cPtr = NDalicPINVOKE.ParentOriginTopCenter_get();
999 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1000 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1004 public static Position TopRight
1008 global::System.IntPtr cPtr = NDalicPINVOKE.ParentOriginTopRight_get();
1009 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1010 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1014 public static Position CenterLeft
1018 global::System.IntPtr cPtr = NDalicPINVOKE.ParentOriginCenterLeft_get();
1019 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1020 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1024 public static Position Center
1028 global::System.IntPtr cPtr = NDalicPINVOKE.ParentOriginCenter_get();
1029 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1030 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1034 public static Position CenterRight
1038 global::System.IntPtr cPtr = NDalicPINVOKE.ParentOriginCenterRight_get();
1039 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1040 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1044 public static Position BottomLeft
1048 global::System.IntPtr cPtr = NDalicPINVOKE.ParentOriginBottomLeft_get();
1049 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1050 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1054 public static Position BottomCenter
1058 global::System.IntPtr cPtr = NDalicPINVOKE.ParentOriginBottomCenter_get();
1059 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1060 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1064 public static Position BottomRight
1068 global::System.IntPtr cPtr = NDalicPINVOKE.ParentOriginBottomRight_get();
1069 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1070 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1077 /// PivotPoint constants.
1079 public struct PivotPoint
1081 public static float Top
1085 float ret = NDalicPINVOKE.AnchorPointTop_get();
1086 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1090 public static float Bottom
1094 float ret = NDalicPINVOKE.AnchorPointBottom_get();
1095 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1099 public static float Left
1103 float ret = NDalicPINVOKE.AnchorPointLeft_get();
1104 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1108 public static float Right
1112 float ret = NDalicPINVOKE.AnchorPointRight_get();
1113 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1117 public static float Middle
1121 float ret = NDalicPINVOKE.AnchorPointMiddle_get();
1122 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1126 public static Position TopLeft
1130 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointTopLeft_get();
1131 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1132 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1136 public static Position TopCenter
1140 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointTopCenter_get();
1141 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1142 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1146 public static Position TopRight
1150 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointTopRight_get();
1151 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1152 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1156 public static Position CenterLeft
1160 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointCenterLeft_get();
1161 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1162 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1166 public static Position Center
1170 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointCenter_get();
1171 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1172 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1176 public static Position CenterRight
1180 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointCenterRight_get();
1181 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1182 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1186 public static Position BottomLeft
1190 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointBottomLeft_get();
1191 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1192 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1196 public static Position BottomCenter
1200 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointBottomCenter_get();
1201 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1202 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1206 public static Position BottomRight
1210 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointBottomRight_get();
1211 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1212 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1218 /// PositionAxis constants.
1220 public struct PositionAxis
1222 public static Position X
1226 global::System.IntPtr cPtr = NDalicPINVOKE.Vector3_XAXIS_get();
1227 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1228 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1232 public static Position Y
1236 global::System.IntPtr cPtr = NDalicPINVOKE.Vector3_YAXIS_get();
1237 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1238 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1242 public static Position Z
1246 global::System.IntPtr cPtr = NDalicPINVOKE.Vector3_ZAXIS_get();
1247 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1248 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1252 public static Position NegativeX
1256 global::System.IntPtr cPtr = NDalicPINVOKE.Vector3_NEGATIVE_XAXIS_get();
1257 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1258 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1262 public static Position NegativeY
1266 global::System.IntPtr cPtr = NDalicPINVOKE.Vector3_NEGATIVE_YAXIS_get();
1267 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1268 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1272 public static Position NegativeZ
1276 global::System.IntPtr cPtr = NDalicPINVOKE.Vector3_NEGATIVE_ZAXIS_get();
1277 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1278 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1285 /// Auto scrolling stop behaviour.
1287 public enum AutoScrollStopMode
1290 /// Stop animation after current loop finished.
1294 /// Stop animation immediatly and reset position.
1300 /// An enum of screen mode.
1302 public enum ScreenMode {
1304 /// The mode which turns the screen off after a timeout.
1308 /// The mode which keeps the screen turned on.
1314 /// An enum of notification window's priority level.
1316 public enum NotificationLevel {
1318 /// No notification level.<br>
1319 /// Default level.<br>
1320 /// This value makes the notification window place in the layer of the normal window.
1324 /// Base nofitication level.
1328 /// Medium notification level than base.
1332 /// Higher notification level than medium.
1336 /// The highest notification level.
1342 /// An enum of Window types.
1344 public enum WindowType {
1346 /// A default window type.<br>
1347 /// Indicates a normal, top-level window.
1348 /// Almost every window will be created with this type.
1352 /// A notification window, like a warning about battery life or a new E-Mail received.
1356 /// A persistent utility window, like a toolbox or palette.
1360 /// Used for simple dialog windows.
1365 public enum DisposeTypes
1367 Explicit, //Called By User
1368 Implicit, //Called by DisposeQueue
1374 [Obsolete("Please do not use! this will be deprecated")]
1375 public struct AnchorPoint
1377 public static float Top
1381 float ret = NDalicPINVOKE.AnchorPointTop_get();
1382 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1386 public static float Bottom
1390 float ret = NDalicPINVOKE.AnchorPointBottom_get();
1391 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1395 public static float Left
1399 float ret = NDalicPINVOKE.AnchorPointLeft_get();
1400 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1404 public static float Right
1408 float ret = NDalicPINVOKE.AnchorPointRight_get();
1409 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1413 public static float Middle
1417 float ret = NDalicPINVOKE.AnchorPointMiddle_get();
1418 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1422 public static Position TopLeft
1426 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointTopLeft_get();
1427 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1428 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1432 public static Position TopCenter
1436 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointTopCenter_get();
1437 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1438 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1442 public static Position TopRight
1446 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointTopRight_get();
1447 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1448 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1452 public static Position CenterLeft
1456 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointCenterLeft_get();
1457 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1458 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1462 public static Position Center
1466 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointCenter_get();
1467 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1468 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1472 public static Position CenterRight
1476 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointCenterRight_get();
1477 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1478 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1482 public static Position BottomLeft
1486 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointBottomLeft_get();
1487 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1488 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1492 public static Position BottomCenter
1496 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointBottomCenter_get();
1497 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1498 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1502 public static Position BottomRight
1506 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointBottomRight_get();
1507 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1508 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1515 /// An enum of scroll state of text eidtor.
1517 public enum ScrollState
1520 /// Scrolling is started.
1525 /// Scrolling is finished.
1531 /// An enum of line wrap mode of text controls.
1533 public enum LineWrapMode
1536 /// Word mode will move word to next line
1541 /// character will move character by character to next line