X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git;a=blobdiff_plain;f=dali-toolkit%2Fpublic-api%2Fcontrols%2Fcontrol-impl.h;h=b8ae6bb013d4eb7555f062591165ef7f5ee4983d;hp=1c396c0020468c8768c1cbf154607ed3287d31df;hb=07bbc876b9b069903dd4ed86c9dd5f2f66fc3b86;hpb=c3f7ea6cb0c0b75c2276193aff88b5c7a679a2d5 diff --git a/dali-toolkit/public-api/controls/control-impl.h b/dali-toolkit/public-api/controls/control-impl.h index 1c396c0..b8ae6bb 100644 --- a/dali-toolkit/public-api/controls/control-impl.h +++ b/dali-toolkit/public-api/controls/control-impl.h @@ -35,11 +35,15 @@ namespace Dali namespace Toolkit { +/** + * @addtogroup dali-toolkit-controls + * @{ + */ + class StyleManager; namespace Internal { - /** * @brief This is the internal base class for all controls. * @@ -222,13 +226,16 @@ public: */ bool IsKeyboardFocusGroup(); - // Called by Focus Manager - /** - * @brief Called by the accessibility focus manager and keyboard focus manager to activate the Control + * @brief Called by the AccessibilityManager to activate the Control. */ DALI_INTERNAL void AccessibilityActivate(); + /** + * @brief Called by the KeyboardFocusManager. + */ + DALI_INTERNAL void KeyboardEnter(); + // Signals /** @@ -270,7 +277,7 @@ protected: // From CustomActorImpl, not to be used by application developers /** * @copydoc CustomActorImpl::OnStageConnection() */ - virtual void OnStageConnection(); + virtual void OnStageConnection( int depth ); /** * @copydoc CustomActorImpl::OnStageDisconnection() @@ -465,6 +472,14 @@ public: // API for derived classes to override */ virtual bool OnAccessibilityValueChange( bool isIncrease ); + /** + * @brief This method should be overridden by deriving classes when they wish to respond + * the accessibility zoom action + * + * @return true if the zoom action has been consumed by this control + */ + virtual bool OnAccessibilityZoom(); + // Keyboard focus /** @@ -502,6 +517,14 @@ public: // API for derived classes to override */ virtual void OnKeyboardFocusChangeCommitted( Actor commitedFocusableActor ); + /** + * @brief This method is called when the control has enter pressed on it. + * + * Derived classes should override this to perform custom actions. + * @return true if this control supported this action. + */ + virtual bool OnKeyboardEnter(); + // Gestures /** @@ -597,7 +620,7 @@ private: * @param handle * @return implementation */ -Internal::Control& GetImplementation( Dali::Toolkit::Control& handle ); +DALI_IMPORT_API Internal::Control& GetImplementation( Dali::Toolkit::Control& handle ); /** * @brief Get implementation from the handle @@ -606,10 +629,13 @@ Internal::Control& GetImplementation( Dali::Toolkit::Control& handle ); * @param handle * @return implementation */ -const Internal::Control& GetImplementation( const Dali::Toolkit::Control& handle ); +DALI_IMPORT_API const Internal::Control& GetImplementation( const Dali::Toolkit::Control& handle ); } // namespace Internal +/** + * @} + */ } // namespace Toolkit } // namespace Dali