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 FUiScenesTypes.h
20 * @brief This is the header file for the common data types used by the scene management.
22 * This header file contains the declarations of the common data types and constants used by the scene management.
25 #ifndef _FUI_SCENES_TYPES_H_
26 #define _FUI_SCENES_TYPES_H_
29 #include <FBaseString.h>
32 namespace Tizen { namespace Ui { namespace Scenes
40 typedef Tizen::Base::String SceneId;
47 typedef Tizen::Base::String SceneTransitionId;
50 * @enum SceneTransitionDirection
52 * Defines the scene transition directions whether forward or backward.
56 enum SceneTransitionDirection
58 SCENE_TRANSITION_DIRECTION_FORWARD, /**< The transition is forward */
59 SCENE_TRANSITION_DIRECTION_BACKWARD, /**< The transition is backward */
63 * @enum SceneHistoryOption
65 * Defines the scene history operation options whether to add to history or not.
69 enum SceneHistoryOption
71 SCENE_HISTORY_OPTION_ADD_HISTORY, /**< The current scene would be added to history */
72 SCENE_HISTORY_OPTION_NO_HISTORY, /**< The current scene would not be added to history */
76 * @enum SceneDestroyOption
78 * Defines the scene destroy options.
82 enum SceneDestroyOption
84 SCENE_DESTROY_OPTION_KEEP, /**< The current scene will not be destroyed */
85 SCENE_DESTROY_OPTION_DESTROY, /**< The current scene will be destroyed after the transition is completed */
89 * @enum SceneTransitionAnimationType
91 * Defines the scene transition animation types.
95 * @see Tizen::Ui::Animations::FrameAnimatorFormTransitionAnimation
97 enum SceneTransitionAnimationType
99 SCENE_TRANSITION_ANIMATION_TYPE_NONE, /**< No transition animation */
100 SCENE_TRANSITION_ANIMATION_TYPE_CUSTOM, /**< The custom transition animation with ISceneAnimationProvider */
101 SCENE_TRANSITION_ANIMATION_TYPE_LEFT, /**< The transition animation using translate left animation */
102 SCENE_TRANSITION_ANIMATION_TYPE_RIGHT, /**< The transition animation using translate right animation */
103 SCENE_TRANSITION_ANIMATION_TYPE_FADE_IN_OUT, /**< The transition animation using alpha animation */
104 SCENE_TRANSITION_ANIMATION_TYPE_ZOOM_IN, /**< The transition animation using scale animation */
105 SCENE_TRANSITION_ANIMATION_TYPE_ZOOM_OUT, /**< The transition animation using scale animation */
106 SCENE_TRANSITION_ANIMATION_TYPE_DEPTH_IN, /**< The transition animation using scale and alpha animation */
107 SCENE_TRANSITION_ANIMATION_TYPE_DEPTH_OUT, /**< The transition animation using scale and alpha animation */
109 } } } // Tizen::Ui::Scenes
111 #endif //_FUI_SCENES_TYPES_H_