Fix API reference documentation
[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   namespace Constants
21   {
22     /// <summary>
23     /// Enumeration for texture types.
24     /// </summary>
25     public enum TextureType
26     {
27       Texture2D     = Tizen.NUI.TextureType.TEXTURE_2D,   ///< One 2D image
28       TextureCube   = Tizen.NUI.TextureType.TEXTURE_CUBE  ///< Six 2D images arranged in a cube-shape
29     }
30
31     /// <summary>
32     /// Enumeration for stereoscopic view modes.
33     /// </summary>
34     public enum ViewMode
35     {
36       Mono              = Tizen.NUI.ViewMode.MONO,                          ///< Monoscopic (single camera). This is the default.
37       StereoHorizontal  = Tizen.NUI.ViewMode.STEREO_HORIZONTAL, ///< Stereoscopic. Frame buffer is split horizontally with the left and right camera views in their respective sides.
38       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.
39       StereoInterlaced  = Tizen.NUI.ViewMode.STEREO_INTERLACED  ///< Stereoscopic. Left/Right camera views are rendered into the framebuffer on alternate frames.
40     }
41
42         public struct Direction
43         {
44             public enum Type
45             {
46                 LeftToRight = Tizen.NUI.DirectionType.LEFT_TO_RIGHT,
47                 RightToLeft = Tizen.NUI.DirectionType.RIGHT_TO_LEFT
48             }
49         }
50
51
52
53
54         public struct Tooltip
55         {
56             public struct Property
57             {
58                 public static readonly int Content = NDalic.TOOLTIP_CONTENT;
59                 public static readonly int Layout = NDalic.TOOLTIP_LAYOUT;
60                 public static readonly int WaitTime = NDalic.TOOLTIP_WAIT_TIME;
61                 public static readonly int Background = NDalic.TOOLTIP_BACKGROUND;
62                 public static readonly int Tail = NDalic.TOOLTIP_TAIL;
63                 public static readonly int Position = NDalic.TOOLTIP_POSITION;
64                 public static readonly int HoverPointOffset = NDalic.TOOLTIP_HOVER_POINT_OFFSET;
65                 public static readonly int MovementThreshold = NDalic.TOOLTIP_MOVEMENT_THRESHOLD;
66                 public static readonly int DisappearOnMovement = NDalic.TOOLTIP_DISAPPEAR_ON_MOVEMENT;
67             }
68
69             public struct BackgroundProperty
70             {
71                 public static readonly int Visual = NDalic.TOOLTIP_BACKGROUND_VISUAL;
72                 public static readonly int Border = NDalic.TOOLTIP_BACKGROUND_BORDER;
73             }
74
75             public struct TailProperty
76             {
77                 public static readonly int Visibility = NDalic.TOOLTIP_TAIL_VISIBILITY;
78                 public static readonly int AboveVisual = NDalic.TOOLTIP_TAIL_ABOVE_VISUAL;
79                 public static readonly int BelowVisual = NDalic.TOOLTIP_TAIL_BELOW_VISUAL;
80             }
81         }
82     } // namespace Constants
83 } // namesapce Dali