1 #ifndef DALI_ANIMATION_DEVEL_H
2 #define DALI_ANIMATION_DEVEL_H
5 * Copyright (c) 2017 Samsung Electronics Co., Ltd.
7 * Licensed under the Apache License, Version 2.0 (the "License");
8 * you may not use this file except in compliance with the License.
9 * You may obtain a copy of the License at
11 * http://www.apache.org/licenses/LICENSE-2.0
13 * Unless required by applicable law or agreed to in writing, software
14 * distributed under the License is distributed on an "AS IS" BASIS,
15 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 * See the License for the specific language governing permissions and
17 * limitations under the License.
22 #include <dali/public-api/animation/animation.h>
27 namespace DevelAnimation
31 * @brief Set progress percentage marker to trigger ProgressHasBeenReachedSignal
33 * @param[in] animation the animation object to perform this operation on
34 * @param[in] progress the progress percentage to trigger the signal at, e.g .3 for 30%.
36 DALI_IMPORT_API void SetProgressNotification( Animation animation, float progress );
39 * @brief Get progress percentage marker that has been set to trigger ProgressHasBeenReachedSignal
41 * @param[in] animation the animation object to perform this operation on
42 * @return the percentage to trigger at eg 0.3 for 30%
44 DALI_IMPORT_API float GetProgressNotification( Animation animation );
47 * @brief Connects to this signal to be notified when an Animation's animations have reached set progress.
49 * @return A signal object to connect with
52 DALI_IMPORT_API Animation::AnimationSignalType& ProgressReachedSignal( Animation animation );
54 } // namespace DevelAnimation
58 #endif // DALI_ANIMATION_DEVEL_H