X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali-toolkit%2Finternal%2Fcontrols%2Fbuttons%2Fbutton-impl.h;h=0701d3c9ee12ab1b74a53527f49174e4032999ed;hb=HEAD;hp=ced51fde93a6bd4e1a95312d0865eb22d1656841;hpb=f1876c34a8f667f79182fa8a772ee889e27290c1;p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git diff --git a/dali-toolkit/internal/controls/buttons/button-impl.h b/dali-toolkit/internal/controls/buttons/button-impl.h index ced51fd..0701d3c 100644 --- a/dali-toolkit/internal/controls/buttons/button-impl.h +++ b/dali-toolkit/internal/controls/buttons/button-impl.h @@ -2,7 +2,7 @@ #define DALI_TOOLKIT_INTERNAL_BUTTON_H /* - * Copyright (c) 2021 Samsung Electronics Co., Ltd. + * Copyright (c) 2023 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. @@ -322,6 +322,11 @@ protected: // From Control bool OnAccessibilityActivated() override; /** + * @copydoc Toolkit::Internal::Control::CreateAccessibleObject() + */ + DevelControl::ControlAccessible* CreateAccessibleObject() override; + + /** * @copydoc Toolkit::Control::OnKeyboardEnter() */ bool OnKeyboardEnter() override; @@ -372,6 +377,11 @@ private: void OnTap(Actor actor, const TapGesture& tap); /** + * @copydoc Control::OnTap + */ + using Control::OnTap; + + /** * Sets up the autorepeating timer. * @param[in] delay The delay time in seconds. */ @@ -535,13 +545,25 @@ private: bool mClickActionPerforming; ///< Used to manage signal emissions during action protected: - struct AccessibleImpl : public DevelControl::AccessibleImpl + class ButtonAccessible : public DevelControl::ControlAccessible { - using DevelControl::AccessibleImpl::AccessibleImpl; + public: + using DevelControl::ControlAccessible::ControlAccessible; + /** + * @copydoc Dali::Toolkit::DevelControl::ControlAccessible::CalculateStates() + */ Dali::Accessibility::States CalculateStates() override; - std::string GetNameRaw() override; - Property::Index GetNamePropertyIndex() override; + + /** + * @copydoc Dali::Toolkit::DevelControl::ControlAccessible::GetNameRaw() + */ + std::string GetNameRaw() const override; + + /** + * @copydoc Dali::Toolkit::DevelControl::ControlAccessible::GetNamePropertyIndex() + */ + Property::Index GetNamePropertyIndex() override; }; };