Apply Dispose pattern to NUI.
[platform/core/csapi/tizenfx.git] / src / Tizen.NUI / src / internal / DaliEnumConstants.cs
1 /** Copyright (c) 2016 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  */
16 using System;
17
18 namespace Tizen.NUI
19 {
20
21     namespace Constants
22     {
23         public enum TextureType
24         {
25             Texture2D = Tizen.NUI.TextureType.TEXTURE_2D,   ///< One 2D image                            @SINCE_1_1.43
26             TextureCube = Tizen.NUI.TextureType.TEXTURE_CUBE  ///< Six 2D images arranged in a cube-shape  @SINCE_1_1.43
27         }
28
29         public enum ViewMode
30         {
31             Mono = Tizen.NUI.ViewMode.MONO,                          ///< Monoscopic (single camera). This is the default @SINCE_1_0.0
32             StereoHorizontal = Tizen.NUI.ViewMode.STEREO_HORIZONTAL, ///< Stereoscopic. Frame buffer is split horizontally with the left and right camera views in their respective sides. @SINCE_1_0.0
33             StereoVertical = Tizen.NUI.ViewMode.STEREO_VERTICAL,     ///< Stereoscopic. Frame buffer is split vertically with the left camera view at the top and the right camera view at the bottom. @SINCE_1_0.0
34             StereoInterlaced = Tizen.NUI.ViewMode.STEREO_INTERLACED  ///< @DEPRECATED_1_1.19 @brief Stereoscopic. Left/Right camera views are rendered into the framebuffer on alternate frames. @SINCE_1_0.0
35         }
36
37         public struct Direction
38         {
39             public enum Type
40             {
41                 LeftToRight = Tizen.NUI.DirectionType.LEFT_TO_RIGHT,
42                 RightToLeft = Tizen.NUI.DirectionType.RIGHT_TO_LEFT
43             }
44         }
45
46
47
48
49         public struct Tooltip
50         {
51             public struct Property
52             {
53                 public static readonly int Content = NDalic.TOOLTIP_CONTENT;
54                 public static readonly int Layout = NDalic.TOOLTIP_LAYOUT;
55                 public static readonly int WaitTime = NDalic.TOOLTIP_WAIT_TIME;
56                 public static readonly int Background = NDalic.TOOLTIP_BACKGROUND;
57                 public static readonly int Tail = NDalic.TOOLTIP_TAIL;
58                 public static readonly int Position = NDalic.TOOLTIP_POSITION;
59                 public static readonly int HoverPointOffset = NDalic.TOOLTIP_HOVER_POINT_OFFSET;
60                 public static readonly int MovementThreshold = NDalic.TOOLTIP_MOVEMENT_THRESHOLD;
61                 public static readonly int DisappearOnMovement = NDalic.TOOLTIP_DISAPPEAR_ON_MOVEMENT;
62             }
63
64             public struct BackgroundProperty
65             {
66                 public static readonly int Visual = NDalic.TOOLTIP_BACKGROUND_VISUAL;
67                 public static readonly int Border = NDalic.TOOLTIP_BACKGROUND_BORDER;
68             }
69
70             public struct TailProperty
71             {
72                 public static readonly int Visibility = NDalic.TOOLTIP_TAIL_VISIBILITY;
73                 public static readonly int AboveVisual = NDalic.TOOLTIP_TAIL_ABOVE_VISUAL;
74                 public static readonly int BelowVisual = NDalic.TOOLTIP_TAIL_BELOW_VISUAL;
75             }
76         }
77     } // namespace Constants
78 } // namesapce Dali