X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git;a=blobdiff_plain;f=dali-toolkit%2Fpublic-api%2Ffocus-manager%2Fkeyboard-focus-manager.h;h=df934f10c28638df6de491074955e61bf509a7c0;hp=caed5579ecff5d7ecb5c2661433a65e0bb8d37b7;hb=5a80f5b0c8814d86156be28bdcdafcfcd8486b49;hpb=e40f95b837ab8e9f1ce9094ebf4e6ac781e7bf6f diff --git a/dali-toolkit/public-api/focus-manager/keyboard-focus-manager.h b/dali-toolkit/public-api/focus-manager/keyboard-focus-manager.h index caed557..df934f1 100644 --- a/dali-toolkit/public-api/focus-manager/keyboard-focus-manager.h +++ b/dali-toolkit/public-api/focus-manager/keyboard-focus-manager.h @@ -1,8 +1,8 @@ -#ifndef __DALI_TOOLKIT_KEYBOARD_FOCUS_MANAGER_H__ -#define __DALI_TOOLKIT_KEYBOARD_FOCUS_MANAGER_H__ +#ifndef DALI_TOOLKIT_KEYBOARD_FOCUS_MANAGER_H +#define DALI_TOOLKIT_KEYBOARD_FOCUS_MANAGER_H /* - * Copyright (c) 2018 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,10 +23,8 @@ namespace Dali { - namespace Toolkit { - namespace Internal DALI_INTERNAL { class KeyboardFocusManager; @@ -56,20 +54,18 @@ class KeyboardFocusManager; */ class DALI_TOOLKIT_API KeyboardFocusManager : public BaseHandle { - public: - /// @brief Pre focus change signal - typedef Signal< Actor ( Actor, Actor, Control::KeyboardFocus::Direction ) > PreFocusChangeSignalType; + typedef Signal PreFocusChangeSignalType; /// @brief Focus changed signal - typedef Signal< void ( Actor, Actor ) > FocusChangedSignalType; + typedef Signal FocusChangedSignalType; /// @brief Focus group changed signal - typedef Signal< void ( Actor, bool ) > FocusGroupChangedSignalType; + typedef Signal FocusGroupChangedSignalType; /// @brief Focused actor has the enter key pressed signal - typedef Signal< void ( Actor ) > FocusedActorEnterKeySignalType; + typedef Signal FocusedActorEnterKeySignalType; /** * @brief Creates a KeyboardFocusManager handle; this can be initialized with KeyboardFocusManager::New(). @@ -106,6 +102,7 @@ public: * @return Whether the focus is successful or not * @pre The KeyboardFocusManager has been initialized. * @pre The Actor has been initialized. + * @note If the parent of this actor has the KEYBOARD FOCUSABLE CHILDREN property set to false, it will not be focused. */ bool SetCurrentFocusActor(Actor actor); @@ -225,7 +222,6 @@ public: void MoveFocusBackward(); public: // Signals - /** * @brief This signal is emitted before the focus is going to be changed. * @@ -301,7 +297,7 @@ public: // Signals * @SINCE_1_0.0 * @param[in] impl A pointer to the object */ - explicit DALI_INTERNAL KeyboardFocusManager(Internal::KeyboardFocusManager *impl); + explicit DALI_INTERNAL KeyboardFocusManager(Internal::KeyboardFocusManager* impl); /// @endcond }; // class KeyboardFocusManager @@ -313,4 +309,4 @@ public: // Signals } // namespace Dali -#endif // __DALI_TOOLKIT_KEYBOARD_FOCUS_MANAGER_H__ +#endif // DALI_TOOLKIT_KEYBOARD_FOCUS_MANAGER_H