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