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.
17 #ifndef _FUI_CTRL_INTERNAL_GALLERY_ENUM_H_
18 #define _FUI_CTRL_INTERNAL_GALLERY_ENUM_H_
20 namespace Tizen { namespace Ui { namespace Controls {
22 enum _GalleryImageRotation
24 GALLERY_INTERNAL_IMAGE_ROTATION_0 = 0, /**< No rotate */
25 GALLERY_INTERNAL_IMAGE_ROTATION_90, /**< The 90 degree clockwise rotation */
26 GALLERY_INTERNAL_IMAGE_ROTATION_180, /**< The clockwise rotation */
27 GALLERY_INTERNAL_IMAGE_ROTATION_270 /**< The anticlockwise rotation */
30 enum _GallerySlideShowType {
31 GALLERY_SLIDESHOW_NONE = -1,
32 GALLERY_SLIDESHOW_DISSOLVE = 0,
33 GALLERY_SLIDESHOW_ZOOM,
34 GALLERY_SLIDESHOW_PAGE,
37 enum _GalleryAnimationTimingFunction
39 GALLERY_ANIMATION_TIMING_FUNC_LINEAR = 0,
40 GALLERY_ANIMATION_TIMING_FUNC_EASEIN,
41 GALLERY_ANIMATION_TIMING_FUNC_EASEOUT,
42 GALLERY_ANIMATION_TIMING_FUNC_EASEINOUT
45 enum _GalleryVerticalAlignment
47 GALLERY_VERTICAL_ALIGN_TOP = 0,
48 GALLERY_VERTICAL_ALIGN_MIDDLE, // default
49 GALLERY_VERTICAL_ALIGN_BOTTOM,
52 enum _GalleryHorizontalAlignment
54 GALLERY_HORIZONTAL_ALIGN_LEFT = 0,
55 GALLERY_HORIZONTAL_ALIGN_CENTER, // default
56 GALLERY_HORIZONTAL_ALIGN_RIGHT,
59 enum _GalleryFittingType
61 GALLERY_FITTING_TYPE_NONE = 0,
62 GALLERY_FITTING_TYPE_FIT,
63 GALLERY_FITTING_TYPE_FIT_XY,
64 GALLERY_FITTING_TYPE_STRECTABLE,
65 GALLERY_FITTING_TYPE_SHRINKABLE,
69 struct _GalleryAnimationTiming
72 _GalleryAnimationTimingFunction timingFunction;
75 struct _GalleryImageAlignment
77 _GalleryVerticalAlignment verticalAlignment;
78 _GalleryHorizontalAlignment horizontalAlignment;
81 }}} // Tizen::Ui::Controls
83 #endif //_FUI_CTRL_INTERNAL_GALLERY_ENUM_H_