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 /// Specifies the Release Policy types <br>
485 /// Decides if the image should be cached in different conditions
487 public enum ReleasePolicyType
490 /// Image is released when visual detached from scene
494 /// Image is only released when visual is destroyed
498 /// Image is not released.
504 /// Specifies the Load Policy types <br>
505 /// Decides when the image texture should be loaded
507 public enum LoadPolicyType
510 /// Load texture once the image source has been provided. Even if not being used yet.
514 /// Only load texture once the visual is attached, when the image needs to be shown.
520 /// The type of coordinate system for certain attributes of the points in a gradient.
522 public enum GradientVisualUnitsType
525 /// 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).
529 /// 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).
535 /// This specifies SpreadMethod types.<br>
536 /// SpreadMethod defines what happens if the gradient starts or ends inside the bounds of the target rectangle.<br>
538 public enum GradientVisualSpreadMethodType
541 /// Uses the terminal colors of the gradient to fill the remainder of the quad.
545 /// Reflect the gradient pattern start-to-end, end-to-start, start-to-end etc. until the quad is filled.
549 /// Repeat the gradient pattern start-to-end, start-to-end, start-to-end etc. until the quad is filled.
555 /// The shading mode used by MeshVisual.
557 public enum MeshVisualShadingModeValue
560 /// *Simplest*. One color that is lit by ambient and diffuse lighting.
562 TexturelessWithDiffuseLighting,
564 /// Uses only the visual image textures provided with specular lighting in addition to ambient and diffuse lighting.
566 TexturedWithSpecularLighting,
568 /// Uses all textures provided including a gloss, normal and texture map along with specular, ambient and diffuse lighting.
570 TexturedWithDetailedSpecularLighting
574 /// The primitive shape to render as a PrimitiveVisual.
576 public enum PrimitiveVisualShapeType
579 /// A perfectly round geometrical object in three-dimensional space.
583 /// The area bound between two circles, i.e. a cone with the tip removed.
587 /// Equivalent to a conical frustrum with top radius of zero.
588 /// </summary>Equivalent to a conical frustrum with top radius of zero.
591 /// Equivalent to a conical frustrum with top radius of zero.
595 /// Equivalent to a conical frustrum with equal radii for the top and bottom circles.
599 /// Equivalent to a bevelled cube with a bevel percentage of zero.
603 /// Equivalent to a bevelled cube with a bevel percentage of one.
609 /// This specifies fitting mode types. Fitting options, used when resizing images to fit desired dimensions.<br>
610 /// A fitting mode controls the region of a loaded image to be mapped to the desired image rectangle.<br>
611 /// All fitting modes preserve the aspect ratio of the image contents.<br>
613 public enum FittingModeType
616 /// Full-screen image display: Limit loaded image resolution to device resolution using ShrinkToFit mode.
620 /// Thumbnail gallery grid: Limit loaded image resolution to screen tile using ScaleToFill mode.
624 /// Image columns: Limit loaded image resolution to column width using FitWidth mode.
628 /// Image rows: Limit loaded image resolution to row height using FitHeight mode.
634 /// This specifies sampling mode types. Filtering options, used when resizing images to sample original pixels.<br>
635 /// 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>
636 /// NoFilter and Box modes do not guarantee that the output pixel array exactly matches the rectangle specified by the desired dimensions and FittingMode,<br>
637 /// but all other filter modes do if the desired dimensions are `<=` the raw dimensions of the input image file.<br>
639 public enum SamplingModeType
642 /// Iteratively box filter to generate an image of 1/2, 1/4, 1/8, etc width and height and approximately the desired size. <br>
643 /// This is the default.
647 /// For each output pixel, read one input pixel.
651 /// For each output pixel, read a quad of four input pixels and write a weighted average of them.
655 /// Iteratively box filter to generate an image of 1/2, 1/4, 1/8 etc width and height and approximately the desired size, <br>
656 /// then for each output pixel, read one pixel from the last level of box filtering.<br>
660 /// 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.
664 /// 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.
668 /// For caching algorithms where a client strongly prefers a cache-hit to reuse a cached image.
674 /// This specifies policy types that could be used by the transform for the offset or size.
676 public enum VisualTransformPolicyType
679 /// Relative to the control (percentage [0.0f to 1.0f] of the control).
683 /// Absolute value in world units.
689 /// This specifies all the transform property types.
691 public enum VisualTransformPropertyType
694 /// Offset of the visual, which can be either relative (percentage [0.0f to 1.0f] of the parent) or absolute (in world units).
698 /// Size of the visual, which can be either relative (percentage [0.0f to 1.0f] of the parent) or absolute (in world units).
702 /// The origin of the visual within its control area.
706 /// The anchor-point of the visual
710 /// Whether the x or y OFFSET values are relative (percentage [0.0f to 1.0f] of the control) or absolute (in world units).
714 /// Whether the width or height SIZE values are relative (percentage [0.0f to 1.0f] of the control) or absolute (in world units).
720 /// This specifies visual types.
725 /// The index for the visual type.
730 /// Renders a solid color as an internal border to the control's quad.
734 /// Renders a solid color to the control's quad.
738 /// Renders a smooth transition of colors to the control's quad.
742 /// Renders an image into the control's quad.
746 /// Renders a mesh using an "obj" file, optionally with textures provided by an "mtl" file.
750 /// Renders a simple 3D shape, such as a cube or sphere.
754 /// Renders a simple wire-frame outlining a quad.
762 /// Renders an n-patch image.
766 /// Renders an SVG image.
770 /// Renders a animated image. (Animated GIF)
776 /// This specifies visual properties.
778 public struct Property
780 public static readonly int Type = NDalic.VISUAL_PROPERTY_TYPE;
781 public static readonly int Shader = NDalic.VISUAL_PROPERTY_SHADER;
782 public static readonly int Transform = NDalic.VISUAL_PROPERTY_TRANSFORM;
783 public static readonly int PremultipliedAlpha = NDalic.VISUAL_PROPERTY_PREMULTIPLIED_ALPHA;
784 public static readonly int MixColor = NDalic.VISUAL_PROPERTY_MIX_COLOR;
785 public static readonly int Opacity = NDalic.VISUAL_PROPERTY_MIX_COLOR + 1;
789 /// This specifies shader properties.
791 public struct ShaderProperty
793 public static readonly int VertexShader = NDalic.VISUAL_SHADER_VERTEX;
794 public static readonly int FragmentShader = NDalic.VISUAL_SHADER_FRAGMENT;
795 public static readonly int ShaderSubdivideGridX = NDalic.VISUAL_SHADER_SUBDIVIDE_GRID_X;
796 public static readonly int ShaderSubdivideGridY = NDalic.VISUAL_SHADER_SUBDIVIDE_GRID_Y;
797 public static readonly int ShaderHints = NDalic.VISUAL_SHADER_HINTS;
801 /// This specifies Visaul align types.
803 public enum AlignType
818 /// This specifies properties of BorderVisual.
820 public struct BorderVisualProperty
822 public static readonly int Color = NDalic.BORDER_VISUAL_COLOR;
823 public static readonly int Size = NDalic.BORDER_VISUAL_SIZE;
824 public static readonly int AntiAliasing = NDalic.BORDER_VISUAL_ANTI_ALIASING;
828 /// This specifies properties of ColorVisual.
830 public struct ColorVisualProperty
832 public static readonly int MixColor = NDalic.COLOR_VISUAL_MIX_COLOR;
836 /// This specifies properties of GradientVisual.
838 public struct GradientVisualProperty
840 public static readonly int StartPosition = NDalic.GRADIENT_VISUAL_START_POSITION;
841 public static readonly int EndPosition = NDalic.GRADIENT_VISUAL_END_POSITION;
842 public static readonly int Center = NDalic.GRADIENT_VISUAL_CENTER;
843 public static readonly int Radius = NDalic.GRADIENT_VISUAL_RADIUS;
844 public static readonly int StopOffset = NDalic.GRADIENT_VISUAL_STOP_OFFSET;
845 public static readonly int StopColor = NDalic.GRADIENT_VISUAL_STOP_COLOR;
846 public static readonly int Units = NDalic.GRADIENT_VISUAL_UNITS;
847 public static readonly int SpreadMethod = NDalic.GRADIENT_VISUAL_SPREAD_METHOD;
851 /// This specifies properties of ImageVisual.
853 public struct ImageVisualProperty
855 public static readonly int URL = NDalic.IMAGE_VISUAL_URL;
856 public static readonly int AlphaMaskURL = NDalic.IMAGE_VISUAL_ALPHA_MASK_URL;
857 public static readonly int FittingMode = NDalic.IMAGE_VISUAL_FITTING_MODE;
858 public static readonly int SamplingMode = NDalic.IMAGE_VISUAL_SAMPLING_MODE;
859 public static readonly int DesiredWidth = NDalic.IMAGE_VISUAL_DESIRED_WIDTH;
860 public static readonly int DesiredHeight = NDalic.IMAGE_VISUAL_DESIRED_HEIGHT;
861 public static readonly int SynchronousLoading = NDalic.IMAGE_VISUAL_SYNCHRONOUS_LOADING;
862 public static readonly int BorderOnly = NDalic.IMAGE_VISUAL_BORDER_ONLY;
863 public static readonly int PixelArea = NDalic.IMAGE_VISUAL_PIXEL_AREA;
864 public static readonly int WrapModeU = NDalic.IMAGE_VISUAL_WRAP_MODE_U;
865 public static readonly int WrapModeV = NDalic.IMAGE_VISUAL_WRAP_MODE_V;
866 public static readonly int Border = NDalic.IMAGE_VISUAL_BORDER;
867 public static readonly int MaskContentScale = NDalic.IMAGE_VISUAL_MASK_CONTENT_SCALE;
868 public static readonly int CropToMask = NDalic.IMAGE_VISUAL_CROP_TO_MASK;
869 public static readonly int BatchSize = NDalic.IMAGE_VISUAL_BATCH_SIZE;
870 public static readonly int CacheSize = NDalic.IMAGE_VISUAL_CACHE_SIZE;
871 public static readonly int FrameDelay = NDalic.IMAGE_VISUAL_FRAME_DELAY;
872 public static readonly int ReleasePolicy = NDalic.IMAGE_VISUAL_RELEASE_POLICY;
873 public static readonly int LoadPolicy = NDalic.IMAGE_VISUAL_LOAD_POLICY;
874 public static readonly int OrientationCorrection = NDalic.IMAGE_VISUAL_ORIENTATION_CORRECTION;
878 /// This specifies properties of MeshVisual.
880 public struct MeshVisualProperty
882 public static readonly int ObjectURL = NDalic.MESH_VISUAL_OBJECT_URL;
883 public static readonly int MaterialtURL = NDalic.MESH_VISUAL_MATERIAL_URL;
884 public static readonly int TexturesPath = NDalic.MESH_VISUAL_TEXTURES_PATH;
885 public static readonly int ShadingMode = NDalic.MESH_VISUAL_SHADING_MODE;
886 public static readonly int UseMipmapping = NDalic.MESH_VISUAL_USE_MIPMAPPING;
887 public static readonly int UseSoftNormals = NDalic.MESH_VISUAL_USE_SOFT_NORMALS;
888 public static readonly int LightPosition = NDalic.MESH_VISUAL_LIGHT_POSITION;
892 /// This specifies properties of PrimitiveVisual.
894 public struct PrimitiveVisualProperty
896 public static readonly int Shape = NDalic.PRIMITIVE_VISUAL_SHAPE;
897 public static readonly int MixColor = NDalic.PRIMITIVE_VISUAL_MIX_COLOR;
898 public static readonly int Slices = NDalic.PRIMITIVE_VISUAL_SLICES;
899 public static readonly int Stacks = NDalic.PRIMITIVE_VISUAL_STACKS;
900 public static readonly int ScaleTopRadius = NDalic.PRIMITIVE_VISUAL_SCALE_TOP_RADIUS;
901 public static readonly int ScaleBottomRadius = NDalic.PRIMITIVE_VISUAL_SCALE_BOTTOM_RADIUS;
902 public static readonly int ScaleHeight = NDalic.PRIMITIVE_VISUAL_SCALE_HEIGHT;
903 public static readonly int ScaleRadius = NDalic.PRIMITIVE_VISUAL_SCALE_RADIUS;
904 public static readonly int ScaleDimensions = NDalic.PRIMITIVE_VISUAL_SCALE_DIMENSIONS;
905 public static readonly int BevelPercentage = NDalic.PRIMITIVE_VISUAL_BEVEL_PERCENTAGE;
906 public static readonly int BevelSmoothness = NDalic.PRIMITIVE_VISUAL_BEVEL_SMOOTHNESS;
907 public static readonly int LightPosition = NDalic.PRIMITIVE_VISUAL_LIGHT_POSITION;
911 /// This specifies properties of TextVisual.
913 public struct TextVisualProperty
915 public static readonly int Text = NDalic.TEXT_VISUAL_TEXT;
916 public static readonly int FontFamily = NDalic.TEXT_VISUAL_FONT_FAMILY;
917 public static readonly int FontStyle = NDalic.TEXT_VISUAL_FONT_STYLE;
918 public static readonly int PointSize = NDalic.TEXT_VISUAL_POINT_SIZE;
919 public static readonly int MultiLine = NDalic.TEXT_VISUAL_MULTI_LINE;
920 public static readonly int HorizontalAlignment = NDalic.TEXT_VISUAL_HORIZONTAL_ALIGNMENT;
921 public static readonly int VerticalAlignment = NDalic.TEXT_VISUAL_VERTICAL_ALIGNMENT;
922 public static readonly int TextColor = NDalic.TEXT_VISUAL_TEXT_COLOR;
923 public static readonly int EnableMarkup = NDalic.TEXT_VISUAL_ENABLE_MARKUP;
927 /// This specifies properties of NpatchImageVisual.
929 public struct NpatchImageVisualProperty
931 public static readonly int URL = NDalic.IMAGE_VISUAL_URL;
932 public static readonly int FittingMode = NDalic.IMAGE_VISUAL_FITTING_MODE;
933 public static readonly int SamplingMode = NDalic.IMAGE_VISUAL_SAMPLING_MODE;
934 public static readonly int DesiredWidth = NDalic.IMAGE_VISUAL_DESIRED_WIDTH;
935 public static readonly int DesiredHeight = NDalic.IMAGE_VISUAL_DESIRED_HEIGHT;
936 public static readonly int SynchronousLoading = NDalic.IMAGE_VISUAL_SYNCHRONOUS_LOADING;
937 public static readonly int BorderOnly = NDalic.IMAGE_VISUAL_BORDER_ONLY;
938 public static readonly int PixelArea = NDalic.IMAGE_VISUAL_PIXEL_AREA;
939 public static readonly int WrapModeU = NDalic.IMAGE_VISUAL_WRAP_MODE_U;
940 public static readonly int WrapModeV = NDalic.IMAGE_VISUAL_WRAP_MODE_V;
941 public static readonly int Border = NDalic.IMAGE_VISUAL_WRAP_MODE_V + 1;
945 /// HiddenInput Property.
947 public struct HiddenInputProperty
949 public static readonly int Mode = NDalicManualPINVOKE.HIDDENINPUT_PROPERTY_MODE_get();
950 public static readonly int SubstituteCharacter = NDalicManualPINVOKE.HIDDENINPUT_PROPERTY_SUBSTITUTE_CHARACTER_get();
951 public static readonly int SubstituteCount = NDalicManualPINVOKE.HIDDENINPUT_PROPERTY_SUBSTITUTE_COUNT_get();
952 public static readonly int ShowLastCharacterDuration = NDalicManualPINVOKE.HIDDENINPUT_PROPERTY_SHOW_LAST_CHARACTER_DURATION_get();
956 /// The type for HiddenInput mode.
958 public enum HiddenInputModeType
965 /// Hide all the input text.
969 /// Hide n characters from start.
973 /// Show n characters from start.
977 /// Show last character for the duration(use ShowLastCharacterDuration property to modify duration).
983 /// ParentOrigin constants.
985 public struct ParentOrigin
987 public static float Top
991 float ret = NDalicPINVOKE.ParentOriginTop_get();
992 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
996 public static float Bottom
1000 float ret = NDalicPINVOKE.ParentOriginBottom_get();
1001 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1005 public static float Left
1009 float ret = NDalicPINVOKE.ParentOriginLeft_get();
1010 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1014 public static float Right
1018 float ret = NDalicPINVOKE.ParentOriginRight_get();
1019 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1023 public static float Middle
1027 float ret = NDalicPINVOKE.ParentOriginMiddle_get();
1028 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1032 public static Position TopLeft
1036 global::System.IntPtr cPtr = NDalicPINVOKE.ParentOriginTopLeft_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 TopCenter
1046 global::System.IntPtr cPtr = NDalicPINVOKE.ParentOriginTopCenter_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 TopRight
1056 global::System.IntPtr cPtr = NDalicPINVOKE.ParentOriginTopRight_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 CenterLeft
1066 global::System.IntPtr cPtr = NDalicPINVOKE.ParentOriginCenterLeft_get();
1067 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1068 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1072 public static Position Center
1076 global::System.IntPtr cPtr = NDalicPINVOKE.ParentOriginCenter_get();
1077 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1078 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1082 public static Position CenterRight
1086 global::System.IntPtr cPtr = NDalicPINVOKE.ParentOriginCenterRight_get();
1087 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1088 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1092 public static Position BottomLeft
1096 global::System.IntPtr cPtr = NDalicPINVOKE.ParentOriginBottomLeft_get();
1097 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1098 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1102 public static Position BottomCenter
1106 global::System.IntPtr cPtr = NDalicPINVOKE.ParentOriginBottomCenter_get();
1107 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1108 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1112 public static Position BottomRight
1116 global::System.IntPtr cPtr = NDalicPINVOKE.ParentOriginBottomRight_get();
1117 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1118 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1125 /// PivotPoint constants.
1127 public struct PivotPoint
1129 public static float Top
1133 float ret = NDalicPINVOKE.AnchorPointTop_get();
1134 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1138 public static float Bottom
1142 float ret = NDalicPINVOKE.AnchorPointBottom_get();
1143 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1147 public static float Left
1151 float ret = NDalicPINVOKE.AnchorPointLeft_get();
1152 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1156 public static float Right
1160 float ret = NDalicPINVOKE.AnchorPointRight_get();
1161 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1165 public static float Middle
1169 float ret = NDalicPINVOKE.AnchorPointMiddle_get();
1170 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1174 public static Position TopLeft
1178 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointTopLeft_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 TopCenter
1188 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointTopCenter_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 TopRight
1198 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointTopRight_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 CenterLeft
1208 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointCenterLeft_get();
1209 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1210 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1214 public static Position Center
1218 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointCenter_get();
1219 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1220 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1224 public static Position CenterRight
1228 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointCenterRight_get();
1229 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1230 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1234 public static Position BottomLeft
1238 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointBottomLeft_get();
1239 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1240 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1244 public static Position BottomCenter
1248 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointBottomCenter_get();
1249 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1250 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1254 public static Position BottomRight
1258 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointBottomRight_get();
1259 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1260 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1266 /// PositionAxis constants.
1268 public struct PositionAxis
1270 public static Position X
1274 global::System.IntPtr cPtr = NDalicPINVOKE.Vector3_XAXIS_get();
1275 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1276 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1280 public static Position Y
1284 global::System.IntPtr cPtr = NDalicPINVOKE.Vector3_YAXIS_get();
1285 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1286 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1290 public static Position Z
1294 global::System.IntPtr cPtr = NDalicPINVOKE.Vector3_ZAXIS_get();
1295 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1296 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1300 public static Position NegativeX
1304 global::System.IntPtr cPtr = NDalicPINVOKE.Vector3_NEGATIVE_XAXIS_get();
1305 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1306 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1310 public static Position NegativeY
1314 global::System.IntPtr cPtr = NDalicPINVOKE.Vector3_NEGATIVE_YAXIS_get();
1315 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1316 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1320 public static Position NegativeZ
1324 global::System.IntPtr cPtr = NDalicPINVOKE.Vector3_NEGATIVE_ZAXIS_get();
1325 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1326 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1333 /// Auto scrolling stop behaviour.
1335 public enum AutoScrollStopMode
1338 /// Stop animation after current loop finished.
1342 /// Stop animation immediatly and reset position.
1348 /// An enum of screen mode.
1350 public enum ScreenOffMode {
1352 /// The mode which turns the screen off after a timeout.
1356 /// The mode which keeps the screen turned on.
1362 /// An enum of notification window's priority level.
1364 public enum NotificationLevel {
1366 /// No notification level.<br>
1367 /// Default level.<br>
1368 /// This value makes the notification window place in the layer of the normal window.
1372 /// Base nofitication level.
1376 /// Medium notification level than base.
1380 /// Higher notification level than medium.
1384 /// The highest notification level.
1390 /// An enum of Window types.
1392 public enum WindowType {
1394 /// A default window type.<br>
1395 /// Indicates a normal, top-level window.
1396 /// Almost every window will be created with this type.
1400 /// A notification window, like a warning about battery life or a new E-Mail received.
1404 /// A persistent utility window, like a toolbox or palette.
1408 /// Used for simple dialog windows.
1413 public enum DisposeTypes
1415 Explicit, //Called By User
1416 Implicit, //Called by DisposeQueue
1422 [Obsolete("Please do not use! this will be deprecated")]
1423 public struct AnchorPoint
1425 public static float Top
1429 float ret = NDalicPINVOKE.AnchorPointTop_get();
1430 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1434 public static float Bottom
1438 float ret = NDalicPINVOKE.AnchorPointBottom_get();
1439 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1443 public static float Left
1447 float ret = NDalicPINVOKE.AnchorPointLeft_get();
1448 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1452 public static float Right
1456 float ret = NDalicPINVOKE.AnchorPointRight_get();
1457 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1461 public static float Middle
1465 float ret = NDalicPINVOKE.AnchorPointMiddle_get();
1466 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1470 public static Position TopLeft
1474 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointTopLeft_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 TopCenter
1484 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointTopCenter_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 TopRight
1494 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointTopRight_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 CenterLeft
1504 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointCenterLeft_get();
1505 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1506 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1510 public static Position Center
1514 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointCenter_get();
1515 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1516 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1520 public static Position CenterRight
1524 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointCenterRight_get();
1525 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1526 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1530 public static Position BottomLeft
1534 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointBottomLeft_get();
1535 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1536 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1540 public static Position BottomCenter
1544 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointBottomCenter_get();
1545 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1546 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1550 public static Position BottomRight
1554 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointBottomRight_get();
1555 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1556 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1563 /// An enum of scroll state of text eidtor.
1565 public enum ScrollState
1568 /// Scrolling is started.
1573 /// Scrolling is finished.
1579 /// An enum of line wrap mode of text controls.
1581 public enum LineWrapMode
1584 /// Word mode will move word to next line
1589 /// character will move character by character to next line