2 // Open Service Platform
3 // Copyright (c) 2012-2013 Samsung Electronics Co., Ltd.
5 // Licensed under the Apache License, Version 2.0 (the License);
6 // you may not use this file except in compliance with the License.
7 // You may obtain a copy of the License at
9 // http://www.apache.org/licenses/LICENSE-2.0/
11 // Unless required by applicable law or agreed to in writing, software
12 // distributed under the License is distributed on an "AS IS" BASIS,
13 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 // See the License for the specific language governing permissions and
15 // limitations under the License.
18 * @file FUiCtrlControlsTypes.h
19 * @brief This is the header file for the enumerations.
21 * This header file contains the declarations of the enumerations.
23 #ifndef _FUI_CTRL_CONTROLS_TYPES_H_
24 #define _FUI_CTRL_CONTROLS_TYPES_H_
26 namespace Tizen { namespace Ui { namespace Controls
32 * Defines different margin types for a control.
38 MARGIN_TYPE_LEFT, /**< The left side of the margin */
39 MARGIN_TYPE_RIGHT, /**< The right side of the margin */
40 MARGIN_TYPE_TOP, /**< The top side of the margin */
41 MARGIN_TYPE_BOTTOM /**< The bottom side of the margin */
45 * @enum BackgroundStyle
47 * Defines the background style.
53 BACKGROUND_STYLE_NONE = 0, /**< The image with no background */
54 BACKGROUND_STYLE_DEFAULT, /**< The default background image */
60 * Defines position of the text.
66 ICON_POSITION_LEFT, /**< The position of the icon is to the left of the object */
67 ICON_POSITION_RIGHT /**< The position of the icon is to the right of the object */
71 * @enum HorizontalAlignment
73 * Defines horizontal alignment of the text.
77 enum HorizontalAlignment
79 ALIGNMENT_LEFT, /**< The text is left-aligned */
80 ALIGNMENT_CENTER, /**< The text is center-aligned horizontally */
81 ALIGNMENT_RIGHT /**< The text is right-aligned */
85 * @enum VerticalAlignment
87 * Defines vertical alignment of the text.
91 enum VerticalAlignment
93 ALIGNMENT_TOP, /**< The text is top-aligned */
94 ALIGNMENT_MIDDLE, /**< The text is center-aligned vertically */
95 ALIGNMENT_BOTTOM /**< The text is bottom-aligned */
101 * Defines the table view style of a control's border.
107 GROUP_STYLE_NONE, /**< A rectangle with no outline */
108 GROUP_STYLE_SINGLE, /**< A rectangle with all corners rounded */
109 GROUP_STYLE_TOP, /**< A rectangle with the two top corners rounded */
110 GROUP_STYLE_MIDDLE, /**< A rectangle positioned at the center of a group */
111 GROUP_STYLE_BOTTOM /**< A rectangle with the two bottom corners rounded */
114 }}}// Tizen::Ui::Controls
116 #endif //_FUI_CTRL_CONTROLS_TYPES_H_