Merge "Unchecked GetCharacter func when index is over string length" into tizen_2.2
[platform/framework/native/uifw.git] / inc / FUiCtrlScrollPanelTypes.h
1 //
2 // Open Service Platform
3 // Copyright (c) 2012-2013 Samsung Electronics Co., Ltd.
4 //
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
8 //
9 //     http://www.apache.org/licenses/LICENSE-2.0/
10 //
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.
16 //
17
18 /**
19  * @file                FUiCtrlScrollPanelTypes.h
20  * @brief               This is the header file for the enumerations of the ScrollPanel class.
21  *
22  * This header file defines the data types for the ScrollPanel class.
23  */
24 #ifndef _FUI_CTRL_SCROLL_PANEL_TYPES_H_
25 #define _FUI_CTRL_SCROLL_PANEL_TYPES_H_
26
27 namespace Tizen { namespace Ui { namespace Controls
28 {
29
30 /**
31  * @enum ScrollPanelScrollDirection
32  *
33  * Defines the scroll direction type of the ScrollPanel control.
34  *
35  * @since 2.0
36  */
37 enum ScrollPanelScrollDirection
38 {
39         SCROLL_PANEL_SCROLL_DIRECTION_VERTICAL = 0,     /**< Vertical scroll mode */
40         SCROLL_PANEL_SCROLL_DIRECTION_HORIZONTAL        /**< Horizontal scroll mode */
41 };
42
43 /**
44 * @enum ScrollInputMode
45 *
46 * Defines the scroll interaction mode.
47 *
48 * @since 2.0
49 */
50 enum ScrollInputMode
51 {
52         SCROLL_INPUT_MODE_ALLOW_ANY_DIRECTION = 0,                               /**< %Content can be scrolled in any direction */
53         SCROLL_INPUT_MODE_RESTRICT_TO_INITIAL_DIRECTION                          /**<%Content can be scrolled only in the first direction */
54 };
55
56 }}} // Tizen::Ui::Controls
57
58 #endif // _FUI_CTRL_SCROLL_PANEL_TYPES_H_