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 FUiCtrlScrollPanelTypes.h
20 * @brief This is the header file for the ScrollPanel enumeration.
22 * The ScrollPanel enumeration defines the data types for the ScrollPanel.
24 #ifndef _FUI_CTRL_SCROLL_PANEL_TYPES_H_
25 #define _FUI_CTRL_SCROLL_PANEL_TYPES_H_
27 namespace Tizen { namespace Ui { namespace Controls
31 * @enum ScrollPanelScrollDirection
33 * Defines the scroll direction type of the ScrollPanel control.
37 enum ScrollPanelScrollDirection
39 SCROLL_PANEL_SCROLL_DIRECTION_VERTICAL = 0, /**< Vertical scroll mode */
40 SCROLL_PANEL_SCROLL_DIRECTION_HORIZONTAL /**< Horizontal scroll mode */
44 * @enum ScrollInputMode
46 * Defines the scroll interaction mode
52 SCROLL_INPUT_MODE_ALLOW_ANY_DIRECTION = 0, /**< Scroll interaction is available to any direction. */
53 SCROLL_INPUT_MODE_RESTRICT_TO_INITIAL_DIRECTION /**< Scroll interaction is restricted to first direction. */
56 }}} // Tizen::Ui::Controls
58 #endif // _FUI_CTRL_SCROLL_PANEL_TYPES_H_