X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git;a=blobdiff_plain;f=dali-toolkit%2Finternal%2Faccessibility-manager%2Faccessibility-manager-impl.h;h=76b34b317fe45056f47f13bf912eb4ee5e3d0a4c;hp=f794170024b03dac2e6f05239c94a8cebd248701;hb=70162c49a1387daf074414b7c6223417fce53419;hpb=e42dc155f49bacd9635433efafcfe3004392ddcf diff --git a/dali-toolkit/internal/accessibility-manager/accessibility-manager-impl.h b/dali-toolkit/internal/accessibility-manager/accessibility-manager-impl.h index f794170..76b34b3 100644 --- a/dali-toolkit/internal/accessibility-manager/accessibility-manager-impl.h +++ b/dali-toolkit/internal/accessibility-manager/accessibility-manager-impl.h @@ -1,8 +1,8 @@ -#ifndef __DALI_TOOLKIT_INTERNAL_ACCESSIBILITY_MANAGER_H__ -#define __DALI_TOOLKIT_INTERNAL_ACCESSIBILITY_MANAGER_H__ +#ifndef DALI_TOOLKIT_INTERNAL_ACCESSIBILITY_MANAGER_H +#define DALI_TOOLKIT_INTERNAL_ACCESSIBILITY_MANAGER_H /* - * Copyright (c) 2016 Samsung Electronics Co., Ltd. + * Copyright (c) 2020 Samsung Electronics Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -23,11 +23,11 @@ #include #include #include +#include #include -#include // INTERNAL INCLUDES -#include +#include #include namespace Dali @@ -407,14 +407,6 @@ public: // Signals } /** - * @copydoc Dali::Toolkit::AccessibilityManager::ActionReadIndicatorInformationSignal - */ - AccessibilityActionSignalType& ActionReadIndicatorInformationSignal() - { - return mActionReadIndicatorInformationSignal; - } - - /** * @copydoc Dali::Toolkit::AccessibilityManager::ActionReadPauseResumeSignal */ AccessibilityActionSignalType& ActionReadPauseResumeSignal() @@ -498,7 +490,7 @@ private: * @param[in] panEvent The pan event to be handled. * @return whether the gesture is handled successfully or not. */ - virtual bool HandlePanGesture(const Integration::PanGestureEvent& panEvent); + virtual bool HandlePanGesture(const AccessibilityGestureEvent& panEvent); /** * Change the accessibility status when Accessibility feature(screen-reader) turned on or off. @@ -514,10 +506,10 @@ private: /** * Perform the accessibility action associated with a scroll event. - * @param touchEvent The touch point (and time) of the event. + * @param touchData The touch point (and time) of the event. * @return whether the focus is cleared or not. */ - virtual bool AccessibilityActionScroll( Dali::TouchEvent& touchEvent ); + virtual bool AccessibilityActionScroll( Dali::TouchData& touchData ); /** * Perform the accessibility action to move focus to the previous focusable actor (by one finger flick up). @@ -667,10 +659,10 @@ private: /** * Perform the accessibility action to mouse move (by one finger tap & hold and move). - * @param touchEvent touch event structure + * @param touchData touch point and time of the event * @return whether the accessibility action is performed or not. */ - virtual bool AccessibilityActionTouch(const TouchEvent& touchEvent); + virtual bool AccessibilityActionTouch(const TouchData& touchData); /** * This function is connected to the TtsPlayer StateChangeSignal. @@ -717,7 +709,6 @@ private: AccessibilityActionSignalType mActionReadFromTopSignal; AccessibilityActionSignalType mActionReadFromNextSignal; AccessibilityActionSignalType mActionZoomSignal; - AccessibilityActionSignalType mActionReadIndicatorInformationSignal; AccessibilityActionSignalType mActionReadPauseResumeSignal; AccessibilityActionSignalType mActionStartStopSignal; AccessibilityActionScrollSignalType mActionScrollSignal; @@ -729,6 +720,8 @@ private: Actor mFocusIndicatorActor; ///< The focus indicator actor shared by all the focusable actors for highlight Vector2 mPreviousPosition; ///< The previous pan position; useful for calculating velocity for Gesture::Finished events unsigned int mRecursiveFocusMoveCounter; ///< The counter to count the number of recursive focus movement attempted before the focus movement is successful. + std::string mFocusSoundFilePath; ///< The path of the focus sound file + std::string mFocusChainEndSoundFilePath; ///< The path of the focus chain end sound file bool mIsWrapped:1; ///< Whether the focus movement is wrapped around or not bool mIsFocusWithinGroup:1; ///< Whether the focus movement is limited to the current focus group or not @@ -738,6 +731,8 @@ private: bool mTtsCreated:1; ///< Whether the TTS Player has been accessed bool mIsFocusIndicatorEnabled:1; ///< Whether indicator should be shown / hidden. It could be enabled when TTS enabled or 'Tab' key operated. bool mContinuousPlayMode:1; ///< Keeps track of whether or not we are in continuous play mode + bool mIsFocusSoundFilePathSet:1; ///< Whether the path of the focus sound file has been set + bool mIsFocusChainEndSoundFilePathSet:1; ///< Whether the path of the focus chain end sound file has been set }; @@ -765,4 +760,4 @@ inline const Internal::AccessibilityManager& GetImpl(const Dali::Toolkit::Access } // namespace Dali -#endif // __DALI_TOOLKIT_INTERNAL_ACCESSIBILITY_MANAGER_H__ +#endif // DALI_TOOLKIT_INTERNAL_ACCESSIBILITY_MANAGER_H