X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git;a=blobdiff_plain;f=dali-toolkit%2Finternal%2Ffocus-manager%2Fkeyboard-focus-manager-impl.h;h=783e3f56c539d3db5c8dc6b11ca9d8fbd1d98372;hp=07bf86f1eb7e0c1843c948d1577b0a220c58e51e;hb=23b2e42867831f09cb411f99dfd6d7c4403dc28a;hpb=9ddd5fea6278d06b8874988498c7c4c6508750ba diff --git a/dali-toolkit/internal/focus-manager/keyboard-focus-manager-impl.h b/dali-toolkit/internal/focus-manager/keyboard-focus-manager-impl.h index 07bf86f..783e3f5 100644 --- a/dali-toolkit/internal/focus-manager/keyboard-focus-manager-impl.h +++ b/dali-toolkit/internal/focus-manager/keyboard-focus-manager-impl.h @@ -152,6 +152,16 @@ public: */ bool IsFocusIndicatorEnabled() const; + /** + * @copydoc Toolkit::DevelKeyboardFocusManager::EnableDefaultAlgorithm + */ + void EnableDefaultAlgorithm(bool enable); + + /** + * @copydoc Toolkit::DevelKeyboardFocusManager::IsDefaultAlgorithmEnabled + */ + bool IsDefaultAlgorithmEnabled() const; + public: /** * @copydoc Toolkit::KeyboardFocusManager::PreFocusChangeSignal() @@ -282,6 +292,12 @@ private: void OnTouch(const TouchEvent& touch); /** + * Callback for the wheel event when the custom wheel event occurs. + * @param[in] wheel The WheelEvent information + */ + bool OnWheelEvent(const WheelEvent& wheel); + + /** * Called when the window focus is changed. * @param[in] window The window whose focus is changed * @param[in] focusIn Whether the focus is in/out @@ -293,6 +309,14 @@ private: */ Actor GetFocusActorFromCurrentWindow(); + /** + * Recursively deliver events to the control and its parents, until the event is consumed or the stage is reached. + * @param[in] actor The actor got WheelEvent. + * @param[in] event The WheelEvent. + * @return True if WheelEvent is consumed. + */ + bool EmitWheelSignals(Actor actor, const WheelEvent& event); + private: // Undefined KeyboardFocusManager(const KeyboardFocusManager&); @@ -332,6 +356,8 @@ private: bool mIsWaitingKeyboardFocusChangeCommit : 1; /// A flag to indicate PreFocusChangeSignal emitted but the proposed focus actor is not commited by the application yet. bool mClearFocusOnTouch : 1; ///< Whether clear focus on touch. + + bool mEnableDefaultAlgorithm : 1; ///< Whether use default algorithm focus }; } // namespace Internal