2 // Open Service Platform
3 // Copyright (c) 2012-2013 Samsung Electronics Co., Ltd.
5 // Licensed under the Flora License, Version 1.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://floralicense.org/license/
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.
19 * @file FUiCtrlIconListViewTypes.h
20 * @brief This is the header file for the %IconListView enumerations.
22 * This header file contains the declarations of the %IconListView enumerations.
24 * These enumerations define the various properties of the %IconListView control.
27 #ifndef _FUI_CTRL_ICON_LIST_VIEW_TYPES_H_
28 #define _FUI_CTRL_ICON_LIST_VIEW_TYPES_H_
30 namespace Tizen { namespace Ui { namespace Controls
34 * @enum IconListViewStyle
36 * Defines the styles of the %IconListView control.
40 enum IconListViewStyle
42 ICON_LIST_VIEW_STYLE_NORMAL = 0, /**< The No mark or radio check */
43 ICON_LIST_VIEW_STYLE_RADIO, /**< The radio style for a single selection */
44 ICON_LIST_VIEW_STYLE_MARK /**< The mark style for multiple selections */
48 * @enum IconListViewItemBorderStyle
50 * Defines the constants used to identify the border style of the item.
54 enum IconListViewItemBorderStyle
56 ICON_LIST_VIEW_ITEM_BORDER_STYLE_NONE = 0, /**< The item that has no border */
57 ICON_LIST_VIEW_ITEM_BORDER_STYLE_OUTLINE, /**< The item that has a line border */
58 ICON_LIST_VIEW_ITEM_BORDER_STYLE_SHADOW /**< The item that has a bitmap border with the drop shadow effect */
62 * @enum IconListViewScrollDirection
64 * Defines the scroll direction of the %IconListView control.
68 enum IconListViewScrollDirection
70 ICON_LIST_VIEW_SCROLL_DIRECTION_VERTICAL, /**< The vertical direction */
71 ICON_LIST_VIEW_SCROLL_DIRECTION_HORIZONTAL /**< The horizontal direction */
75 * @enum IconListViewItemTextVerticalAlignment
77 * Defines the vertical alignment of the item text.
81 enum IconListViewItemTextVerticalAlignment
83 ICON_LIST_VIEW_ITEM_TEXT_VERTICAL_ALIGNMENT_INSIDE_TOP, /**< The text is top-aligned inside the item */
84 ICON_LIST_VIEW_ITEM_TEXT_VERTICAL_ALIGNMENT_INSIDE_MIDDLE, /**< The text is middle-aligned inside the item */
85 ICON_LIST_VIEW_ITEM_TEXT_VERTICAL_ALIGNMENT_INSIDE_BOTTOM, /**< The text is bottom-aligned inside the item */
86 ICON_LIST_VIEW_ITEM_TEXT_VERTICAL_ALIGNMENT_OUTSIDE_TOP, /**< The text is top-aligned outside the item */
87 ICON_LIST_VIEW_ITEM_TEXT_VERTICAL_ALIGNMENT_OUTSIDE_BOTTOM /**< The text is bottom-aligned outside the item */
91 * @enum IconListViewItemStatus
93 * Defines the constants used to identify the item state.
97 enum IconListViewItemStatus
99 ICON_LIST_VIEW_ITEM_CHECKED = 0, /**< The item has been checked (toggle of the check area) */
100 ICON_LIST_VIEW_ITEM_UNCHECKED, /**< The item has been unchecked (toggle of the check area) */
101 ICON_LIST_VIEW_ITEM_SELECTED, /**< The item has been selected (non-check area of the item) */
102 ICON_LIST_VIEW_ITEM_HIGHLIGHTED /**< The item has been highlighted (non-check area of the item) */
106 * @enum IconListViewItemDrawingStatus
108 * Defines the drawing state of the %IconListView control items.
112 enum IconListViewItemDrawingStatus
114 ICON_LIST_VIEW_ITEM_DRAWING_STATUS_NORMAL = 0, /**< The drawing status for normal items */
115 ICON_LIST_VIEW_ITEM_DRAWING_STATUS_PRESSED, /**< The drawing status for pressed items */
116 ICON_LIST_VIEW_ITEM_DRAWING_STATUS_HIGHLIGHTED /**< The drawing status for highlighted items */
120 * @enum IconListViewCheckBoxPosition
122 * Defines the checkbox position.
126 enum IconListViewCheckBoxPosition
128 ICON_LIST_VIEW_CHECK_BOX_POSITION_TOP_LEFT, /**< The position of the checkbox is top-left */
129 ICON_LIST_VIEW_CHECK_BOX_POSITION_TOP_RIGHT, /**< The position of the checkbox is top-right */
130 ICON_LIST_VIEW_CHECK_BOX_POSITION_BOTTOM_LEFT, /**< The position of the checkbox is bottom-left */
131 ICON_LIST_VIEW_CHECK_BOX_POSITION_BOTTOM_RIGHT /**< The position of the checkbox is bottom-right */
135 * @enum IconListViewScrollStyle
137 * Defines the scroll style of the %IconListView control.
141 enum IconListViewScrollStyle
143 ICON_LIST_SCROLL_STYLE_FADE_OUT = 0, /**< The fade-out scroll style */
144 ICON_LIST_SCROLL_STYLE_FIXED, /**< The fixed scroll style */
145 ICON_LIST_SCROLL_STYLE_JUMP_TO_TOP, /**< The jump to top scroll style */
146 ICON_LIST_SCROLL_STYLE_THUMB /**< The thumb scroll style */
149 }}} // Tizen::Ui::Controls
151 #endif // _FUI_CTRL_ICON_LIST_VIEW_TYPES_H_