Merge "Fix Ime Rotation" into tizen_2.1
[platform/framework/native/uifw.git] / inc / FUiCtrlGalleryTypes.h
1 //
2 // Open Service Platform
3 // Copyright (c) 2012-2013 Samsung Electronics Co., Ltd.
4 //
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
8 //
9 //     http://floralicense.org/license/
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                FUiCtrlGalleryTypes.h
20  * @brief               This is the header file for the Gallery enumerations.
21  *
22  * This header file contains the declarations of the Gallery enumerations.
23  *
24  * These enumerations define the various properties of a %Gallery control.
25  */
26 #ifndef _FUI_CTRL_GALLERY_ENUM_H_
27 #define _FUI_CTRL_GALLERY_ENUM_H_
28
29 namespace Tizen { namespace Ui { namespace Controls
30 {
31
32 /**
33  * @enum GalleryImageRotation
34  *
35  * Defines the rotation of an image of a Gallery control.
36  *
37  * @since 2.0
38  *
39  */
40 enum GalleryImageRotation
41 {
42         GALLERY_IMAGE_ROTATION_0 = 0,                           /**< The no rotation */
43         GALLERY_IMAGE_ROTATION_90,                                      /**< The 90 degree clockwise rotation */
44         GALLERY_IMAGE_ROTATION_180,                                     /**< The clockwise rotation */
45         GALLERY_IMAGE_ROTATION_270                                      /**< The anticlockwise rotation */
46 };
47
48 /**
49  * @enum GalleryAnimation
50  *
51  * Defines the animation type of a Gallery control.
52  *
53  * @since 2.0
54  *
55  */
56 enum GalleryAnimation
57 {
58         GALLERY_ANIMATION_PAGE,                                                 /**< The page turn animation */
59         GALLERY_ANIMATION_DISSOLVE,                                             /**< The dissolve animation */
60         GALLERY_ANIMATION_ZOOM                                                  /**< The zoom animation */
61 };
62
63 /**
64  * @enum  GalleryRefreshType
65  *
66  * Defines the update type of a Gallery control.
67  *
68  * @since 2.0
69  *
70  */
71 enum GalleryRefreshType
72 {
73         GALLERY_REFRESH_TYPE_ITEM_ADD = 0,                              /**< The refresh type is add */
74         GALLERY_REFRESH_TYPE_ITEM_REMOVE,                               /**< The refresh type is remove */
75         GALLERY_REFRESH_TYPE_ITEM_MODIFY                                /**< The refresh type is modify */
76 };
77
78 }}} // Tizen::Ui::Controls
79
80 #endif // _FUI_CTRL_GALLERY_ENUM_H_