From 43cf754d86f6c43704540f964172ea7d2571d4e1 Mon Sep 17 00:00:00 2001 From: Youngsun Suh Date: Mon, 19 Aug 2024 17:13:38 +0900 Subject: [PATCH] Add ActionInfo & SCROLL_TO_CHILD ActionType Change-Id: If8d3284150bfda5097bafeb41bddab2d809d3c64 --- dali/devel-api/adaptor-framework/accessibility.h | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/dali/devel-api/adaptor-framework/accessibility.h b/dali/devel-api/adaptor-framework/accessibility.h index 487b0bc..87ffe24 100644 --- a/dali/devel-api/adaptor-framework/accessibility.h +++ b/dali/devel-api/adaptor-framework/accessibility.h @@ -25,6 +25,7 @@ // INTERNAL INCLUDES #include +#include #include namespace Dali @@ -519,6 +520,7 @@ enum class ActionType ESCAPE, INCREMENT, DECREMENT, + SCROLL_TO_CHILD, MAX_COUNT }; @@ -738,6 +740,19 @@ struct DALI_ADAPTOR_API Relation std::vector mTargets; }; +struct DALI_ADAPTOR_API ActionInfo +{ + ActionInfo() = default; + ActionInfo(ActionType type, Actor target) + : type{type}, + target{target} + { + } + + ActionType type{ActionType::MAX_COUNT}; + Actor target{}; +}; + } // namespace Accessibility } // namespace Dali -- 2.7.4