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