b24ec1c8443c02c182a97f032e3c0a43e647f45a
[platform/core/csapi/nui.git] / Tizen.NUI / src / public / NUIConstants.cs
1 // Copyright (c) 2017 Samsung Electronics Co., Ltd.
2 //
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
6 //
7 // http://www.apache.org/licenses/LICENSE-2.0
8 //
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
15 using System;
16 using System.ComponentModel;
17
18 namespace Tizen.NUI
19 {
20     public enum ScrollModeType
21     {
22       XAxisScrollEnabled,
23       XAxisSnapToInterval,
24       XAxisScrollBoundary,
25       YAxisScrollEnabled,
26       YAxisSnapToInterval,
27       YAxisScrollBoundary
28     }
29
30     /// <summary>
31     /// This specifies whether the Actor uses its own color, or inherits.
32     /// </summary>
33     public enum ColorMode
34     {
35         /// <summary>
36         /// Actor will use its own color.
37         /// </summary>
38         UseOwnColor,
39          /// <summary>
40         /// Actor will use its parent color.
41         /// </summary>
42         UseParentColor,
43         /// <summary>
44         /// Actor will blend its color with its parents color.
45         /// </summary>
46         UseOwnMultiplyParentColor,
47         /// <summary>
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.
49         /// </summary>
50         UseOwnMultiplyParentAlpha
51     }
52
53     /// <summary>
54     /// This specifies the dimesion of width or heigh for size negotiation.
55     /// </summary>
56     public enum DimensionType
57     {
58         /// <summary>
59         /// Width dimension
60         /// </summary>
61         Width = 0x1,
62         /// <summary>
63         /// Height dimension
64         /// </summary>
65         Height = 0x2,
66         /// <summary>
67         /// Mask to cover all flags
68         /// </summary>
69         AllDimensions = 0x3
70     }
71
72     /// <summary>
73     /// Enumeration for the instance of how the actor and it's children will be drawn.
74     /// </summary>
75     public enum DrawModeType
76     {
77         /// <summary>
78         /// The default draw-mode
79         /// </summary>
80         Normal = 0,
81         /// <summary>
82         /// Draw the actor and its children as an overlay
83         /// </summary>
84         Overlay2D = 1,
85         /// <summary>
86         /// Will be replaced by separate ClippingMode enum. Draw the actor and its children into the stencil buffer
87         /// </summary>
88         Stencil = 3
89     }
90
91     /// <summary>
92     /// Enumeration for size negotiation resize policies.
93     /// </summary>
94     public enum ResizePolicyType
95     {
96         /// <summary>
97         /// Size is fixed as set by SetSize
98         /// </summary>
99         Fixed,
100         /// <summary>
101         /// Size is to use the actor's natural size
102         /// </summary>
103         /// <see cref="View.GetNaturalSize"/>
104         UseNaturalSize,
105         /// <summary>
106         /// Size is to fill up to the actor's parent's bounds. Aspect ratio is not maintained.
107         /// </summary>
108         FillToParent,
109         /// <summary>
110         /// The actors size will be ( ParentSize * SizeRelativeToParentFactor ).
111         /// </summary>
112         SizeRelativeToParent,
113         /// <summary>
114         /// The actors size will be ( ParentSize + SizeRelativeToParentFactor ).
115         /// </summary>
116         SizeFixedOffsetFromParent,
117         /// <summary>
118         /// Size will adjust to wrap around all children
119         /// </summary>
120         FitToChildren,
121         /// <summary>
122         /// One dimension is dependent on the other
123         /// </summary>
124         DimensionDependency,
125         /// <summary>
126         /// The size will be assigned to the actor
127         /// </summary>
128         UseAssignedSize
129     }
130
131     /// <summary>
132     /// Enumeration for policies to determine how an actor should resize itself when having its size set in size negotiation.
133     /// </summary>
134     public enum SizeScalePolicyType
135     {
136         /// <summary>
137         /// Use the size that was set
138         /// </summary>
139         UseSizeSet,
140         /// <summary>
141         /// Fit within the size set maintaining natural size aspect ratio
142         /// </summary>
143         FitWithAspectRatio,
144         /// <summary>
145         /// Fit within the size set maintaining natural size aspect ratio
146         /// </summary>
147         FillWithAspectRatio
148     }
149
150     /// <summary>
151     /// Enumeration for ClippingMode describing how this Actor's children will be clipped against it.
152     /// </summary>
153     public enum ClippingModeType
154     {
155         /// <summary>
156         /// This Actor will not clip its children.
157         /// </summary>
158         Disabled,
159         /// <summary>
160         /// This Actor will clip all children to within its boundaries (the actor will also be visible itself).
161         /// </summary>
162         ClipChildren
163     }
164
165     /// <summary>
166     /// Enumeration for type determination of how camera operates.
167     /// </summary>
168     public enum CameraType
169     {
170         /// <summary>
171         /// Camera orientation is taken from CameraActor.
172         /// </summary>
173         FreeLook,
174         /// <summary>
175         /// Camera is oriented to always look at a target.
176         /// </summary>
177         LookAtTarget
178     }
179
180     /// <summary>
181     /// Enumeration for projection modes.
182     /// </summary>
183     public enum ProjectionMode
184     {
185         /// <summary>
186         /// Distance causes foreshortening; objects further from the camera appear smaller.
187         /// </summary>
188         PerspectiveProjection,
189         /// <summary>
190         /// Relative distance from the camera does not affect the size of objects.
191         /// </summary>
192         OrthographicProjection
193     }
194
195     /// <summary>
196     /// This specifies ccustomView behaviour types.
197     /// </summary>
198     public enum CustomViewBehaviour
199     {
200         /// <summary>
201         /// Use to provide default behaviour (size negotiation is on, event callbacks are not called)
202         /// </summary>
203         ViewBehaviourDefault = 0,
204         /// <summary>
205         /// True if control does not need size negotiation, i.e. it can be skipped in the algorithm
206         /// </summary>
207         DisableSizeNegotiation = 1 << 0,
208         /// <summary>
209         /// Use to provide key navigation support.
210         /// </summary>
211         RequiresKeyboardNavigationSupport = 1 << 5,
212         /// <summary>
213         /// Use to make style change event disabled.
214         /// </summary>
215         DisableStyleChangeSignals = 1 << 6,
216         [EditorBrowsable(EditorBrowsableState.Never)]
217         LastViewBehaviourFlag
218     }
219
220     public enum DeviceClassType
221     {
222         None,
223         Seat,
224         Keyboard,
225         Mouse,
226         Touch,
227         Pen,
228         Pointer,
229         Gamepad
230     }
231
232     /// <summary>
233     /// This specifies all the property types. <br>
234     /// Enumeration for the property types supported.
235     /// </summary>
236     public enum PropertyType
237     {
238         /// <summary>
239         /// No type
240         /// </summary>
241         None,
242         /// <summary>
243         /// A boolean type
244         /// </summary>
245         Boolean,
246         /// <summary>
247         /// A float type
248         /// </summary>
249         Float,
250         /// <summary>
251         /// An integer type
252         /// </summary>
253         Integer,
254         /// <summary>
255         /// a vector array of size=2 with float precision
256         /// </summary>
257         Vector2,
258         /// <summary>
259         /// a vector array of size=3 with float precision
260         /// </summary>
261         Vector3,
262         /// <summary>
263         /// a vector array of size=4 with float precision
264         /// </summary>
265         Vector4,
266         /// <summary>
267         /// a 3x3 matrix
268         /// </summary>
269         Matrix3,
270         /// <summary>
271         /// a 4x4 matrix
272         /// </summary>
273         Matrix,
274         /// <summary>
275         /// an integer array of size=4
276         /// </summary>
277         Rectangle,
278         /// <summary>
279         /// either a quaternion or an axis angle rotation
280         /// </summary>
281         Rotation,
282         /// <summary>
283         /// A string type
284         /// </summary>
285         String,
286         /// <summary>
287         /// an array of PropertyValue
288         /// </summary>
289         Array,
290         /// <summary>
291         /// a string key to PropertyValue mapping
292         /// </summary>
293         Map
294     }
295
296     /// <summary>
297     /// This specifies the property access mode types. <br>
298     /// Enumeration for the access mode for custom properties.
299     /// </summary>
300     public enum PropertyAccessMode
301     {
302         /// <summary>
303         /// if the property is read-only
304         /// </summary>
305         ReadOnly,
306         /// <summary>
307         /// If the property is read/writeable
308         /// </summary>
309         ReadWrite,
310         /// <summary>
311         /// If the property can be animated or constrained
312         /// </summary>
313         Animatable,
314         /// <summary>
315         /// The number of access modes
316         /// </summary>
317         AccessModeCount
318     }
319
320     /// <summary>
321     /// Types of style change. Enumeration for StyleChange type.
322     /// </summary>
323     public enum StyleChangeType
324     {
325         /// <summary>
326         /// Denotes that the default font has changed.
327         /// </summary>
328         DefaultFontChange,
329         /// <summary>
330         /// Denotes that the default font size has changed.
331         /// </summary>
332         DefaultFontSizeChange,
333         /// <summary>
334         /// Denotes that the theme has changed.
335         /// </summary>
336         ThemeChange
337     }
338
339     /// <summary>
340     /// Enumeration for horizontal alignment types.
341     /// </summary>
342     public enum HorizontalAlignmentType
343     {
344         /// <summary>
345         /// Align horizontally left
346         /// </summary>
347         Left,
348         /// <summary>
349         /// Align horizontally center
350         /// </summary>
351         Center,
352         /// <summary>
353         /// Align horizontally right
354         /// </summary>
355         Right
356     }
357
358     /// <summary>
359     /// Enumeration for vertical alignment types.
360     /// </summary>
361     public enum VerticalAlignmentType
362     {
363         /// <summary>
364         /// Align vertically top
365         /// </summary>
366         Top,
367         /// <summary>
368         /// Align vertically center
369         /// </summary>
370         Center,
371         /// <summary>
372         /// Align vertically bottom
373         /// </summary>
374         Bottom
375     }
376
377     /// <summary>
378     /// Enumeration for point state type.
379     /// </summary>
380     public enum PointStateType
381     {
382         /// <summary>
383         /// Touch or hover started
384         /// </summary>
385         Started,
386         /// <summary>
387         /// Touch or hover finished
388         /// </summary>
389         Finished,
390         /// <summary>
391         /// Screen touched
392         /// </summary>
393         Down = Started,
394         /// <summary>
395         /// Touch stopped
396         /// </summary>
397         Up = Finished,
398         /// <summary>
399         /// Finger dragged or hovered
400         /// </summary>
401         Motion,
402         /// <summary>
403         /// Leave the boundary of an actor
404         /// </summary>
405         Leave,
406         /// <summary>
407         /// No change from last event. <br>
408         /// Useful when a multi-point event occurs where all points are sent but indicates that this particular point has not changed since the last time.
409         /// </summary>
410         Stationary,
411         /// <summary>
412         /// A system event has occurred which has interrupted the touch or hover event sequence.
413         /// </summary>
414         Interrupted
415     }
416
417     /// <summary>
418     /// Enumeration for the text horizontal aligning.
419     /// </summary>
420     public enum HorizontalAlignment
421     {
422         /// <summary>
423         /// Texts place at the begin of horizontal direction.
424         /// </summary>
425         Begin,
426         /// <summary>
427         /// Texts place at the center of horizontal direction.
428         /// </summary>
429         Center,
430         /// <summary>
431         /// Texts place at the end of horizontal direction.
432         /// </summary>
433         End
434     }
435
436     /// <summary>
437     /// Enumeration for the text horizontal aligning.
438     /// </summary>
439     public enum VerticalAlignment
440     {
441         /// <summary>
442         /// Texts place at the top of vertical direction.
443         /// </summary>
444         Top,
445         /// <summary>
446         /// Texts place at the center of vertical direction.
447         /// </summary>
448         Center,
449         /// <summary>
450         /// Texts place at the bottom of vertical direction.
451         /// </summary>
452         Bottom
453     }
454
455     /// <summary>
456     /// This specifies wrap mode types <br>
457     /// WrapModeU and WrapModeV separately decide how the texture should be sampled when the u and v coordinate exceeds the range of 0.0 to 1.0.
458     /// </summary>
459     public enum WrapModeType
460     {
461         /// <summary>
462         /// Defualt value
463         /// </summary>
464         Default = 0,
465         /// <summary>
466         /// Clamp to edge
467         /// </summary>
468         ClampToEdge,
469         /// <summary>
470         /// Repeat
471         /// </summary>
472         Repeat,
473         /// <summary>
474         /// Mirrored repeat
475         /// </summary>
476         MirroredRepeat
477     }
478
479     /// <summary>
480     /// The type of coordinate system for certain attributes of the points in a gradient.
481     /// </summary>
482     public enum GradientVisualUnitsType
483     {
484         /// <summary>
485         /// Uses the normals for the start, end & center points, i.e. top-left is (-0.5, -0.5) and bottom-right is (0.5, 0.5).
486         /// </summary>
487         ObjectBoundingBox,
488         /// <summary>
489         /// Uses the user coordinates for the start, end & center points, i.e. in a 200 by 200 control, top-left is (0, 0) and bottom-right is (200, 200).
490         /// </summary>
491         UserSpace
492     }
493
494     /// <summary>
495     /// This specifies SpreadMethod types.<br>
496     /// SpreadMethod defines what happens if the gradient starts or ends inside the bounds of the target rectangle.<br>
497     /// </summary>
498     public enum GradientVisualSpreadMethodType
499     {
500         /// <summary>
501         /// Uses the terminal colors of the gradient to fill the remainder of the quad.
502         /// </summary>
503         Pad,
504         /// <summary>
505         /// Reflect the gradient pattern start-to-end, end-to-start, start-to-end etc. until the quad is filled.
506         /// </summary>
507         Reflect,
508         /// <summary>
509         /// Repeat the gradient pattern start-to-end, start-to-end, start-to-end etc. until the quad is filled.
510         /// </summary>
511         Repeat
512     }
513
514     /// <summary>
515     /// The shading mode used by MeshVisual.
516     /// </summary>
517     public enum MeshVisualShadingModeValue
518     {
519         /// <summary>
520         /// *Simplest*. One color that is lit by ambient and diffuse lighting.
521         /// </summary>
522         TexturelessWithDiffuseLighting,
523         /// <summary>
524         /// Uses only the visual image textures provided with specular lighting in addition to ambient and diffuse lighting.
525         /// </summary>
526         TexturedWithSpecularLighting,
527         /// <summary>
528         /// Uses all textures provided including a gloss, normal and texture map along with specular, ambient and diffuse lighting.
529         /// </summary>
530         TexturedWithDetailedSpecularLighting
531     }
532
533     /// <summary>
534     /// The primitive shape to render as a PrimitiveVisual.
535     /// </summary>
536     public enum PrimitiveVisualShapeType
537     {
538         /// <summary>
539         /// A perfectly round geometrical object in three-dimensional space.
540         /// </summary>
541         Sphere,
542         /// <summary>
543         /// The area bound between two circles, i.e. a cone with the tip removed.
544         /// </summary>
545         ConicalFrustrum,
546         /// <summary>
547         /// Equivalent to a conical frustrum with top radius of zero.
548         /// </summary>Equivalent to a conical frustrum with top radius of zero.
549         Cone,
550         /// <summary>
551         /// Equivalent to a conical frustrum with top radius of zero.
552         /// </summary>
553         Cylinder,
554         /// <summary>
555         /// Equivalent to a conical frustrum with equal radii for the top and bottom circles.
556         /// </summary>
557         Cube,
558         /// <summary>
559         /// Equivalent to a bevelled cube with a bevel percentage of zero.
560         /// </summary>
561         Octahedron,
562         /// <summary>
563         /// Equivalent to a bevelled cube with a bevel percentage of one.
564         /// </summary>
565         BevelledCube
566     }
567
568     /// <summary>
569     /// This specifies fitting mode types. Fitting options, used when resizing images to fit desired dimensions.<br>
570     /// A fitting mode controls the region of a loaded image to be mapped to the desired image rectangle.<br>
571     /// All fitting modes preserve the aspect ratio of the image contents.<br>
572     /// </summary>
573     public enum FittingModeType
574     {
575         /// <summary>
576         /// Full-screen image display: Limit loaded image resolution to device resolution using ShrinkToFit mode.
577         /// </summary>
578         ShrinkToFit,
579         /// <summary>
580         /// Thumbnail gallery grid: Limit loaded image resolution to screen tile using ScaleToFill mode.
581         /// </summary>
582         ScaleToFill,
583         /// <summary>
584         /// Image columns: Limit loaded image resolution to column width using FitWidth mode.
585         /// </summary>
586         FitWidth,
587         /// <summary>
588         /// Image rows: Limit loaded image resolution to row height using FitHeight mode.
589         /// </summary>
590         FitHeight
591     }
592
593     /// <summary>
594     /// This specifies sampling mode types. Filtering options, used when resizing images to sample original pixels.<br>
595     /// A SamplingMode controls how pixels in an input image are sampled and combined to generate each pixel of a destination image during a scaling.<br>
596     /// NoFilter and Box modes do not guarantee that the output pixel array exactly matches the rectangle specified by the desired dimensions and FittingMode,<br>
597     /// but all other filter modes do if the desired dimensions are `<=` the raw dimensions of the input image file.<br>
598     /// </summary>
599     public enum SamplingModeType
600     {
601         /// <summary>
602         /// Iteratively box filter to generate an image of 1/2, 1/4, 1/8, etc width and height and approximately the desired size. <br>
603         /// This is the default.
604         /// </summary>
605         Box,
606         /// <summary>
607         /// For each output pixel, read one input pixel.
608         /// </summary>
609         Nearest,
610         /// <summary>
611         /// For each output pixel, read a quad of four input pixels and write a weighted average of them.
612         /// </summary>
613         Linear,
614         /// <summary>
615         /// Iteratively box filter to generate an image of 1/2, 1/4, 1/8 etc width and height and approximately the desired size, <br>
616         /// then for each output pixel, read one pixel from the last level of box filtering.<br>
617         /// </summary>
618         BoxThenNearest,
619         /// <summary>
620         /// Iteratively box filter to almost the right size, then for each output pixel, read four pixels from the last level of box filtering and write their weighted average.
621         /// </summary>
622         BoxThenLinear,
623         /// <summary>
624         /// No filtering is performed. If the SCALE_TO_FILL scaling mode is enabled, the borders of the image may be trimmed to match the aspect ratio of the desired dimensions.
625         /// </summary>
626         NoFilter,
627         /// <summary>
628         /// For caching algorithms where a client strongly prefers a cache-hit to reuse a cached image.
629         /// </summary>
630         DontCare
631     }
632
633     /// <summary>
634     /// This specifies policy types that could be used by the transform for the offset or size.
635     /// </summary>
636     public enum VisualTransformPolicyType
637     {
638         /// <summary>
639         /// Relative to the control (percentage [0.0f to 1.0f] of the control).
640         /// </summary>
641         Relative = 0,
642         /// <summary>
643         /// Absolute value in world units.
644         /// </summary>
645         Absolute = 1
646     }
647
648     /// <summary>
649     /// This specifies all the transform property types.
650     /// </summary>
651     public enum VisualTransformPropertyType
652     {
653         /// <summary>
654         /// Offset of the visual, which can be either relative (percentage [0.0f to 1.0f] of the parent) or absolute (in world units).
655         /// </summary>
656         Offset,
657         /// <summary>
658         /// Size of the visual, which can be either relative (percentage [0.0f to 1.0f] of the parent) or absolute (in world units).
659         /// </summary>
660         Size,
661         /// <summary>
662         /// The origin of the visual within its control area.
663         /// </summary>
664         Origin,
665         /// <summary>
666         /// The anchor-point of the visual
667         /// </summary>
668         AnchorPoint,
669         /// <summary>
670         /// Whether the x or y OFFSET values are relative (percentage [0.0f to 1.0f] of the control) or absolute (in world units).
671         /// </summary>
672         OffsetPolicy,
673         /// <summary>
674         /// Whether the width or height SIZE values are relative (percentage [0.0f to 1.0f] of the control) or absolute (in world units).
675         /// </summary>
676         SizePolicy
677     }
678
679     /// <summary>
680     /// This specifies visual types.
681     /// </summary>
682     public struct Visual
683     {
684         /// <summary>
685         /// The index for the visual type.
686         /// </summary>
687         public enum Type
688         {
689             /// <summary>
690             /// Renders a solid color as an internal border to the control's quad.
691             /// </summary>
692             Border,
693             /// <summary>
694             /// Renders a solid color to the control's quad.
695             /// </summary>
696             Color,
697             /// <summary>
698             /// Renders a smooth transition of colors to the control's quad.
699             /// </summary>
700             Gradient,
701             /// <summary>
702             /// Renders an image into the control's quad.
703             /// </summary>
704             Image,
705             /// <summary>
706             /// Renders a mesh using an "obj" file, optionally with textures provided by an "mtl" file.
707             /// </summary>
708             Mesh,
709             /// <summary>
710             /// Renders a simple 3D shape, such as a cube or sphere.
711             /// </summary>
712             Primitive,
713             /// <summary>
714             /// Renders a simple wire-frame outlining a quad.
715             /// </summary>
716             Wireframe,
717             /// <summary>
718             /// Renders text.
719             /// </summary>
720             Text,
721             /// <summary>
722             /// Renders an n-patch image.
723             /// </summary>
724             NPatch,
725             /// <summary>
726             /// Renders an SVG image.
727             /// </summary>
728             SVG,
729             /// <summary>
730             /// Renders a animated image. (Animated GIF)
731             /// </summary>
732             AnimatedImage
733         }
734
735         /// <summary>
736         /// This specifies visual properties.
737         /// </summary>
738         public struct Property
739         {
740             public static readonly int Type = NDalic.VISUAL_PROPERTY_TYPE;
741             public static readonly int Shader = NDalic.VISUAL_PROPERTY_SHADER;
742             public static readonly int Transform = NDalic.VISUAL_PROPERTY_TRANSFORM;
743             public static readonly int PremultipliedAlpha = NDalic.VISUAL_PROPERTY_PREMULTIPLIED_ALPHA;
744             public static readonly int MixColor = NDalic.VISUAL_PROPERTY_MIX_COLOR;
745             public static readonly int Opacity = NDalic.VISUAL_PROPERTY_MIX_COLOR + 1;
746         }
747
748         /// <summary>
749         /// This specifies shader properties.
750         /// </summary>
751         public struct ShaderProperty
752         {
753             public static readonly int VertexShader = NDalic.VISUAL_SHADER_VERTEX;
754             public static readonly int FragmentShader = NDalic.VISUAL_SHADER_FRAGMENT;
755             public static readonly int ShaderSubdivideGridX = NDalic.VISUAL_SHADER_SUBDIVIDE_GRID_X;
756             public static readonly int ShaderSubdivideGridY = NDalic.VISUAL_SHADER_SUBDIVIDE_GRID_Y;
757             public static readonly int ShaderHints = NDalic.VISUAL_SHADER_HINTS;
758         }
759
760         /// <summary>
761         /// This specifies Visaul align types.
762         /// </summary>
763         public enum AlignType
764         {
765             TopBegin = 0,
766             TopCenter,
767             TopEnd,
768             CenterBegin,
769             Center,
770             CenterEnd,
771             BottomBegin,
772             BottomCenter,
773             BottomEnd
774         }
775     }
776
777     /// <summary>
778     /// This specifies properties of BorderVisual.
779     /// </summary>
780     public struct BorderVisualProperty
781     {
782         public static readonly int Color = NDalic.BORDER_VISUAL_COLOR;
783         public static readonly int Size = NDalic.BORDER_VISUAL_SIZE;
784         public static readonly int AntiAliasing = NDalic.BORDER_VISUAL_ANTI_ALIASING;
785     }
786
787     /// <summary>
788     /// This specifies properties of ColorVisual.
789     /// </summary>
790     public struct ColorVisualProperty
791     {
792         public static readonly int MixColor = NDalic.COLOR_VISUAL_MIX_COLOR;
793     }
794
795     /// <summary>
796     /// This specifies properties of GradientVisual.
797     /// </summary>
798     public struct GradientVisualProperty
799     {
800         public static readonly int StartPosition = NDalic.GRADIENT_VISUAL_START_POSITION;
801         public static readonly int EndPosition = NDalic.GRADIENT_VISUAL_END_POSITION;
802         public static readonly int Center = NDalic.GRADIENT_VISUAL_CENTER;
803         public static readonly int Radius = NDalic.GRADIENT_VISUAL_RADIUS;
804         public static readonly int StopOffset = NDalic.GRADIENT_VISUAL_STOP_OFFSET;
805         public static readonly int StopColor = NDalic.GRADIENT_VISUAL_STOP_COLOR;
806         public static readonly int Units = NDalic.GRADIENT_VISUAL_UNITS;
807         public static readonly int SpreadMethod = NDalic.GRADIENT_VISUAL_SPREAD_METHOD;
808     }
809
810     /// <summary>
811     /// This specifies properties of ImageVisual.
812     /// </summary>
813     public struct ImageVisualProperty
814     {
815         public static readonly int URL = NDalic.IMAGE_VISUAL_URL;
816         public static readonly int AlphaMaskURL = NDalic.IMAGE_VISUAL_ALPHA_MASK_URL;
817         public static readonly int FittingMode = NDalic.IMAGE_VISUAL_FITTING_MODE;
818         public static readonly int SamplingMode = NDalic.IMAGE_VISUAL_SAMPLING_MODE;
819         public static readonly int DesiredWidth = NDalic.IMAGE_VISUAL_DESIRED_WIDTH;
820         public static readonly int DesiredHeight = NDalic.IMAGE_VISUAL_DESIRED_HEIGHT;
821         public static readonly int SynchronousLoading = NDalic.IMAGE_VISUAL_SYNCHRONOUS_LOADING;
822         public static readonly int BorderOnly = NDalic.IMAGE_VISUAL_BORDER_ONLY;
823         public static readonly int PixelArea = NDalic.IMAGE_VISUAL_PIXEL_AREA;
824         public static readonly int WrapModeU = NDalic.IMAGE_VISUAL_WRAP_MODE_U;
825         public static readonly int WrapModeV = NDalic.IMAGE_VISUAL_WRAP_MODE_V;
826         public static readonly int Border = NDalic.IMAGE_VISUAL_BORDER;
827         public static readonly int MaskContentScale = NDalic.IMAGE_VISUAL_MASK_CONTENT_SCALE;
828         public static readonly int CropToMask = NDalic.IMAGE_VISUAL_CROP_TO_MASK;
829         public static readonly int BatchSize = NDalic.IMAGE_VISUAL_BATCH_SIZE;
830         public static readonly int CacheSize = NDalic.IMAGE_VISUAL_CACHE_SIZE;
831         public static readonly int FrameDelay = NDalic.IMAGE_VISUAL_FRAME_DELAY;
832
833     }
834
835     /// <summary>
836     /// This specifies properties of MeshVisual.
837     /// </summary>
838     public struct MeshVisualProperty
839     {
840         public static readonly int ObjectURL = NDalic.MESH_VISUAL_OBJECT_URL;
841         public static readonly int MaterialtURL = NDalic.MESH_VISUAL_MATERIAL_URL;
842         public static readonly int TexturesPath = NDalic.MESH_VISUAL_TEXTURES_PATH;
843         public static readonly int ShadingMode = NDalic.MESH_VISUAL_SHADING_MODE;
844         public static readonly int UseMipmapping = NDalic.MESH_VISUAL_USE_MIPMAPPING;
845         public static readonly int UseSoftNormals = NDalic.MESH_VISUAL_USE_SOFT_NORMALS;
846         public static readonly int LightPosition = NDalic.MESH_VISUAL_LIGHT_POSITION;
847     }
848
849     /// <summary>
850     /// This specifies properties of PrimitiveVisual.
851     /// </summary>
852     public struct PrimitiveVisualProperty
853     {
854         public static readonly int Shape = NDalic.PRIMITIVE_VISUAL_SHAPE;
855         public static readonly int MixColor = NDalic.PRIMITIVE_VISUAL_MIX_COLOR;
856         public static readonly int Slices = NDalic.PRIMITIVE_VISUAL_SLICES;
857         public static readonly int Stacks = NDalic.PRIMITIVE_VISUAL_STACKS;
858         public static readonly int ScaleTopRadius = NDalic.PRIMITIVE_VISUAL_SCALE_TOP_RADIUS;
859         public static readonly int ScaleBottomRadius = NDalic.PRIMITIVE_VISUAL_SCALE_BOTTOM_RADIUS;
860         public static readonly int ScaleHeight = NDalic.PRIMITIVE_VISUAL_SCALE_HEIGHT;
861         public static readonly int ScaleRadius = NDalic.PRIMITIVE_VISUAL_SCALE_RADIUS;
862         public static readonly int ScaleDimensions = NDalic.PRIMITIVE_VISUAL_SCALE_DIMENSIONS;
863         public static readonly int BevelPercentage = NDalic.PRIMITIVE_VISUAL_BEVEL_PERCENTAGE;
864         public static readonly int BevelSmoothness = NDalic.PRIMITIVE_VISUAL_BEVEL_SMOOTHNESS;
865         public static readonly int LightPosition = NDalic.PRIMITIVE_VISUAL_LIGHT_POSITION;
866     }
867
868     /// <summary>
869     /// This specifies properties of TextVisual.
870     /// </summary>
871     public struct TextVisualProperty
872     {
873         public static readonly int Text = NDalic.TEXT_VISUAL_TEXT;
874         public static readonly int FontFamily = NDalic.TEXT_VISUAL_FONT_FAMILY;
875         public static readonly int FontStyle = NDalic.TEXT_VISUAL_FONT_STYLE;
876         public static readonly int PointSize = NDalic.TEXT_VISUAL_POINT_SIZE;
877         public static readonly int MultiLine = NDalic.TEXT_VISUAL_MULTI_LINE;
878         public static readonly int HorizontalAlignment = NDalic.TEXT_VISUAL_HORIZONTAL_ALIGNMENT;
879         public static readonly int VerticalAlignment = NDalic.TEXT_VISUAL_VERTICAL_ALIGNMENT;
880         public static readonly int TextColor = NDalic.TEXT_VISUAL_TEXT_COLOR;
881         public static readonly int EnableMarkup = NDalic.TEXT_VISUAL_ENABLE_MARKUP;
882     }
883
884     /// <summary>
885     /// This specifies properties of NpatchImageVisual.
886     /// </summary>
887     public struct NpatchImageVisualProperty
888     {
889         public static readonly int URL = NDalic.IMAGE_VISUAL_URL;
890         public static readonly int FittingMode = NDalic.IMAGE_VISUAL_FITTING_MODE;
891         public static readonly int SamplingMode = NDalic.IMAGE_VISUAL_SAMPLING_MODE;
892         public static readonly int DesiredWidth = NDalic.IMAGE_VISUAL_DESIRED_WIDTH;
893         public static readonly int DesiredHeight = NDalic.IMAGE_VISUAL_DESIRED_HEIGHT;
894         public static readonly int SynchronousLoading = NDalic.IMAGE_VISUAL_SYNCHRONOUS_LOADING;
895         public static readonly int BorderOnly = NDalic.IMAGE_VISUAL_BORDER_ONLY;
896         public static readonly int PixelArea = NDalic.IMAGE_VISUAL_PIXEL_AREA;
897         public static readonly int WrapModeU = NDalic.IMAGE_VISUAL_WRAP_MODE_U;
898         public static readonly int WrapModeV = NDalic.IMAGE_VISUAL_WRAP_MODE_V;
899         public static readonly int Border = NDalic.IMAGE_VISUAL_WRAP_MODE_V + 1;
900     }
901
902     /// <summary>
903     /// HiddenInput Property.
904     /// </summary>
905     public struct HiddenInputProperty
906     {
907         public static readonly int Mode = NDalicManualPINVOKE.HIDDENINPUT_PROPERTY_MODE_get();
908         public static readonly int SubstituteCharacter = NDalicManualPINVOKE.HIDDENINPUT_PROPERTY_SUBSTITUTE_CHARACTER_get();
909         public static readonly int SubstituteCount = NDalicManualPINVOKE.HIDDENINPUT_PROPERTY_SUBSTITUTE_COUNT_get();
910         public static readonly int ShowLastCharacterDuration = NDalicManualPINVOKE.HIDDENINPUT_PROPERTY_SHOW_LAST_CHARACTER_DURATION_get();
911     }
912
913     /// <summary>
914     /// The type for HiddenInput mode.
915     /// </summary>
916     public enum HiddenInputModeType
917     {
918         /// <summary>
919         /// Don't hide text.
920         /// </summary>
921         HideNone,
922         /// <summary>
923         /// Hide all the input text.
924         /// </summary>
925         HideAll,
926         /// <summary>
927         /// Hide n characters from start.
928         /// </summary>
929         HideCount,
930         /// <summary>
931         /// Show n characters from start.
932         /// </summary>
933         ShowCount,
934         /// <summary>
935         /// Show last character for the duration(use ShowLastCharacterDuration property to modify duration).
936         /// </summary>
937         ShowLastCharacter
938     }
939
940     /// <summary>
941     /// ParentOrigin constants.
942     /// </summary>
943     public struct ParentOrigin
944     {
945         public static float Top
946         {
947             get
948             {
949                 float ret = NDalicPINVOKE.ParentOriginTop_get();
950                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
951                 return ret;
952             }
953         }
954         public static float Bottom
955         {
956             get
957             {
958                 float ret = NDalicPINVOKE.ParentOriginBottom_get();
959                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
960                 return ret;
961             }
962         }
963         public static float Left
964         {
965             get
966             {
967                 float ret = NDalicPINVOKE.ParentOriginLeft_get();
968                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
969                 return ret;
970             }
971         }
972         public static float Right
973         {
974             get
975             {
976                 float ret = NDalicPINVOKE.ParentOriginRight_get();
977                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
978                 return ret;
979             }
980         }
981         public static float Middle
982         {
983             get
984             {
985                 float ret = NDalicPINVOKE.ParentOriginMiddle_get();
986                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
987                 return ret;
988             }
989         }
990         public static Position TopLeft
991         {
992             get
993             {
994                 global::System.IntPtr cPtr = NDalicPINVOKE.ParentOriginTopLeft_get();
995                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
996                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
997                 return ret;
998             }
999         }
1000         public static Position TopCenter
1001         {
1002             get
1003             {
1004                 global::System.IntPtr cPtr = NDalicPINVOKE.ParentOriginTopCenter_get();
1005                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1006                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1007                 return ret;
1008             }
1009         }
1010         public static Position TopRight
1011         {
1012             get
1013             {
1014                 global::System.IntPtr cPtr = NDalicPINVOKE.ParentOriginTopRight_get();
1015                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1016                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1017                 return ret;
1018             }
1019         }
1020         public static Position CenterLeft
1021         {
1022             get
1023             {
1024                 global::System.IntPtr cPtr = NDalicPINVOKE.ParentOriginCenterLeft_get();
1025                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1026                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1027                 return ret;
1028             }
1029         }
1030         public static Position Center
1031         {
1032             get
1033             {
1034                 global::System.IntPtr cPtr = NDalicPINVOKE.ParentOriginCenter_get();
1035                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1036                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1037                 return ret;
1038             }
1039         }
1040         public static Position CenterRight
1041         {
1042             get
1043             {
1044                 global::System.IntPtr cPtr = NDalicPINVOKE.ParentOriginCenterRight_get();
1045                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1046                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1047                 return ret;
1048             }
1049         }
1050         public static Position BottomLeft
1051         {
1052             get
1053             {
1054                 global::System.IntPtr cPtr = NDalicPINVOKE.ParentOriginBottomLeft_get();
1055                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1056                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1057                 return ret;
1058             }
1059         }
1060         public static Position BottomCenter
1061         {
1062             get
1063             {
1064                 global::System.IntPtr cPtr = NDalicPINVOKE.ParentOriginBottomCenter_get();
1065                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1066                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1067                 return ret;
1068             }
1069         }
1070         public static Position BottomRight
1071         {
1072             get
1073             {
1074                 global::System.IntPtr cPtr = NDalicPINVOKE.ParentOriginBottomRight_get();
1075                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1076                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1077                 return ret;
1078             }
1079         }
1080     }
1081
1082     /// <summary>
1083     /// PivotPoint constants.
1084     /// </summary>
1085     public struct PivotPoint
1086     {
1087         public static float Top
1088         {
1089             get
1090             {
1091                 float ret = NDalicPINVOKE.AnchorPointTop_get();
1092                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1093                 return ret;
1094             }
1095         }
1096         public static float Bottom
1097         {
1098             get
1099             {
1100                 float ret = NDalicPINVOKE.AnchorPointBottom_get();
1101                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1102                 return ret;
1103             }
1104         }
1105         public static float Left
1106         {
1107             get
1108             {
1109                 float ret = NDalicPINVOKE.AnchorPointLeft_get();
1110                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1111                 return ret;
1112             }
1113         }
1114         public static float Right
1115         {
1116             get
1117             {
1118                 float ret = NDalicPINVOKE.AnchorPointRight_get();
1119                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1120                 return ret;
1121             }
1122         }
1123         public static float Middle
1124         {
1125             get
1126             {
1127                 float ret = NDalicPINVOKE.AnchorPointMiddle_get();
1128                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1129                 return ret;
1130             }
1131         }
1132         public static Position TopLeft
1133         {
1134             get
1135             {
1136                 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointTopLeft_get();
1137                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1138                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1139                 return ret;
1140             }
1141         }
1142         public static Position TopCenter
1143         {
1144             get
1145             {
1146                 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointTopCenter_get();
1147                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1148                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1149                 return ret;
1150             }
1151         }
1152         public static Position TopRight
1153         {
1154             get
1155             {
1156                 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointTopRight_get();
1157                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1158                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1159                 return ret;
1160             }
1161         }
1162         public static Position CenterLeft
1163         {
1164             get
1165             {
1166                 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointCenterLeft_get();
1167                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1168                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1169                 return ret;
1170             }
1171         }
1172         public static Position Center
1173         {
1174             get
1175             {
1176                 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointCenter_get();
1177                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1178                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1179                 return ret;
1180             }
1181         }
1182         public static Position CenterRight
1183         {
1184             get
1185             {
1186                 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointCenterRight_get();
1187                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1188                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1189                 return ret;
1190             }
1191         }
1192         public static Position BottomLeft
1193         {
1194             get
1195             {
1196                 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointBottomLeft_get();
1197                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1198                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1199                 return ret;
1200             }
1201         }
1202         public static Position BottomCenter
1203         {
1204             get
1205             {
1206                 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointBottomCenter_get();
1207                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1208                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1209                 return ret;
1210             }
1211         }
1212         public static Position BottomRight
1213         {
1214             get
1215             {
1216                 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointBottomRight_get();
1217                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1218                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1219                 return ret;
1220             }
1221         }
1222     }
1223     /// <summary>
1224     /// PositionAxis constants.
1225     /// </summary>
1226     public struct PositionAxis
1227     {
1228         public static Position X
1229         {
1230             get
1231             {
1232                 global::System.IntPtr cPtr = NDalicPINVOKE.Vector3_XAXIS_get();
1233                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1234                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1235                 return ret;
1236             }
1237         }
1238         public static Position Y
1239         {
1240             get
1241             {
1242                 global::System.IntPtr cPtr = NDalicPINVOKE.Vector3_YAXIS_get();
1243                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1244                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1245                 return ret;
1246             }
1247         }
1248         public static Position Z
1249         {
1250             get
1251             {
1252                 global::System.IntPtr cPtr = NDalicPINVOKE.Vector3_ZAXIS_get();
1253                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1254                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1255                 return ret;
1256             }
1257         }
1258         public static Position NegativeX
1259         {
1260             get
1261             {
1262                 global::System.IntPtr cPtr = NDalicPINVOKE.Vector3_NEGATIVE_XAXIS_get();
1263                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1264                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1265                 return ret;
1266             }
1267         }
1268         public static Position NegativeY
1269         {
1270             get
1271             {
1272                 global::System.IntPtr cPtr = NDalicPINVOKE.Vector3_NEGATIVE_YAXIS_get();
1273                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1274                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1275                 return ret;
1276             }
1277         }
1278         public static Position NegativeZ
1279         {
1280             get
1281             {
1282                 global::System.IntPtr cPtr = NDalicPINVOKE.Vector3_NEGATIVE_ZAXIS_get();
1283                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1284                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1285                 return ret;
1286             }
1287         }
1288     }
1289
1290     /// <summary>
1291     /// Auto scrolling stop behaviour.
1292     /// </summary>
1293     public enum AutoScrollStopMode
1294     {
1295         /// <summary>
1296         /// Stop animation after current loop finished.
1297         /// </summary>
1298         FinishLoop,
1299         /// <summary>
1300         /// Stop animation immediatly and reset position.
1301         /// </summary>
1302         Immediate
1303     }
1304
1305     /// <summary>
1306     /// An enum of screen mode.
1307     /// </summary>
1308     public enum ScreenOffMode {
1309         /// <summary>
1310         /// The mode which turns the screen off after a timeout.
1311         /// </summary>
1312         Timout,
1313         /// <summary>
1314         /// The mode which keeps the screen turned on.
1315         /// </summary>
1316         Never
1317     }
1318
1319     /// <summary>
1320     /// An enum of notification window's priority level.
1321     /// </summary>
1322     public enum NotificationLevel {
1323         /// <summary>
1324         /// No notification level.<br>
1325         /// Default level.<br>
1326         /// This value makes the notification window place in the layer of the normal window.
1327         /// </summary>
1328         None = -1,
1329         /// <summary>
1330         /// Base nofitication level.
1331         /// </summary>
1332         Base = 10,
1333         /// <summary>
1334         /// Medium notification level than base.
1335         /// </summary>
1336         Medium = 20,
1337         /// <summary>
1338         /// Higher notification level than medium.
1339         /// </summary>
1340         High = 30,
1341         /// <summary>
1342         /// The highest notification level.
1343         /// </summary>
1344         Top = 40
1345     }
1346
1347     /// <summary>
1348     /// An enum of Window types.
1349     /// </summary>
1350     public enum WindowType {
1351         /// <summary>
1352         /// A default window type.<br>
1353         /// Indicates a normal, top-level window.
1354         /// Almost every window will be created with this type.
1355         /// </summary>
1356         Normal,
1357         /// <summary>
1358         /// A notification window, like a warning about battery life or a new E-Mail received.
1359         /// </summary>
1360         Notification,
1361         /// <summary>
1362         /// A persistent utility window, like a toolbox or palette.
1363         /// </summary>
1364         Utility,
1365         /// <summary>
1366         /// Used for simple dialog windows.
1367         /// </summary>
1368         Dialog
1369     }
1370
1371     public enum DisposeTypes
1372     {
1373         Explicit,   //Called By User
1374         Implicit,   //Called by DisposeQueue
1375     }
1376
1377
1378
1379
1380     [Obsolete("Please do not use! this will be deprecated")]
1381     public struct AnchorPoint
1382     {
1383         public static float Top
1384         {
1385             get
1386             {
1387                 float ret = NDalicPINVOKE.AnchorPointTop_get();
1388                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1389                 return ret;
1390             }
1391         }
1392         public static float Bottom
1393         {
1394             get
1395             {
1396                 float ret = NDalicPINVOKE.AnchorPointBottom_get();
1397                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1398                 return ret;
1399             }
1400         }
1401         public static float Left
1402         {
1403             get
1404             {
1405                 float ret = NDalicPINVOKE.AnchorPointLeft_get();
1406                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1407                 return ret;
1408             }
1409         }
1410         public static float Right
1411         {
1412             get
1413             {
1414                 float ret = NDalicPINVOKE.AnchorPointRight_get();
1415                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1416                 return ret;
1417             }
1418         }
1419         public static float Middle
1420         {
1421             get
1422             {
1423                 float ret = NDalicPINVOKE.AnchorPointMiddle_get();
1424                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1425                 return ret;
1426             }
1427         }
1428         public static Position TopLeft
1429         {
1430             get
1431             {
1432                 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointTopLeft_get();
1433                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1434                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1435                 return ret;
1436             }
1437         }
1438         public static Position TopCenter
1439         {
1440             get
1441             {
1442                 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointTopCenter_get();
1443                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1444                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1445                 return ret;
1446             }
1447         }
1448         public static Position TopRight
1449         {
1450             get
1451             {
1452                 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointTopRight_get();
1453                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1454                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1455                 return ret;
1456             }
1457         }
1458         public static Position CenterLeft
1459         {
1460             get
1461             {
1462                 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointCenterLeft_get();
1463                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1464                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1465                 return ret;
1466             }
1467         }
1468         public static Position Center
1469         {
1470             get
1471             {
1472                 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointCenter_get();
1473                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1474                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1475                 return ret;
1476             }
1477         }
1478         public static Position CenterRight
1479         {
1480             get
1481             {
1482                 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointCenterRight_get();
1483                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1484                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1485                 return ret;
1486             }
1487         }
1488         public static Position BottomLeft
1489         {
1490             get
1491             {
1492                 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointBottomLeft_get();
1493                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1494                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1495                 return ret;
1496             }
1497         }
1498         public static Position BottomCenter
1499         {
1500             get
1501             {
1502                 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointBottomCenter_get();
1503                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1504                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1505                 return ret;
1506             }
1507         }
1508         public static Position BottomRight
1509         {
1510             get
1511             {
1512                 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointBottomRight_get();
1513                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1514                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1515                 return ret;
1516             }
1517         }
1518     }
1519
1520     /// <summary>
1521     /// An enum of scroll state of text eidtor.
1522     /// </summary>
1523     public enum ScrollState
1524     {
1525         /// <summary>
1526         /// Scrolling is started.
1527         /// </summary>
1528         Started,
1529
1530         /// <summary>
1531         /// Scrolling is finished.
1532         /// </summary>
1533         Finished
1534     }
1535
1536      /// <summary>
1537     /// An enum of line wrap mode of text controls.
1538     /// </summary>
1539     public enum LineWrapMode
1540     {
1541         /// <summary>
1542         /// Word mode will move word to next line
1543         /// </summary>
1544         Word,
1545
1546         /// <summary>
1547         /// character will move character by character to next line
1548         /// </summary>
1549         Character
1550     }
1551
1552 }