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.
14 using System.ComponentModel;
18 public enum ScrollModeType
29 /// This specifies whether the Actor uses its own color, or inherits.
34 /// Actor will use its own color.
38 /// Actor will use its parent color.
42 /// Actor will blend its color with its parents color.
44 UseOwnMultiplyParentColor,
46 /// 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.
48 UseOwnMultiplyParentAlpha
52 /// This specifies the dimesion of width or heigh for size negotiation.
54 public enum DimensionType
65 /// Mask to cover all flags
71 /// Enumeration for the instance of how the actor and it's children will be drawn.
73 public enum DrawModeType
76 /// The default draw-mode
80 /// Draw the actor and its children as an overlay
84 /// Will be replaced by separate ClippingMode enum. Draw the actor and its children into the stencil buffer
90 /// Enumeration for size negotiation resize policies.
92 public enum ResizePolicyType
95 /// Size is fixed as set by SetSize
99 /// Size is to use the actor's natural size
101 /// <see cref="View.GetNaturalSize"/>
104 /// Size is to fill up to the actor's parent's bounds. Aspect ratio is not maintained.
108 /// The actors size will be ( ParentSize * SizeRelativeToParentFactor ).
110 SizeRelativeToParent,
112 /// The actors size will be ( ParentSize + SizeRelativeToParentFactor ).
114 SizeFixedOffsetFromParent,
116 /// Size will adjust to wrap around all children
120 /// One dimension is dependent on the other
124 /// The size will be assigned to the actor
130 /// Enumeration for policies to determine how an actor should resize itself when having its size set in size negotiation.
132 public enum SizeScalePolicyType
135 /// Use the size that was set
139 /// Fit within the size set maintaining natural size aspect ratio
143 /// Fit within the size set maintaining natural size aspect ratio
149 /// Enumeration for ClippingMode describing how this Actor's children will be clipped against it.
151 public enum ClippingModeType
154 /// This Actor will not clip its children.
158 /// This Actor will clip all children to within its boundaries (the actor will also be visible itself).
164 /// Enumeration for type determination of how camera operates.
166 public enum CameraType
169 /// Camera orientation is taken from CameraActor.
173 /// Camera is oriented to always look at a target.
179 /// Enumeration for projection modes.
181 public enum ProjectionMode
184 /// Distance causes foreshortening; objects further from the camera appear smaller.
186 PerspectiveProjection,
188 /// Relative distance from the camera does not affect the size of objects.
190 OrthographicProjection
194 /// This specifies ccustomView behaviour types.
196 public enum CustomViewBehaviour
199 /// Use to provide default behaviour (size negotiation is on, event callbacks are not called)
201 ViewBehaviourDefault = 0,
203 /// True if control does not need size negotiation, i.e. it can be skipped in the algorithm
205 DisableSizeNegotiation = 1 << 0,
207 /// Use to provide key navigation support.
209 RequiresKeyboardNavigationSupport = 1 << 5,
211 /// Use to make style change event disabled.
213 DisableStyleChangeSignals = 1 << 6,
214 [EditorBrowsable(EditorBrowsableState.Never)]
215 LastViewBehaviourFlag
218 public enum DeviceClassType
231 /// This specifies all the property types. <br>
232 /// Enumeration for the property types supported.
234 public enum PropertyType
253 /// a vector array of size=2 with float precision
257 /// a vector array of size=3 with float precision
261 /// a vector array of size=4 with float precision
273 /// an integer array of size=4
277 /// either a quaternion or an axis angle rotation
285 /// an array of PropertyValue
289 /// a string key to PropertyValue mapping
295 /// This specifies the property access mode types. <br>
296 /// Enumeration for the access mode for custom properties.
298 public enum PropertyAccessMode
301 /// if the property is read-only
305 /// If the property is read/writeable
309 /// If the property can be animated or constrained
313 /// The number of access modes
319 /// Types of style change. Enumeration for StyleChange type.
321 public enum StyleChangeType
324 /// Denotes that the default font has changed.
328 /// Denotes that the default font size has changed.
330 DefaultFontSizeChange,
332 /// Denotes that the theme has changed.
338 /// Enumeration for horizontal alignment types.
340 public enum HorizontalAlignmentType
343 /// Align horizontally left
347 /// Align horizontally center
351 /// Align horizontally right
357 /// Enumeration for vertical alignment types.
359 public enum VerticalAlignmentType
362 /// Align vertically top
366 /// Align vertically center
370 /// Align vertically bottom
376 /// Enumeration for point state type.
378 public enum PointStateType
381 /// Touch or hover started
385 /// Touch or hover finished
397 /// Finger dragged or hovered
401 /// Leave the boundary of an actor
405 /// No change from last event. <br>
406 /// 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.
410 /// A system event has occurred which has interrupted the touch or hover event sequence.
416 /// Enumeration for the text horizontal aligning.
418 public enum HorizontalAlignment
421 /// Texts place at the begin of horizontal direction.
425 /// Texts place at the center of horizontal direction.
429 /// Texts place at the end of horizontal direction.
435 /// Enumeration for the text horizontal aligning.
437 public enum VerticalAlignment
440 /// Texts place at the top of vertical direction.
444 /// Texts place at the center of vertical direction.
448 /// Texts place at the bottom of vertical direction.
454 /// This specifies wrap mode types <br>
455 /// 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.
457 public enum WrapModeType
478 /// The type of coordinate system for certain attributes of the points in a gradient.
480 public enum GradientVisualUnitsType
483 /// 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).
487 /// 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).
493 /// This specifies SpreadMethod types.<br>
494 /// SpreadMethod defines what happens if the gradient starts or ends inside the bounds of the target rectangle.<br>
496 public enum GradientVisualSpreadMethodType
499 /// Uses the terminal colors of the gradient to fill the remainder of the quad.
503 /// Reflect the gradient pattern start-to-end, end-to-start, start-to-end etc. until the quad is filled.
507 /// Repeat the gradient pattern start-to-end, start-to-end, start-to-end etc. until the quad is filled.
513 /// The shading mode used by MeshVisual.
515 public enum MeshVisualShadingModeValue
518 /// *Simplest*. One color that is lit by ambient and diffuse lighting.
520 TexturelessWithDiffuseLighting,
522 /// Uses only the visual image textures provided with specular lighting in addition to ambient and diffuse lighting.
524 TexturedWithSpecularLighting,
526 /// Uses all textures provided including a gloss, normal and texture map along with specular, ambient and diffuse lighting.
528 TexturedWithDetailedSpecularLighting
532 /// The primitive shape to render as a PrimitiveVisual.
534 public enum PrimitiveVisualShapeType
537 /// A perfectly round geometrical object in three-dimensional space.
541 /// The area bound between two circles, i.e. a cone with the tip removed.
545 /// Equivalent to a conical frustrum with top radius of zero.
546 /// </summary>Equivalent to a conical frustrum with top radius of zero.
549 /// Equivalent to a conical frustrum with top radius of zero.
553 /// Equivalent to a conical frustrum with equal radii for the top and bottom circles.
557 /// Equivalent to a bevelled cube with a bevel percentage of zero.
561 /// Equivalent to a bevelled cube with a bevel percentage of one.
567 /// This specifies fitting mode types. Fitting options, used when resizing images to fit desired dimensions.<br>
568 /// A fitting mode controls the region of a loaded image to be mapped to the desired image rectangle.<br>
569 /// All fitting modes preserve the aspect ratio of the image contents.<br>
571 public enum FittingModeType
574 /// Full-screen image display: Limit loaded image resolution to device resolution using ShrinkToFit mode.
578 /// Thumbnail gallery grid: Limit loaded image resolution to screen tile using ScaleToFill mode.
582 /// Image columns: Limit loaded image resolution to column width using FitWidth mode.
586 /// Image rows: Limit loaded image resolution to row height using FitHeight mode.
592 /// This specifies sampling mode types. Filtering options, used when resizing images to sample original pixels.<br>
593 /// 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>
594 /// NoFilter and Box modes do not guarantee that the output pixel array exactly matches the rectangle specified by the desired dimensions and FittingMode,<br>
595 /// but all other filter modes do if the desired dimensions are `<=` the raw dimensions of the input image file.<br>
597 public enum SamplingModeType
600 /// Iteratively box filter to generate an image of 1/2, 1/4, 1/8, etc width and height and approximately the desired size. <br>
601 /// This is the default.
605 /// For each output pixel, read one input pixel.
609 /// For each output pixel, read a quad of four input pixels and write a weighted average of them.
613 /// Iteratively box filter to generate an image of 1/2, 1/4, 1/8 etc width and height and approximately the desired size, <br>
614 /// then for each output pixel, read one pixel from the last level of box filtering.<br>
618 /// 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.
622 /// 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.
626 /// For caching algorithms where a client strongly prefers a cache-hit to reuse a cached image.
632 /// This specifies policy types that could be used by the transform for the offset or size.
634 public enum VisualTransformPolicyType
637 /// Relative to the control (percentage [0.0f to 1.0f] of the control).
641 /// Absolute value in world units.
647 /// This specifies all the transform property types.
649 public enum VisualTransformPropertyType
652 /// Offset of the visual, which can be either relative (percentage [0.0f to 1.0f] of the parent) or absolute (in world units).
656 /// Size of the visual, which can be either relative (percentage [0.0f to 1.0f] of the parent) or absolute (in world units).
660 /// The origin of the visual within its control area.
664 /// The anchor-point of the visual
668 /// Whether the x or y OFFSET values are relative (percentage [0.0f to 1.0f] of the control) or absolute (in world units).
672 /// Whether the width or height SIZE values are relative (percentage [0.0f to 1.0f] of the control) or absolute (in world units).
678 /// This specifies visual types.
683 /// The index for the visual type.
688 /// Renders a solid color as an internal border to the control's quad.
692 /// Renders a solid color to the control's quad.
696 /// Renders a smooth transition of colors to the control's quad.
700 /// Renders an image into the control's quad.
704 /// Renders a mesh using an "obj" file, optionally with textures provided by an "mtl" file.
708 /// Renders a simple 3D shape, such as a cube or sphere.
712 /// Renders a simple wire-frame outlining a quad.
720 /// Renders an n-patch image.
724 /// Renders an SVG image.
728 /// Renders a animated image. (Animated GIF)
734 /// This specifies visual properties.
736 public struct Property
738 public static readonly int Type = NDalic.VISUAL_PROPERTY_TYPE;
739 public static readonly int Shader = NDalic.VISUAL_PROPERTY_SHADER;
740 public static readonly int Transform = NDalic.VISUAL_PROPERTY_TRANSFORM;
741 public static readonly int PremultipliedAlpha = NDalic.VISUAL_PROPERTY_PREMULTIPLIED_ALPHA;
742 public static readonly int MixColor = NDalic.VISUAL_PROPERTY_MIX_COLOR;
743 public static readonly int Opacity = NDalic.VISUAL_PROPERTY_MIX_COLOR + 1;
747 /// This specifies shader properties.
749 public struct ShaderProperty
751 public static readonly int VertexShader = NDalic.VISUAL_SHADER_VERTEX;
752 public static readonly int FragmentShader = NDalic.VISUAL_SHADER_FRAGMENT;
753 public static readonly int ShaderSubdivideGridX = NDalic.VISUAL_SHADER_SUBDIVIDE_GRID_X;
754 public static readonly int ShaderSubdivideGridY = NDalic.VISUAL_SHADER_SUBDIVIDE_GRID_Y;
755 public static readonly int ShaderHints = NDalic.VISUAL_SHADER_HINTS;
759 /// This specifies Visaul align types.
761 public enum AlignType
776 /// This specifies properties of BorderVisual.
778 public struct BorderVisualProperty
780 public static readonly int Color = NDalic.BORDER_VISUAL_COLOR;
781 public static readonly int Size = NDalic.BORDER_VISUAL_SIZE;
782 public static readonly int AntiAliasing = NDalic.BORDER_VISUAL_ANTI_ALIASING;
786 /// This specifies properties of ColorVisual.
788 public struct ColorVisualProperty
790 public static readonly int MixColor = NDalic.COLOR_VISUAL_MIX_COLOR;
794 /// This specifies properties of GradientVisual.
796 public struct GradientVisualProperty
798 public static readonly int StartPosition = NDalic.GRADIENT_VISUAL_START_POSITION;
799 public static readonly int EndPosition = NDalic.GRADIENT_VISUAL_END_POSITION;
800 public static readonly int Center = NDalic.GRADIENT_VISUAL_CENTER;
801 public static readonly int Radius = NDalic.GRADIENT_VISUAL_RADIUS;
802 public static readonly int StopOffset = NDalic.GRADIENT_VISUAL_STOP_OFFSET;
803 public static readonly int StopColor = NDalic.GRADIENT_VISUAL_STOP_COLOR;
804 public static readonly int Units = NDalic.GRADIENT_VISUAL_UNITS;
805 public static readonly int SpreadMethod = NDalic.GRADIENT_VISUAL_SPREAD_METHOD;
809 /// This specifies properties of ImageVisual.
811 public struct ImageVisualProperty
813 public static readonly int URL = NDalic.IMAGE_VISUAL_URL;
814 public static readonly int AlphaMaskURL = NDalic.IMAGE_VISUAL_ALPHA_MASK_URL;
815 public static readonly int FittingMode = NDalic.IMAGE_VISUAL_FITTING_MODE;
816 public static readonly int SamplingMode = NDalic.IMAGE_VISUAL_SAMPLING_MODE;
817 public static readonly int DesiredWidth = NDalic.IMAGE_VISUAL_DESIRED_WIDTH;
818 public static readonly int DesiredHeight = NDalic.IMAGE_VISUAL_DESIRED_HEIGHT;
819 public static readonly int SynchronousLoading = NDalic.IMAGE_VISUAL_SYNCHRONOUS_LOADING;
820 public static readonly int BorderOnly = NDalic.IMAGE_VISUAL_BORDER_ONLY;
821 public static readonly int PixelArea = NDalic.IMAGE_VISUAL_PIXEL_AREA;
822 public static readonly int WrapModeU = NDalic.IMAGE_VISUAL_WRAP_MODE_U;
823 public static readonly int WrapModeV = NDalic.IMAGE_VISUAL_WRAP_MODE_V;
824 public static readonly int Border = NDalic.IMAGE_VISUAL_BORDER;
828 /// This specifies properties of MeshVisual.
830 public struct MeshVisualProperty
832 public static readonly int ObjectURL = NDalic.MESH_VISUAL_OBJECT_URL;
833 public static readonly int MaterialtURL = NDalic.MESH_VISUAL_MATERIAL_URL;
834 public static readonly int TexturesPath = NDalic.MESH_VISUAL_TEXTURES_PATH;
835 public static readonly int ShadingMode = NDalic.MESH_VISUAL_SHADING_MODE;
836 public static readonly int UseMipmapping = NDalic.MESH_VISUAL_USE_MIPMAPPING;
837 public static readonly int UseSoftNormals = NDalic.MESH_VISUAL_USE_SOFT_NORMALS;
838 public static readonly int LightPosition = NDalic.MESH_VISUAL_LIGHT_POSITION;
842 /// This specifies properties of PrimitiveVisual.
844 public struct PrimitiveVisualProperty
846 public static readonly int Shape = NDalic.PRIMITIVE_VISUAL_SHAPE;
847 public static readonly int MixColor = NDalic.PRIMITIVE_VISUAL_MIX_COLOR;
848 public static readonly int Slices = NDalic.PRIMITIVE_VISUAL_SLICES;
849 public static readonly int Stacks = NDalic.PRIMITIVE_VISUAL_STACKS;
850 public static readonly int ScaleTopRadius = NDalic.PRIMITIVE_VISUAL_SCALE_TOP_RADIUS;
851 public static readonly int ScaleBottomRadius = NDalic.PRIMITIVE_VISUAL_SCALE_BOTTOM_RADIUS;
852 public static readonly int ScaleHeight = NDalic.PRIMITIVE_VISUAL_SCALE_HEIGHT;
853 public static readonly int ScaleRadius = NDalic.PRIMITIVE_VISUAL_SCALE_RADIUS;
854 public static readonly int ScaleDimensions = NDalic.PRIMITIVE_VISUAL_SCALE_DIMENSIONS;
855 public static readonly int BevelPercentage = NDalic.PRIMITIVE_VISUAL_BEVEL_PERCENTAGE;
856 public static readonly int BevelSmoothness = NDalic.PRIMITIVE_VISUAL_BEVEL_SMOOTHNESS;
857 public static readonly int LightPosition = NDalic.PRIMITIVE_VISUAL_LIGHT_POSITION;
861 /// This specifies properties of TextVisual.
863 public struct TextVisualProperty
865 public static readonly int Text = NDalic.TEXT_VISUAL_TEXT;
866 public static readonly int FontFamily = NDalic.TEXT_VISUAL_FONT_FAMILY;
867 public static readonly int FontStyle = NDalic.TEXT_VISUAL_FONT_STYLE;
868 public static readonly int PointSize = NDalic.TEXT_VISUAL_POINT_SIZE;
869 public static readonly int MultiLine = NDalic.TEXT_VISUAL_MULTI_LINE;
870 public static readonly int HorizontalAlignment = NDalic.TEXT_VISUAL_HORIZONTAL_ALIGNMENT;
871 public static readonly int VerticalAlignment = NDalic.TEXT_VISUAL_VERTICAL_ALIGNMENT;
872 public static readonly int TextColor = NDalic.TEXT_VISUAL_TEXT_COLOR;
873 public static readonly int EnableMarkup = NDalic.TEXT_VISUAL_ENABLE_MARKUP;
877 /// This specifies properties of NpatchImageVisual.
879 public struct NpatchImageVisualProperty
881 public static readonly int URL = NDalic.IMAGE_VISUAL_URL;
882 public static readonly int FittingMode = NDalic.IMAGE_VISUAL_FITTING_MODE;
883 public static readonly int SamplingMode = NDalic.IMAGE_VISUAL_SAMPLING_MODE;
884 public static readonly int DesiredWidth = NDalic.IMAGE_VISUAL_DESIRED_WIDTH;
885 public static readonly int DesiredHeight = NDalic.IMAGE_VISUAL_DESIRED_HEIGHT;
886 public static readonly int SynchronousLoading = NDalic.IMAGE_VISUAL_SYNCHRONOUS_LOADING;
887 public static readonly int BorderOnly = NDalic.IMAGE_VISUAL_BORDER_ONLY;
888 public static readonly int PixelArea = NDalic.IMAGE_VISUAL_PIXEL_AREA;
889 public static readonly int WrapModeU = NDalic.IMAGE_VISUAL_WRAP_MODE_U;
890 public static readonly int WrapModeV = NDalic.IMAGE_VISUAL_WRAP_MODE_V;
891 public static readonly int Border = NDalic.IMAGE_VISUAL_WRAP_MODE_V + 1;
895 /// HiddenInput Property.
897 public struct HiddenInputProperty
899 public static readonly int Mode = NDalicManualPINVOKE.HIDDENINPUT_PROPERTY_MODE_get();
900 public static readonly int SubstituteCharacter = NDalicManualPINVOKE.HIDDENINPUT_PROPERTY_SUBSTITUTE_CHARACTER_get();
901 public static readonly int SubstituteCount = NDalicManualPINVOKE.HIDDENINPUT_PROPERTY_SUBSTITUTE_COUNT_get();
902 public static readonly int ShowDuration = NDalicManualPINVOKE.HIDDENINPUT_PROPERTY_SHOW_DURATION_get();
906 /// The type for HiddenInput mode.
908 public enum HiddenInputModeType
915 /// Hide all the input text.
919 /// Hide n characters from start.
923 /// Show n characters from start.
927 /// Show last character for the duration(use ShowDuration property to modify duration).
933 /// ParentOrigin constants.
935 public struct ParentOrigin
937 public static float Top
941 float ret = NDalicPINVOKE.ParentOriginTop_get();
942 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
946 public static float Bottom
950 float ret = NDalicPINVOKE.ParentOriginBottom_get();
951 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
955 public static float Left
959 float ret = NDalicPINVOKE.ParentOriginLeft_get();
960 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
964 public static float Right
968 float ret = NDalicPINVOKE.ParentOriginRight_get();
969 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
973 public static float Middle
977 float ret = NDalicPINVOKE.ParentOriginMiddle_get();
978 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
982 public static Position TopLeft
986 global::System.IntPtr cPtr = NDalicPINVOKE.ParentOriginTopLeft_get();
987 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
988 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
992 public static Position TopCenter
996 global::System.IntPtr cPtr = NDalicPINVOKE.ParentOriginTopCenter_get();
997 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
998 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1002 public static Position TopRight
1006 global::System.IntPtr cPtr = NDalicPINVOKE.ParentOriginTopRight_get();
1007 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1008 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1012 public static Position CenterLeft
1016 global::System.IntPtr cPtr = NDalicPINVOKE.ParentOriginCenterLeft_get();
1017 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1018 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1022 public static Position Center
1026 global::System.IntPtr cPtr = NDalicPINVOKE.ParentOriginCenter_get();
1027 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1028 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1032 public static Position CenterRight
1036 global::System.IntPtr cPtr = NDalicPINVOKE.ParentOriginCenterRight_get();
1037 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1038 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1042 public static Position BottomLeft
1046 global::System.IntPtr cPtr = NDalicPINVOKE.ParentOriginBottomLeft_get();
1047 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1048 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1052 public static Position BottomCenter
1056 global::System.IntPtr cPtr = NDalicPINVOKE.ParentOriginBottomCenter_get();
1057 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1058 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1062 public static Position BottomRight
1066 global::System.IntPtr cPtr = NDalicPINVOKE.ParentOriginBottomRight_get();
1067 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1068 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1075 /// AnchorPoint constants.
1077 public struct PivotPoint
1079 public static float Top
1083 float ret = NDalicPINVOKE.AnchorPointTop_get();
1084 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1088 public static float Bottom
1092 float ret = NDalicPINVOKE.AnchorPointBottom_get();
1093 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1097 public static float Left
1101 float ret = NDalicPINVOKE.AnchorPointLeft_get();
1102 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1106 public static float Right
1110 float ret = NDalicPINVOKE.AnchorPointRight_get();
1111 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1115 public static float Middle
1119 float ret = NDalicPINVOKE.AnchorPointMiddle_get();
1120 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1124 public static Position TopLeft
1128 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointTopLeft_get();
1129 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1130 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1134 public static Position TopCenter
1138 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointTopCenter_get();
1139 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1140 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1144 public static Position TopRight
1148 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointTopRight_get();
1149 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1150 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1154 public static Position CenterLeft
1158 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointCenterLeft_get();
1159 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1160 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1164 public static Position Center
1168 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointCenter_get();
1169 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1170 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1174 public static Position CenterRight
1178 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointCenterRight_get();
1179 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1180 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1184 public static Position BottomLeft
1188 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointBottomLeft_get();
1189 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1190 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1194 public static Position BottomCenter
1198 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointBottomCenter_get();
1199 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1200 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1204 public static Position BottomRight
1208 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointBottomRight_get();
1209 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1210 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1216 /// PositionAxis constants.
1218 public struct PositionAxis
1220 public static Position X
1224 global::System.IntPtr cPtr = NDalicPINVOKE.Vector3_XAXIS_get();
1225 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1226 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1230 public static Position Y
1234 global::System.IntPtr cPtr = NDalicPINVOKE.Vector3_YAXIS_get();
1235 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1236 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1240 public static Position Z
1244 global::System.IntPtr cPtr = NDalicPINVOKE.Vector3_ZAXIS_get();
1245 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1246 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1250 public static Position NegativeX
1254 global::System.IntPtr cPtr = NDalicPINVOKE.Vector3_NEGATIVE_XAXIS_get();
1255 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1256 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1260 public static Position NegativeY
1264 global::System.IntPtr cPtr = NDalicPINVOKE.Vector3_NEGATIVE_YAXIS_get();
1265 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1266 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1270 public static Position NegativeZ
1274 global::System.IntPtr cPtr = NDalicPINVOKE.Vector3_NEGATIVE_ZAXIS_get();
1275 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1276 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1283 /// Auto scrolling stop behaviour.
1285 public enum AutoScrollStopMode
1288 /// Stop animation after current loop finished.
1292 /// Stop animation immediatly and reset position.
1298 /// An enum of screen mode.
1300 public enum ScreenMode {
1302 /// The mode which turns the screen off after a timeout.
1306 /// The mode which keeps the screen turned on.
1312 /// An enum of notification window's priority level.
1314 public enum NotificationLevel {
1316 /// No notification level.<br>
1317 /// Default level.<br>
1318 /// This value makes the notification window place in the layer of the normal window.
1322 /// Base nofitication level.
1326 /// Medium notification level than base.
1330 /// Higher notification level than medium.
1334 /// The highest notification level.
1340 /// An enum of Window types.
1342 public enum WindowType {
1344 /// A default window type.<br>
1345 /// Indicates a normal, top-level window.
1346 /// Almost every window will be created with this type.
1350 /// A notification window, like a warning about battery life or a new E-Mail received.
1354 /// A persistent utility window, like a toolbox or palette.
1358 /// Used for simple dialog windows.
1363 public enum DisposeTypes
1365 Explicit, //Called By User
1366 Implicit, //Called by DisposeQueue
1372 //will be removed/deprecated
\r
1373 public struct AnchorPoint
1375 public static float Top
1379 float ret = NDalicPINVOKE.AnchorPointTop_get();
1380 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1384 public static float Bottom
1388 float ret = NDalicPINVOKE.AnchorPointBottom_get();
1389 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1393 public static float Left
1397 float ret = NDalicPINVOKE.AnchorPointLeft_get();
1398 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1402 public static float Right
1406 float ret = NDalicPINVOKE.AnchorPointRight_get();
1407 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1411 public static float Middle
1415 float ret = NDalicPINVOKE.AnchorPointMiddle_get();
1416 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1420 public static Position TopLeft
1424 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointTopLeft_get();
1425 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1426 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1430 public static Position TopCenter
1434 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointTopCenter_get();
1435 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1436 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1440 public static Position TopRight
1444 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointTopRight_get();
1445 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1446 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1450 public static Position CenterLeft
1454 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointCenterLeft_get();
1455 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1456 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1460 public static Position Center
1464 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointCenter_get();
1465 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1466 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1470 public static Position CenterRight
1474 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointCenterRight_get();
1475 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1476 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1480 public static Position BottomLeft
1484 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointBottomLeft_get();
1485 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1486 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1490 public static Position BottomCenter
1494 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointBottomCenter_get();
1495 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1496 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1500 public static Position BottomRight
1504 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointBottomRight_get();
1505 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1506 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();