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;
19 /// This specifies whether the Actor uses its own color, or inherits.
24 /// Actor will use its own color.
28 /// Actor will use its parent color.
32 /// Actor will blend its color with its parents color.
34 UseOwnMultiplyParentColor,
36 /// 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.
38 UseOwnMultiplyParentAlpha
42 /// This specifies the dimesion of width or heigh for size negotiation.
44 public enum DimensionType
55 /// Mask to cover all flags
61 /// Enumeration for the instance of how the actor and it's children will be drawn.
63 public enum DrawModeType
66 /// The default draw-mode
70 /// Draw the actor and its children as an overlay
74 /// Will be replaced by separate ClippingMode enum. Draw the actor and its children into the stencil buffer
80 /// Enumeration for size negotiation resize policies.
82 public enum ResizePolicyType
85 /// Size is fixed as set by SetSize
89 /// Size is to use the actor's natural size
91 /// <see cref="View.GetNaturalSize"/>
94 /// Size is to fill up to the actor's parent's bounds. Aspect ratio is not maintained.
98 /// The actors size will be ( ParentSize * SizeRelativeToParentFactor ).
100 SizeRelativeToParent,
102 /// The actors size will be ( ParentSize + SizeRelativeToParentFactor ).
104 SizeFixedOffsetFromParent,
106 /// Size will adjust to wrap around all children
110 /// One dimension is dependent on the other
114 /// The size will be assigned to the actor
120 /// Enumeration for policies to determine how an actor should resize itself when having its size set in size negotiation.
122 public enum SizeScalePolicyType
125 /// Use the size that was set
129 /// Fit within the size set maintaining natural size aspect ratio
133 /// Fit within the size set maintaining natural size aspect ratio
139 /// Enumeration for ClippingMode describing how this Actor's children will be clipped against it.
141 public enum ClippingModeType
144 /// This Actor will not clip its children.
148 /// This Actor will clip all children to within its boundaries (the actor will also be visible itself).
154 /// Enumeration for type determination of how camera operates.
156 public enum CameraType
159 /// Camera orientation is taken from CameraActor.
163 /// Camera is oriented to always look at a target.
169 /// Enumeration for projection modes.
171 public enum ProjectionMode
174 /// Distance causes foreshortening; objects further from the camera appear smaller.
176 PerspectiveProjection,
178 /// Relative distance from the camera does not affect the size of objects.
180 OrthographicProjection
184 /// This specifies ccustomView behaviour types.
186 public enum CustomViewBehaviour
189 /// Use to provide default behaviour (size negotiation is on, event callbacks are not called)
191 ViewBehaviourDefault = 0,
193 /// True if control does not need size negotiation, i.e. it can be skipped in the algorithm
195 DisableSizeNegotiation = 1 << 0,
197 /// Use to provide key navigation support.
199 RequiresKeyboardNavigationSupport = 1 << 5,
201 /// Use to make style change event disabled.
203 DisableStyleChangeSignals = 1 << 6,
204 [EditorBrowsable(EditorBrowsableState.Never)]
205 LastViewBehaviourFlag
208 public enum DeviceClassType
221 /// This specifies all the property types. <br>
222 /// Enumeration for the property types supported.
224 public enum PropertyType
243 /// a vector array of size=2 with float precision
247 /// a vector array of size=3 with float precision
251 /// a vector array of size=4 with float precision
263 /// an integer array of size=4
267 /// either a quaternion or an axis angle rotation
275 /// an array of PropertyValue
279 /// a string key to PropertyValue mapping
285 /// This specifies the property access mode types. <br>
286 /// Enumeration for the access mode for custom properties.
288 public enum PropertyAccessMode
291 /// if the property is read-only
295 /// If the property is read/writeable
299 /// If the property can be animated or constrained
303 /// The number of access modes
309 /// Types of style change. Enumeration for StyleChange type.
311 public enum StyleChangeType
314 /// Denotes that the default font has changed.
318 /// Denotes that the default font size has changed.
320 DefaultFontSizeChange,
322 /// Denotes that the theme has changed.
328 /// Enumeration for horizontal alignment types.
330 public enum HorizontalAlignmentType
333 /// Align horizontally left
337 /// Align horizontally center
341 /// Align horizontally right
347 /// Enumeration for vertical alignment types.
349 public enum VerticalAlignmentType
352 /// Align vertically top
356 /// Align vertically center
360 /// Align vertically bottom
366 /// Enumeration for point state type.
368 public enum PointStateType
371 /// Touch or hover started
375 /// Touch or hover finished
387 /// Finger dragged or hovered
391 /// Leave the boundary of an actor
395 /// No change from last event. <br>
396 /// 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.
400 /// A system event has occurred which has interrupted the touch or hover event sequence.
406 /// Enumeration for the text horizontal aligning.
408 public enum HorizontalAlignment
411 /// Texts place at the begin of horizontal direction.
415 /// Texts place at the center of horizontal direction.
419 /// Texts place at the end of horizontal direction.
425 /// Enumeration for the text horizontal aligning.
427 public enum VerticalAlignment
430 /// Texts place at the top of vertical direction.
434 /// Texts place at the center of vertical direction.
438 /// Texts place at the bottom of vertical direction.
444 /// This specifies wrap mode types <br>
445 /// 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.
447 public enum WrapModeType
468 /// The type of coordinate system for certain attributes of the points in a gradient.
470 public enum GradientVisualUnitsType
473 /// 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).
477 /// 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).
483 /// This specifies SpreadMethod types.<br>
484 /// SpreadMethod defines what happens if the gradient starts or ends inside the bounds of the target rectangle.<br>
486 public enum GradientVisualSpreadMethodType
489 /// Uses the terminal colors of the gradient to fill the remainder of the quad.
493 /// Reflect the gradient pattern start-to-end, end-to-start, start-to-end etc. until the quad is filled.
497 /// Repeat the gradient pattern start-to-end, start-to-end, start-to-end etc. until the quad is filled.
503 /// The shading mode used by MeshVisual.
505 public enum MeshVisualShadingModeValue
508 /// *Simplest*. One color that is lit by ambient and diffuse lighting.
510 TexturelessWithDiffuseLighting,
512 /// Uses only the visual image textures provided with specular lighting in addition to ambient and diffuse lighting.
514 TexturedWithSpecularLighting,
516 /// Uses all textures provided including a gloss, normal and texture map along with specular, ambient and diffuse lighting.
518 TexturedWithDetailedSpecularLighting
522 /// The primitive shape to render as a PrimitiveVisual.
524 public enum PrimitiveVisualShapeType
527 /// A perfectly round geometrical object in three-dimensional space.
531 /// The area bound between two circles, i.e. a cone with the tip removed.
535 /// Equivalent to a conical frustrum with top radius of zero.
536 /// </summary>Equivalent to a conical frustrum with top radius of zero.
539 /// Equivalent to a conical frustrum with top radius of zero.
543 /// Equivalent to a conical frustrum with equal radii for the top and bottom circles.
547 /// Equivalent to a bevelled cube with a bevel percentage of zero.
551 /// Equivalent to a bevelled cube with a bevel percentage of one.
557 /// This specifies fitting mode types. Fitting options, used when resizing images to fit desired dimensions.<br>
558 /// A fitting mode controls the region of a loaded image to be mapped to the desired image rectangle.<br>
559 /// All fitting modes preserve the aspect ratio of the image contents.<br>
561 public enum FittingModeType
564 /// Full-screen image display: Limit loaded image resolution to device resolution using ShrinkToFit mode.
568 /// Thumbnail gallery grid: Limit loaded image resolution to screen tile using ScaleToFill mode.
572 /// Image columns: Limit loaded image resolution to column width using FitWidth mode.
576 /// Image rows: Limit loaded image resolution to row height using FitHeight mode.
582 /// This specifies sampling mode types. Filtering options, used when resizing images to sample original pixels.<br>
583 /// 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>
584 /// NoFilter and Box modes do not guarantee that the output pixel array exactly matches the rectangle specified by the desired dimensions and FittingMode,<br>
585 /// but all other filter modes do if the desired dimensions are `<=` the raw dimensions of the input image file.<br>
587 public enum SamplingModeType
590 /// Iteratively box filter to generate an image of 1/2, 1/4, 1/8, etc width and height and approximately the desired size. <br>
591 /// This is the default.
595 /// For each output pixel, read one input pixel.
599 /// For each output pixel, read a quad of four input pixels and write a weighted average of them.
603 /// Iteratively box filter to generate an image of 1/2, 1/4, 1/8 etc width and height and approximately the desired size, <br>
604 /// then for each output pixel, read one pixel from the last level of box filtering.<br>
608 /// 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.
612 /// 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.
616 /// For caching algorithms where a client strongly prefers a cache-hit to reuse a cached image.
622 /// This specifies policy types that could be used by the transform for the offset or size.
624 public enum VisualTransformPolicyType
627 /// Relative to the control (percentage [0.0f to 1.0f] of the control).
631 /// Absolute value in world units.
637 /// This specifies all the transform property types.
639 public enum VisualTransformPropertyType
642 /// Offset of the visual, which can be either relative (percentage [0.0f to 1.0f] of the parent) or absolute (in world units).
646 /// Size of the visual, which can be either relative (percentage [0.0f to 1.0f] of the parent) or absolute (in world units).
650 /// The origin of the visual within its control area.
654 /// The anchor-point of the visual
658 /// Whether the x or y OFFSET values are relative (percentage [0.0f to 1.0f] of the control) or absolute (in world units).
662 /// Whether the width or height SIZE values are relative (percentage [0.0f to 1.0f] of the control) or absolute (in world units).
668 /// This specifies visual types.
673 /// The index for the visual type.
678 /// Renders a solid color as an internal border to the control's quad.
682 /// Renders a solid color to the control's quad.
686 /// Renders a smooth transition of colors to the control's quad.
690 /// Renders an image into the control's quad.
694 /// Renders a mesh using an "obj" file, optionally with textures provided by an "mtl" file.
698 /// Renders a simple 3D shape, such as a cube or sphere.
702 /// Renders a simple wire-frame outlining a quad.
710 /// Renders an n-patch image.
714 /// Renders an SVG image.
718 /// Renders a animated image. (Animated GIF)
724 /// This specifies visual properties.
726 public struct Property
728 public static readonly int Type = NDalic.VISUAL_PROPERTY_TYPE;
729 public static readonly int Shader = NDalic.VISUAL_PROPERTY_SHADER;
730 public static readonly int Transform = NDalic.VISUAL_PROPERTY_TRANSFORM;
731 public static readonly int PremultipliedAlpha = NDalic.VISUAL_PROPERTY_PREMULTIPLIED_ALPHA;
732 public static readonly int MixColor = NDalic.VISUAL_PROPERTY_MIX_COLOR;
733 public static readonly int Opacity = NDalic.VISUAL_PROPERTY_MIX_COLOR + 1;
737 /// This specifies shader properties.
739 public struct ShaderProperty
741 public static readonly int VertexShader = NDalic.VISUAL_SHADER_VERTEX;
742 public static readonly int FragmentShader = NDalic.VISUAL_SHADER_FRAGMENT;
743 public static readonly int ShaderSubdivideGridX = NDalic.VISUAL_SHADER_SUBDIVIDE_GRID_X;
744 public static readonly int ShaderSubdivideGridY = NDalic.VISUAL_SHADER_SUBDIVIDE_GRID_Y;
745 public static readonly int ShaderHints = NDalic.VISUAL_SHADER_HINTS;
749 /// This specifies Visaul align types.
751 public enum AlignType
766 /// This specifies properties of BorderVisual.
768 public struct BorderVisualProperty
770 public static readonly int Color = NDalic.BORDER_VISUAL_COLOR;
771 public static readonly int Size = NDalic.BORDER_VISUAL_SIZE;
772 public static readonly int AntiAliasing = NDalic.BORDER_VISUAL_ANTI_ALIASING;
776 /// This specifies properties of ColorVisual.
778 public struct ColorVisualProperty
780 public static readonly int MixColor = NDalic.COLOR_VISUAL_MIX_COLOR;
784 /// This specifies properties of GradientVisual.
786 public struct GradientVisualProperty
788 public static readonly int StartPosition = NDalic.GRADIENT_VISUAL_START_POSITION;
789 public static readonly int EndPosition = NDalic.GRADIENT_VISUAL_END_POSITION;
790 public static readonly int Center = NDalic.GRADIENT_VISUAL_CENTER;
791 public static readonly int Radius = NDalic.GRADIENT_VISUAL_RADIUS;
792 public static readonly int StopOffset = NDalic.GRADIENT_VISUAL_STOP_OFFSET;
793 public static readonly int StopColor = NDalic.GRADIENT_VISUAL_STOP_COLOR;
794 public static readonly int Units = NDalic.GRADIENT_VISUAL_UNITS;
795 public static readonly int SpreadMethod = NDalic.GRADIENT_VISUAL_SPREAD_METHOD;
799 /// This specifies properties of ImageVisual.
801 public struct ImageVisualProperty
803 public static readonly int URL = NDalic.IMAGE_VISUAL_URL;
804 public static readonly int FittingMode = NDalic.IMAGE_VISUAL_FITTING_MODE;
805 public static readonly int SamplingMode = NDalic.IMAGE_VISUAL_SAMPLING_MODE;
806 public static readonly int DesiredWidth = NDalic.IMAGE_VISUAL_DESIRED_WIDTH;
807 public static readonly int DesiredHeight = NDalic.IMAGE_VISUAL_DESIRED_HEIGHT;
808 public static readonly int SynchronousLoading = NDalic.IMAGE_VISUAL_SYNCHRONOUS_LOADING;
809 public static readonly int BorderOnly = NDalic.IMAGE_VISUAL_BORDER_ONLY;
810 public static readonly int PixelArea = NDalic.IMAGE_VISUAL_PIXEL_AREA;
811 public static readonly int WrapModeU = NDalic.IMAGE_VISUAL_WRAP_MODE_U;
812 public static readonly int WrapModeV = NDalic.IMAGE_VISUAL_WRAP_MODE_V;
813 public static readonly int Border = NDalic.IMAGE_VISUAL_BORDER;
817 /// This specifies properties of MeshVisual.
819 public struct MeshVisualProperty
821 public static readonly int ObjectURL = NDalic.MESH_VISUAL_OBJECT_URL;
822 public static readonly int MaterialtURL = NDalic.MESH_VISUAL_MATERIAL_URL;
823 public static readonly int TexturesPath = NDalic.MESH_VISUAL_TEXTURES_PATH;
824 public static readonly int ShadingMode = NDalic.MESH_VISUAL_SHADING_MODE;
825 public static readonly int UseMipmapping = NDalic.MESH_VISUAL_USE_MIPMAPPING;
826 public static readonly int UseSoftNormals = NDalic.MESH_VISUAL_USE_SOFT_NORMALS;
827 public static readonly int LightPosition = NDalic.MESH_VISUAL_LIGHT_POSITION;
831 /// This specifies properties of PrimitiveVisual.
833 public struct PrimitiveVisualProperty
835 public static readonly int Shape = NDalic.PRIMITIVE_VISUAL_SHAPE;
836 public static readonly int MixColor = NDalic.PRIMITIVE_VISUAL_MIX_COLOR;
837 public static readonly int Slices = NDalic.PRIMITIVE_VISUAL_SLICES;
838 public static readonly int Stacks = NDalic.PRIMITIVE_VISUAL_STACKS;
839 public static readonly int ScaleTopRadius = NDalic.PRIMITIVE_VISUAL_SCALE_TOP_RADIUS;
840 public static readonly int ScaleBottomRadius = NDalic.PRIMITIVE_VISUAL_SCALE_BOTTOM_RADIUS;
841 public static readonly int ScaleHeight = NDalic.PRIMITIVE_VISUAL_SCALE_HEIGHT;
842 public static readonly int ScaleRadius = NDalic.PRIMITIVE_VISUAL_SCALE_RADIUS;
843 public static readonly int ScaleDimensions = NDalic.PRIMITIVE_VISUAL_SCALE_DIMENSIONS;
844 public static readonly int BevelPercentage = NDalic.PRIMITIVE_VISUAL_BEVEL_PERCENTAGE;
845 public static readonly int BevelSmoothness = NDalic.PRIMITIVE_VISUAL_BEVEL_SMOOTHNESS;
846 public static readonly int LightPosition = NDalic.PRIMITIVE_VISUAL_LIGHT_POSITION;
850 /// This specifies properties of TextVisual.
852 public struct TextVisualProperty
854 public static readonly int Text = NDalic.TEXT_VISUAL_TEXT;
855 public static readonly int FontFamily = NDalic.TEXT_VISUAL_FONT_FAMILY;
856 public static readonly int FontStyle = NDalic.TEXT_VISUAL_FONT_STYLE;
857 public static readonly int PointSize = NDalic.TEXT_VISUAL_POINT_SIZE;
858 public static readonly int MultiLine = NDalic.TEXT_VISUAL_MULTI_LINE;
859 public static readonly int HorizontalAlignment = NDalic.TEXT_VISUAL_HORIZONTAL_ALIGNMENT;
860 public static readonly int VerticalAlignment = NDalic.TEXT_VISUAL_VERTICAL_ALIGNMENT;
861 public static readonly int TextColor = NDalic.TEXT_VISUAL_TEXT_COLOR;
862 public static readonly int EnableMarkup = NDalic.TEXT_VISUAL_ENABLE_MARKUP;
866 /// This specifies properties of NpatchImageVisual.
868 public struct NpatchImageVisualProperty
870 public static readonly int URL = NDalic.IMAGE_VISUAL_URL;
871 public static readonly int FittingMode = NDalic.IMAGE_VISUAL_FITTING_MODE;
872 public static readonly int SamplingMode = NDalic.IMAGE_VISUAL_SAMPLING_MODE;
873 public static readonly int DesiredWidth = NDalic.IMAGE_VISUAL_DESIRED_WIDTH;
874 public static readonly int DesiredHeight = NDalic.IMAGE_VISUAL_DESIRED_HEIGHT;
875 public static readonly int SynchronousLoading = NDalic.IMAGE_VISUAL_SYNCHRONOUS_LOADING;
876 public static readonly int BorderOnly = NDalic.IMAGE_VISUAL_BORDER_ONLY;
877 public static readonly int PixelArea = NDalic.IMAGE_VISUAL_PIXEL_AREA;
878 public static readonly int WrapModeU = NDalic.IMAGE_VISUAL_WRAP_MODE_U;
879 public static readonly int WrapModeV = NDalic.IMAGE_VISUAL_WRAP_MODE_V;
880 public static readonly int Border = NDalic.IMAGE_VISUAL_WRAP_MODE_V + 1;
884 /// ParentOrigin constants.
886 public struct ParentOrigin
888 public static float Top
892 float ret = NDalicPINVOKE.ParentOriginTop_get();
893 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
897 public static float Bottom
901 float ret = NDalicPINVOKE.ParentOriginBottom_get();
902 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
906 public static float Left
910 float ret = NDalicPINVOKE.ParentOriginLeft_get();
911 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
915 public static float Right
919 float ret = NDalicPINVOKE.ParentOriginRight_get();
920 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
924 public static float Middle
928 float ret = NDalicPINVOKE.ParentOriginMiddle_get();
929 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
933 public static Position TopLeft
937 global::System.IntPtr cPtr = NDalicPINVOKE.ParentOriginTopLeft_get();
938 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
939 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
943 public static Position TopCenter
947 global::System.IntPtr cPtr = NDalicPINVOKE.ParentOriginTopCenter_get();
948 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
949 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
953 public static Position TopRight
957 global::System.IntPtr cPtr = NDalicPINVOKE.ParentOriginTopRight_get();
958 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
959 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
963 public static Position CenterLeft
967 global::System.IntPtr cPtr = NDalicPINVOKE.ParentOriginCenterLeft_get();
968 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
969 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
973 public static Position Center
977 global::System.IntPtr cPtr = NDalicPINVOKE.ParentOriginCenter_get();
978 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
979 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
983 public static Position CenterRight
987 global::System.IntPtr cPtr = NDalicPINVOKE.ParentOriginCenterRight_get();
988 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
989 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
993 public static Position BottomLeft
997 global::System.IntPtr cPtr = NDalicPINVOKE.ParentOriginBottomLeft_get();
998 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
999 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1003 public static Position BottomCenter
1007 global::System.IntPtr cPtr = NDalicPINVOKE.ParentOriginBottomCenter_get();
1008 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1009 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1013 public static Position BottomRight
1017 global::System.IntPtr cPtr = NDalicPINVOKE.ParentOriginBottomRight_get();
1018 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1019 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1026 /// AnchorPoint constants.
1028 public struct AnchorPoint
1030 public static float Top
1034 float ret = NDalicPINVOKE.AnchorPointTop_get();
1035 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1039 public static float Bottom
1043 float ret = NDalicPINVOKE.AnchorPointBottom_get();
1044 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1048 public static float Left
1052 float ret = NDalicPINVOKE.AnchorPointLeft_get();
1053 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1057 public static float Right
1061 float ret = NDalicPINVOKE.AnchorPointRight_get();
1062 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1066 public static float Middle
1070 float ret = NDalicPINVOKE.AnchorPointMiddle_get();
1071 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1075 public static Position TopLeft
1079 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointTopLeft_get();
1080 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1081 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1085 public static Position TopCenter
1089 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointTopCenter_get();
1090 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1091 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1095 public static Position TopRight
1099 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointTopRight_get();
1100 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1101 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1105 public static Position CenterLeft
1109 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointCenterLeft_get();
1110 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1111 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1115 public static Position Center
1119 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointCenter_get();
1120 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1121 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1125 public static Position CenterRight
1129 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointCenterRight_get();
1130 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1131 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1135 public static Position BottomLeft
1139 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointBottomLeft_get();
1140 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1141 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1145 public static Position BottomCenter
1149 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointBottomCenter_get();
1150 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1151 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1155 public static Position BottomRight
1159 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointBottomRight_get();
1160 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1161 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1167 /// PositionAxis constants.
1169 public struct PositionAxis
1171 public static Position X
1175 global::System.IntPtr cPtr = NDalicPINVOKE.Vector3_XAXIS_get();
1176 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1177 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1181 public static Position Y
1185 global::System.IntPtr cPtr = NDalicPINVOKE.Vector3_YAXIS_get();
1186 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1187 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1191 public static Position Z
1195 global::System.IntPtr cPtr = NDalicPINVOKE.Vector3_ZAXIS_get();
1196 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1197 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1201 public static Position NegativeX
1205 global::System.IntPtr cPtr = NDalicPINVOKE.Vector3_NEGATIVE_XAXIS_get();
1206 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1207 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1211 public static Position NegativeY
1215 global::System.IntPtr cPtr = NDalicPINVOKE.Vector3_NEGATIVE_YAXIS_get();
1216 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1217 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1221 public static Position NegativeZ
1225 global::System.IntPtr cPtr = NDalicPINVOKE.Vector3_NEGATIVE_ZAXIS_get();
1226 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1227 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1234 /// Auto scrolling stop behaviour.
1236 public enum AutoScrollStopMode
1239 /// Stop animation after current loop finished.
1243 /// Stop animation immediatly and reset position.
1249 /// An enum of screen mode.
1251 public enum ScreenMode {
1253 /// The mode which turns the screen off after a timeout.
1257 /// The mode which keeps the screen turned on.
1263 /// An enum of notification window's priority level.
1265 public enum NotificationLevel {
1267 /// No notification level.<br>
1268 /// Default level.<br>
1269 /// This value makes the notification window place in the layer of the normal window.
1273 /// Base nofitication level.
1277 /// Medium notification level than base.
1281 /// Higher notification level than medium.
1285 /// The highest notification level.
1291 /// An enum of Window types.
1293 public enum WindowType {
1295 /// A default window type.<br>
1296 /// Indicates a normal, top-level window.
1297 /// Almost every window will be created with this type.
1301 /// A notification window, like a warning about battery life or a new E-Mail received.
1305 /// A persistent utility window, like a toolbox or palette.
1309 /// Used for simple dialog windows.