*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
-typedef std::vector<Dali::Animation> AnimationList;
-typedef AnimationList::iterator AnimationListIter;
+typedef std::vector<Dali::Animation> AnimationList;
+typedef AnimationList::iterator AnimationListIter;
- std::string name; ///< unique name of example
- std::string title; ///< title (caption) of example to appear on tile button.
+ std::string name; ///< unique name of example
+ std::string title; ///< title (caption) of example to appear on tile button.
* @note Should be called before the Application MainLoop is started.
* @note By default the examples are NOT sorted alphabetically by Title.
*/
* @note Should be called before the Application MainLoop is started.
* @note By default the examples are NOT sorted alphabetically by Title.
*/
- Dali::Actor CreateTile( const std::string& name, const std::string& title, const Dali::Vector3& sizeMultiplier, Dali::Vector2& position );
+ Dali::Actor CreateTile(const std::string& name, const std::string& title, const Dali::Vector3& sizeMultiplier, Dali::Vector2& position);
* @param[in] layer The layer to add the actors to
* @param[in] count The number of actors to generate
*/
* @param[in] layer The layer to add the actors to
* @param[in] count The number of actors to generate
*/
* @param[in] direction The direction to move the focus
* @return The actor to move the keyboard focus to.
*/
* @param[in] direction The direction to move the focus
* @return The actor to move the keyboard focus to.
*/
- Dali::Actor OnKeyboardPreFocusChange( Dali::Actor current, Dali::Actor proposed, Dali::Toolkit::Control::KeyboardFocus::Direction direction );
+ Dali::Actor OnKeyboardPreFocusChange(Dali::Actor current, Dali::Actor proposed, Dali::Toolkit::Control::KeyboardFocus::Direction direction);
/**
* Callback when the keyboard focused actor is activated.
*
* @param[in] activatedActor The activated actor
*/
/**
* Callback when the keyboard focused actor is activated.
*
* @param[in] activatedActor The activated actor
*/
- void OnFocusedActorActivated( Dali::Actor activatedActor );
+ void OnFocusedActorActivated(Dali::Actor activatedActor);
+
+ /**
+ * Callback when the keyboard focus indicator is enabled.
+ *
+ * @param[in] actor The keyboard focus indicator.
+ */
+ void OnFocusIndicatorEnabled(Dali::Actor actor);
+
+ /**
+ * Callback when the keyboard focus indicator is disabled.
+ *
+ * @param[in] actor The keyboard focus indicator.
+ */
+ void OnFocusIndicatorDisabled(Dali::Actor actor);
- /**
- * @brief The is connected to the keyboard focus highlight actor, and called when it is placed on stage.
- * @param[in] actor The actor that has been placed on stage.
+ /**
+ * @brief The is connected to the keyboard focus highlight actor, and called when it is placed on the scene.
+ * @param[in] actor The actor that has been placed on the scene.
* @brief Callback called to set up background actors
*
* @param[in] actor The actor raising the callback
*/
* @brief Callback called to set up background actors
*
* @param[in] actor The actor raising the callback
*/
-
- Dali::Application& mApplication; ///< Application instance.
- Dali::Toolkit::Control mRootActor; ///< All content (excluding background is anchored to this Actor)
- Dali::Animation mRotateAnimation; ///< Animation to rotate and resize mRootActor.
- Dali::Animation mPressedAnimation; ///< Button press scaling animation.
- Dali::Toolkit::ScrollView mScrollView; ///< ScrollView container (for all Examples)
- Dali::Toolkit::ScrollViewEffect mScrollViewEffect; ///< Effect to be applied to the scroll view
- Dali::Toolkit::RulerPtr mScrollRulerX; ///< ScrollView X (horizontal) ruler
- Dali::Toolkit::RulerPtr mScrollRulerY; ///< ScrollView Y (vertical) ruler
- Dali::Actor mPressedActor; ///< The currently pressed actor.
- Dali::Timer mAnimationTimer; ///< Timer used to turn off animation after a specific time period
- Dali::TapGestureDetector mLogoTapDetector; ///< To detect taps on the logo
- Dali::Toolkit::Popup mVersionPopup; ///< Displays DALi library version information
+ Dali::Application& mApplication; ///< Application instance.
+ Dali::Toolkit::Control mRootActor; ///< All content (excluding background is anchored to this Actor)
+ Dali::Animation mRotateAnimation; ///< Animation to rotate and resize mRootActor.
+ Dali::Animation mPressedAnimation; ///< Button press scaling animation.
+ Dali::Toolkit::ScrollView mScrollView; ///< ScrollView container (for all Examples)
+ Dali::Toolkit::ScrollViewEffect mScrollViewEffect; ///< Effect to be applied to the scroll view
+ Dali::Toolkit::RulerPtr mScrollRulerX; ///< ScrollView X (horizontal) ruler
+ Dali::Toolkit::RulerPtr mScrollRulerY; ///< ScrollView Y (vertical) ruler
+ Dali::Actor mPressedActor; ///< The currently pressed actor.
+ Dali::Timer mAnimationTimer; ///< Timer used to turn off animation after a specific time period
+ Dali::TapGestureDetector mLogoTapDetector; ///< To detect taps on the logo
+ Dali::Toolkit::Popup mVersionPopup; ///< Displays DALi library version information
- Dali::Toolkit::ImageView actor; ///< The parent keyboard focus highlight actor
- Dali::Animation animation; ///< The animation for the parent keyboard focus highlight actor
+ Dali::Toolkit::ImageView actor; ///< The parent keyboard focus highlight actor
+ Dali::Animation animation; ///< The animation for the parent keyboard focus highlight actor
- FocusEffect mFocusEffect[FOCUS_ANIMATION_ACTOR_NUMBER]; ///< The elements used to create the custom focus effect
-
- std::vector< Dali::Actor > mPages; ///< List of pages.
- AnimationList mBackgroundAnimations; ///< List of background bubble animations
- ExampleList mExampleList; ///< List of examples.
+ FocusEffect mFocusEffect[FOCUS_ANIMATION_ACTOR_NUMBER]; ///< The elements used to create the custom focus effect
- float mPageWidth; ///< The width of a page within the scroll-view, used to calculate the domain
- int mTotalPages; ///< Total pages within scrollview.
+ std::vector<Dali::Actor> mPages; ///< List of pages.
+ AnimationList mBackgroundAnimations; ///< List of background bubble animations
+ ExampleList mExampleList; ///< List of examples.
- bool mScrolling:1; ///< Flag indicating whether view is currently being scrolled
- bool mSortAlphabetically:1; ///< Sort examples alphabetically.
- bool mBackgroundAnimsPlaying:1; ///< Are background animations playing
+ float mPageWidth; ///< The width of a page within the scroll-view, used to calculate the domain
+ int mTotalPages; ///< Total pages within scrollview.