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).
164 /// This Actor will clip all children within a screen-aligned rectangle encompassing its boundaries (the actor will also be visible itself).
170 /// Enumeration for type determination of how camera operates.
172 public enum CameraType
175 /// Camera orientation is taken from CameraActor.
179 /// Camera is oriented to always look at a target.
185 /// Enumeration for projection modes.
187 public enum ProjectionMode
190 /// Distance causes foreshortening; objects further from the camera appear smaller.
192 PerspectiveProjection,
194 /// Relative distance from the camera does not affect the size of objects.
196 OrthographicProjection
200 /// This specifies ccustomView behaviour types.
202 public enum CustomViewBehaviour
205 /// Use to provide default behaviour (size negotiation is on, event callbacks are not called)
207 ViewBehaviourDefault = 0,
209 /// True if control does not need size negotiation, i.e. it can be skipped in the algorithm
211 DisableSizeNegotiation = 1 << 0,
213 /// Use to provide key navigation support.
215 RequiresKeyboardNavigationSupport = 1 << 5,
217 /// Use to make style change event disabled.
219 DisableStyleChangeSignals = 1 << 6,
220 [EditorBrowsable(EditorBrowsableState.Never)]
221 LastViewBehaviourFlag
224 public enum DeviceClassType
237 /// This specifies all the property types. <br>
238 /// Enumeration for the property types supported.
240 public enum PropertyType
259 /// a vector array of size=2 with float precision
263 /// a vector array of size=3 with float precision
267 /// a vector array of size=4 with float precision
279 /// an integer array of size=4
283 /// either a quaternion or an axis angle rotation
291 /// an array of PropertyValue
295 /// a string key to PropertyValue mapping
301 /// This specifies the property access mode types. <br>
302 /// Enumeration for the access mode for custom properties.
304 public enum PropertyAccessMode
307 /// if the property is read-only
311 /// If the property is read/writeable
315 /// If the property can be animated or constrained
319 /// The number of access modes
325 /// Types of style change. Enumeration for StyleChange type.
327 public enum StyleChangeType
330 /// Denotes that the default font has changed.
334 /// Denotes that the default font size has changed.
336 DefaultFontSizeChange,
338 /// Denotes that the theme has changed.
344 /// Enumeration for horizontal alignment types.
346 public enum HorizontalAlignmentType
349 /// Align horizontally left
353 /// Align horizontally center
357 /// Align horizontally right
363 /// Enumeration for vertical alignment types.
365 public enum VerticalAlignmentType
368 /// Align vertically top
372 /// Align vertically center
376 /// Align vertically bottom
382 /// Enumeration for point state type.
384 public enum PointStateType
387 /// Touch or hover started
391 /// Touch or hover finished
403 /// Finger dragged or hovered
407 /// Leave the boundary of an actor
411 /// No change from last event. <br>
412 /// 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.
416 /// A system event has occurred which has interrupted the touch or hover event sequence.
422 /// Enumeration for the text horizontal aligning.
424 public enum HorizontalAlignment
427 /// Texts place at the begin of horizontal direction.
431 /// Texts place at the center of horizontal direction.
435 /// Texts place at the end of horizontal direction.
441 /// Enumeration for the text horizontal aligning.
443 public enum VerticalAlignment
446 /// Texts place at the top of vertical direction.
450 /// Texts place at the center of vertical direction.
454 /// Texts place at the bottom of vertical direction.
460 /// This specifies wrap mode types <br>
461 /// 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.
463 public enum WrapModeType
484 /// The type of coordinate system for certain attributes of the points in a gradient.
486 public enum GradientVisualUnitsType
489 /// 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).
493 /// 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).
499 /// This specifies SpreadMethod types.<br>
500 /// SpreadMethod defines what happens if the gradient starts or ends inside the bounds of the target rectangle.<br>
502 public enum GradientVisualSpreadMethodType
505 /// Uses the terminal colors of the gradient to fill the remainder of the quad.
509 /// Reflect the gradient pattern start-to-end, end-to-start, start-to-end etc. until the quad is filled.
513 /// Repeat the gradient pattern start-to-end, start-to-end, start-to-end etc. until the quad is filled.
519 /// The shading mode used by MeshVisual.
521 public enum MeshVisualShadingModeValue
524 /// *Simplest*. One color that is lit by ambient and diffuse lighting.
526 TexturelessWithDiffuseLighting,
528 /// Uses only the visual image textures provided with specular lighting in addition to ambient and diffuse lighting.
530 TexturedWithSpecularLighting,
532 /// Uses all textures provided including a gloss, normal and texture map along with specular, ambient and diffuse lighting.
534 TexturedWithDetailedSpecularLighting
538 /// The primitive shape to render as a PrimitiveVisual.
540 public enum PrimitiveVisualShapeType
543 /// A perfectly round geometrical object in three-dimensional space.
547 /// The area bound between two circles, i.e. a cone with the tip removed.
551 /// Equivalent to a conical frustrum with top radius of zero.
552 /// </summary>Equivalent to a conical frustrum with top radius of zero.
555 /// Equivalent to a conical frustrum with top radius of zero.
559 /// Equivalent to a conical frustrum with equal radii for the top and bottom circles.
563 /// Equivalent to a bevelled cube with a bevel percentage of zero.
567 /// Equivalent to a bevelled cube with a bevel percentage of one.
573 /// This specifies fitting mode types. Fitting options, used when resizing images to fit desired dimensions.<br>
574 /// A fitting mode controls the region of a loaded image to be mapped to the desired image rectangle.<br>
575 /// All fitting modes preserve the aspect ratio of the image contents.<br>
577 public enum FittingModeType
580 /// Full-screen image display: Limit loaded image resolution to device resolution using ShrinkToFit mode.
584 /// Thumbnail gallery grid: Limit loaded image resolution to screen tile using ScaleToFill mode.
588 /// Image columns: Limit loaded image resolution to column width using FitWidth mode.
592 /// Image rows: Limit loaded image resolution to row height using FitHeight mode.
598 /// This specifies sampling mode types. Filtering options, used when resizing images to sample original pixels.<br>
599 /// 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>
600 /// NoFilter and Box modes do not guarantee that the output pixel array exactly matches the rectangle specified by the desired dimensions and FittingMode,<br>
601 /// but all other filter modes do if the desired dimensions are `<=` the raw dimensions of the input image file.<br>
603 public enum SamplingModeType
606 /// Iteratively box filter to generate an image of 1/2, 1/4, 1/8, etc width and height and approximately the desired size. <br>
607 /// This is the default.
611 /// For each output pixel, read one input pixel.
615 /// For each output pixel, read a quad of four input pixels and write a weighted average of them.
619 /// Iteratively box filter to generate an image of 1/2, 1/4, 1/8 etc width and height and approximately the desired size, <br>
620 /// then for each output pixel, read one pixel from the last level of box filtering.<br>
624 /// 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.
628 /// 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.
632 /// For caching algorithms where a client strongly prefers a cache-hit to reuse a cached image.
638 /// This specifies policy types that could be used by the transform for the offset or size.
640 public enum VisualTransformPolicyType
643 /// Relative to the control (percentage [0.0f to 1.0f] of the control).
647 /// Absolute value in world units.
653 /// This specifies all the transform property types.
655 public enum VisualTransformPropertyType
658 /// Offset of the visual, which can be either relative (percentage [0.0f to 1.0f] of the parent) or absolute (in world units).
662 /// Size of the visual, which can be either relative (percentage [0.0f to 1.0f] of the parent) or absolute (in world units).
666 /// The origin of the visual within its control area.
670 /// The anchor-point of the visual
674 /// Whether the x or y OFFSET values are relative (percentage [0.0f to 1.0f] of the control) or absolute (in world units).
678 /// Whether the width or height SIZE values are relative (percentage [0.0f to 1.0f] of the control) or absolute (in world units).
684 /// This specifies visual types.
689 /// The index for the visual type.
694 /// Renders a solid color as an internal border to the control's quad.
698 /// Renders a solid color to the control's quad.
702 /// Renders a smooth transition of colors to the control's quad.
706 /// Renders an image into the control's quad.
710 /// Renders a mesh using an "obj" file, optionally with textures provided by an "mtl" file.
714 /// Renders a simple 3D shape, such as a cube or sphere.
718 /// Renders a simple wire-frame outlining a quad.
726 /// Renders an n-patch image.
730 /// Renders an SVG image.
734 /// Renders a animated image. (Animated GIF)
740 /// This specifies visual properties.
742 public struct Property
744 public static readonly int Type = NDalic.VISUAL_PROPERTY_TYPE;
745 public static readonly int Shader = NDalic.VISUAL_PROPERTY_SHADER;
746 public static readonly int Transform = NDalic.VISUAL_PROPERTY_TRANSFORM;
747 public static readonly int PremultipliedAlpha = NDalic.VISUAL_PROPERTY_PREMULTIPLIED_ALPHA;
748 public static readonly int MixColor = NDalic.VISUAL_PROPERTY_MIX_COLOR;
749 public static readonly int Opacity = NDalic.VISUAL_PROPERTY_MIX_COLOR + 1;
753 /// This specifies shader properties.
755 public struct ShaderProperty
757 public static readonly int VertexShader = NDalic.VISUAL_SHADER_VERTEX;
758 public static readonly int FragmentShader = NDalic.VISUAL_SHADER_FRAGMENT;
759 public static readonly int ShaderSubdivideGridX = NDalic.VISUAL_SHADER_SUBDIVIDE_GRID_X;
760 public static readonly int ShaderSubdivideGridY = NDalic.VISUAL_SHADER_SUBDIVIDE_GRID_Y;
761 public static readonly int ShaderHints = NDalic.VISUAL_SHADER_HINTS;
765 /// This specifies Visaul align types.
767 public enum AlignType
782 /// This specifies properties of BorderVisual.
784 public struct BorderVisualProperty
786 public static readonly int Color = NDalic.BORDER_VISUAL_COLOR;
787 public static readonly int Size = NDalic.BORDER_VISUAL_SIZE;
788 public static readonly int AntiAliasing = NDalic.BORDER_VISUAL_ANTI_ALIASING;
792 /// This specifies properties of ColorVisual.
794 public struct ColorVisualProperty
796 public static readonly int MixColor = NDalic.COLOR_VISUAL_MIX_COLOR;
800 /// This specifies properties of GradientVisual.
802 public struct GradientVisualProperty
804 public static readonly int StartPosition = NDalic.GRADIENT_VISUAL_START_POSITION;
805 public static readonly int EndPosition = NDalic.GRADIENT_VISUAL_END_POSITION;
806 public static readonly int Center = NDalic.GRADIENT_VISUAL_CENTER;
807 public static readonly int Radius = NDalic.GRADIENT_VISUAL_RADIUS;
808 public static readonly int StopOffset = NDalic.GRADIENT_VISUAL_STOP_OFFSET;
809 public static readonly int StopColor = NDalic.GRADIENT_VISUAL_STOP_COLOR;
810 public static readonly int Units = NDalic.GRADIENT_VISUAL_UNITS;
811 public static readonly int SpreadMethod = NDalic.GRADIENT_VISUAL_SPREAD_METHOD;
815 /// This specifies properties of ImageVisual.
817 public struct ImageVisualProperty
819 public static readonly int URL = NDalic.IMAGE_VISUAL_URL;
820 public static readonly int AlphaMaskURL = NDalic.IMAGE_VISUAL_ALPHA_MASK_URL;
821 public static readonly int FittingMode = NDalic.IMAGE_VISUAL_FITTING_MODE;
822 public static readonly int SamplingMode = NDalic.IMAGE_VISUAL_SAMPLING_MODE;
823 public static readonly int DesiredWidth = NDalic.IMAGE_VISUAL_DESIRED_WIDTH;
824 public static readonly int DesiredHeight = NDalic.IMAGE_VISUAL_DESIRED_HEIGHT;
825 public static readonly int SynchronousLoading = NDalic.IMAGE_VISUAL_SYNCHRONOUS_LOADING;
826 public static readonly int BorderOnly = NDalic.IMAGE_VISUAL_BORDER_ONLY;
827 public static readonly int PixelArea = NDalic.IMAGE_VISUAL_PIXEL_AREA;
828 public static readonly int WrapModeU = NDalic.IMAGE_VISUAL_WRAP_MODE_U;
829 public static readonly int WrapModeV = NDalic.IMAGE_VISUAL_WRAP_MODE_V;
830 public static readonly int Border = NDalic.IMAGE_VISUAL_BORDER;
831 public static readonly int MaskContentScale = NDalic.IMAGE_VISUAL_MASK_CONTENT_SCALE;
832 public static readonly int CropToMask = NDalic.IMAGE_VISUAL_CROP_TO_MASK;
833 public static readonly int BatchSize = NDalic.IMAGE_VISUAL_BATCH_SIZE;
834 public static readonly int CacheSize = NDalic.IMAGE_VISUAL_CACHE_SIZE;
835 public static readonly int FrameDelay = NDalic.IMAGE_VISUAL_FRAME_DELAY;
840 /// This specifies properties of MeshVisual.
842 public struct MeshVisualProperty
844 public static readonly int ObjectURL = NDalic.MESH_VISUAL_OBJECT_URL;
845 public static readonly int MaterialtURL = NDalic.MESH_VISUAL_MATERIAL_URL;
846 public static readonly int TexturesPath = NDalic.MESH_VISUAL_TEXTURES_PATH;
847 public static readonly int ShadingMode = NDalic.MESH_VISUAL_SHADING_MODE;
848 public static readonly int UseMipmapping = NDalic.MESH_VISUAL_USE_MIPMAPPING;
849 public static readonly int UseSoftNormals = NDalic.MESH_VISUAL_USE_SOFT_NORMALS;
850 public static readonly int LightPosition = NDalic.MESH_VISUAL_LIGHT_POSITION;
854 /// This specifies properties of PrimitiveVisual.
856 public struct PrimitiveVisualProperty
858 public static readonly int Shape = NDalic.PRIMITIVE_VISUAL_SHAPE;
859 public static readonly int MixColor = NDalic.PRIMITIVE_VISUAL_MIX_COLOR;
860 public static readonly int Slices = NDalic.PRIMITIVE_VISUAL_SLICES;
861 public static readonly int Stacks = NDalic.PRIMITIVE_VISUAL_STACKS;
862 public static readonly int ScaleTopRadius = NDalic.PRIMITIVE_VISUAL_SCALE_TOP_RADIUS;
863 public static readonly int ScaleBottomRadius = NDalic.PRIMITIVE_VISUAL_SCALE_BOTTOM_RADIUS;
864 public static readonly int ScaleHeight = NDalic.PRIMITIVE_VISUAL_SCALE_HEIGHT;
865 public static readonly int ScaleRadius = NDalic.PRIMITIVE_VISUAL_SCALE_RADIUS;
866 public static readonly int ScaleDimensions = NDalic.PRIMITIVE_VISUAL_SCALE_DIMENSIONS;
867 public static readonly int BevelPercentage = NDalic.PRIMITIVE_VISUAL_BEVEL_PERCENTAGE;
868 public static readonly int BevelSmoothness = NDalic.PRIMITIVE_VISUAL_BEVEL_SMOOTHNESS;
869 public static readonly int LightPosition = NDalic.PRIMITIVE_VISUAL_LIGHT_POSITION;
873 /// This specifies properties of TextVisual.
875 public struct TextVisualProperty
877 public static readonly int Text = NDalic.TEXT_VISUAL_TEXT;
878 public static readonly int FontFamily = NDalic.TEXT_VISUAL_FONT_FAMILY;
879 public static readonly int FontStyle = NDalic.TEXT_VISUAL_FONT_STYLE;
880 public static readonly int PointSize = NDalic.TEXT_VISUAL_POINT_SIZE;
881 public static readonly int MultiLine = NDalic.TEXT_VISUAL_MULTI_LINE;
882 public static readonly int HorizontalAlignment = NDalic.TEXT_VISUAL_HORIZONTAL_ALIGNMENT;
883 public static readonly int VerticalAlignment = NDalic.TEXT_VISUAL_VERTICAL_ALIGNMENT;
884 public static readonly int TextColor = NDalic.TEXT_VISUAL_TEXT_COLOR;
885 public static readonly int EnableMarkup = NDalic.TEXT_VISUAL_ENABLE_MARKUP;
889 /// This specifies properties of NpatchImageVisual.
891 public struct NpatchImageVisualProperty
893 public static readonly int URL = NDalic.IMAGE_VISUAL_URL;
894 public static readonly int FittingMode = NDalic.IMAGE_VISUAL_FITTING_MODE;
895 public static readonly int SamplingMode = NDalic.IMAGE_VISUAL_SAMPLING_MODE;
896 public static readonly int DesiredWidth = NDalic.IMAGE_VISUAL_DESIRED_WIDTH;
897 public static readonly int DesiredHeight = NDalic.IMAGE_VISUAL_DESIRED_HEIGHT;
898 public static readonly int SynchronousLoading = NDalic.IMAGE_VISUAL_SYNCHRONOUS_LOADING;
899 public static readonly int BorderOnly = NDalic.IMAGE_VISUAL_BORDER_ONLY;
900 public static readonly int PixelArea = NDalic.IMAGE_VISUAL_PIXEL_AREA;
901 public static readonly int WrapModeU = NDalic.IMAGE_VISUAL_WRAP_MODE_U;
902 public static readonly int WrapModeV = NDalic.IMAGE_VISUAL_WRAP_MODE_V;
903 public static readonly int Border = NDalic.IMAGE_VISUAL_WRAP_MODE_V + 1;
907 /// HiddenInput Property.
909 public struct HiddenInputProperty
911 public static readonly int Mode = NDalicManualPINVOKE.HIDDENINPUT_PROPERTY_MODE_get();
912 public static readonly int SubstituteCharacter = NDalicManualPINVOKE.HIDDENINPUT_PROPERTY_SUBSTITUTE_CHARACTER_get();
913 public static readonly int SubstituteCount = NDalicManualPINVOKE.HIDDENINPUT_PROPERTY_SUBSTITUTE_COUNT_get();
914 public static readonly int ShowLastCharacterDuration = NDalicManualPINVOKE.HIDDENINPUT_PROPERTY_SHOW_LAST_CHARACTER_DURATION_get();
918 /// The type for HiddenInput mode.
920 public enum HiddenInputModeType
927 /// Hide all the input text.
931 /// Hide n characters from start.
935 /// Show n characters from start.
939 /// Show last character for the duration(use ShowLastCharacterDuration property to modify duration).
945 /// ParentOrigin constants.
947 public struct ParentOrigin
949 public static float Top
953 float ret = NDalicPINVOKE.ParentOriginTop_get();
954 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
958 public static float Bottom
962 float ret = NDalicPINVOKE.ParentOriginBottom_get();
963 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
967 public static float Left
971 float ret = NDalicPINVOKE.ParentOriginLeft_get();
972 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
976 public static float Right
980 float ret = NDalicPINVOKE.ParentOriginRight_get();
981 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
985 public static float Middle
989 float ret = NDalicPINVOKE.ParentOriginMiddle_get();
990 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
994 public static Position TopLeft
998 global::System.IntPtr cPtr = NDalicPINVOKE.ParentOriginTopLeft_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 TopCenter
1008 global::System.IntPtr cPtr = NDalicPINVOKE.ParentOriginTopCenter_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 TopRight
1018 global::System.IntPtr cPtr = NDalicPINVOKE.ParentOriginTopRight_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 CenterLeft
1028 global::System.IntPtr cPtr = NDalicPINVOKE.ParentOriginCenterLeft_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 Center
1038 global::System.IntPtr cPtr = NDalicPINVOKE.ParentOriginCenter_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 CenterRight
1048 global::System.IntPtr cPtr = NDalicPINVOKE.ParentOriginCenterRight_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 BottomLeft
1058 global::System.IntPtr cPtr = NDalicPINVOKE.ParentOriginBottomLeft_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 BottomCenter
1068 global::System.IntPtr cPtr = NDalicPINVOKE.ParentOriginBottomCenter_get();
1069 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1070 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1074 public static Position BottomRight
1078 global::System.IntPtr cPtr = NDalicPINVOKE.ParentOriginBottomRight_get();
1079 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1080 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1087 /// PivotPoint constants.
1089 public struct PivotPoint
1091 public static float Top
1095 float ret = NDalicPINVOKE.AnchorPointTop_get();
1096 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1100 public static float Bottom
1104 float ret = NDalicPINVOKE.AnchorPointBottom_get();
1105 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1109 public static float Left
1113 float ret = NDalicPINVOKE.AnchorPointLeft_get();
1114 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1118 public static float Right
1122 float ret = NDalicPINVOKE.AnchorPointRight_get();
1123 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1127 public static float Middle
1131 float ret = NDalicPINVOKE.AnchorPointMiddle_get();
1132 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1136 public static Position TopLeft
1140 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointTopLeft_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 TopCenter
1150 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointTopCenter_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 TopRight
1160 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointTopRight_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 CenterLeft
1170 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointCenterLeft_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 Center
1180 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointCenter_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 CenterRight
1190 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointCenterRight_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 BottomLeft
1200 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointBottomLeft_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 BottomCenter
1210 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointBottomCenter_get();
1211 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1212 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1216 public static Position BottomRight
1220 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointBottomRight_get();
1221 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1222 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1228 /// PositionAxis constants.
1230 public struct PositionAxis
1232 public static Position X
1236 global::System.IntPtr cPtr = NDalicPINVOKE.Vector3_XAXIS_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 Y
1246 global::System.IntPtr cPtr = NDalicPINVOKE.Vector3_YAXIS_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 Z
1256 global::System.IntPtr cPtr = NDalicPINVOKE.Vector3_ZAXIS_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 NegativeX
1266 global::System.IntPtr cPtr = NDalicPINVOKE.Vector3_NEGATIVE_XAXIS_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 NegativeY
1276 global::System.IntPtr cPtr = NDalicPINVOKE.Vector3_NEGATIVE_YAXIS_get();
1277 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1278 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1282 public static Position NegativeZ
1286 global::System.IntPtr cPtr = NDalicPINVOKE.Vector3_NEGATIVE_ZAXIS_get();
1287 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1288 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1295 /// Auto scrolling stop behaviour.
1297 public enum AutoScrollStopMode
1300 /// Stop animation after current loop finished.
1304 /// Stop animation immediatly and reset position.
1310 /// An enum of screen mode.
1312 public enum ScreenOffMode {
1314 /// The mode which turns the screen off after a timeout.
1318 /// The mode which keeps the screen turned on.
1324 /// An enum of notification window's priority level.
1326 public enum NotificationLevel {
1328 /// No notification level.<br>
1329 /// Default level.<br>
1330 /// This value makes the notification window place in the layer of the normal window.
1334 /// Base nofitication level.
1338 /// Medium notification level than base.
1342 /// Higher notification level than medium.
1346 /// The highest notification level.
1352 /// An enum of Window types.
1354 public enum WindowType {
1356 /// A default window type.<br>
1357 /// Indicates a normal, top-level window.
1358 /// Almost every window will be created with this type.
1362 /// A notification window, like a warning about battery life or a new E-Mail received.
1366 /// A persistent utility window, like a toolbox or palette.
1370 /// Used for simple dialog windows.
1375 public enum DisposeTypes
1377 Explicit, //Called By User
1378 Implicit, //Called by DisposeQueue
1384 [Obsolete("Please do not use! this will be deprecated")]
1385 public struct AnchorPoint
1387 public static float Top
1391 float ret = NDalicPINVOKE.AnchorPointTop_get();
1392 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1396 public static float Bottom
1400 float ret = NDalicPINVOKE.AnchorPointBottom_get();
1401 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1405 public static float Left
1409 float ret = NDalicPINVOKE.AnchorPointLeft_get();
1410 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1414 public static float Right
1418 float ret = NDalicPINVOKE.AnchorPointRight_get();
1419 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1423 public static float Middle
1427 float ret = NDalicPINVOKE.AnchorPointMiddle_get();
1428 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1432 public static Position TopLeft
1436 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointTopLeft_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 TopCenter
1446 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointTopCenter_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 TopRight
1456 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointTopRight_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 CenterLeft
1466 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointCenterLeft_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 Center
1476 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointCenter_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 CenterRight
1486 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointCenterRight_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 BottomLeft
1496 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointBottomLeft_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 BottomCenter
1506 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointBottomCenter_get();
1507 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1508 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1512 public static Position BottomRight
1516 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointBottomRight_get();
1517 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1518 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1525 /// An enum of scroll state of text eidtor.
1527 public enum ScrollState
1530 /// Scrolling is started.
1535 /// Scrolling is finished.
1541 /// An enum of line wrap mode of text controls.
1543 public enum LineWrapMode
1546 /// Word mode will move word to next line
1551 /// character will move character by character to next line