Add ACCESSIBILITY_HIGHLIGHTABLE for ATSPI 99/258799/1
authorJoogab Yun <joogab.yun@samsung.com>
Wed, 26 May 2021 02:22:31 +0000 (11:22 +0900)
committerJoogab Yun <joogab.yun@samsung.com>
Wed, 26 May 2021 02:23:07 +0000 (11:23 +0900)
Change-Id: Iff574b2342ac6a1d55d5618eee24119c7475b6b0

dali-toolkit/internal/controls/video-view/video-view-impl.cpp

index 509426ef697c040c02f70903ba174ea098452ff1..181a47e8519d4ddc95a9a08d452b18851bca19e1 100644 (file)
 // EXTERNAL INCLUDES
 #include <dali/devel-api/actors/actor-devel.h>
 #include <dali/devel-api/adaptor-framework/window-devel.h>
+#include <dali/devel-api/rendering/texture-devel.h>
 #include <dali/devel-api/scripting/scripting.h>
 #include <dali/integration-api/debug.h>
 #include <dali/public-api/adaptor-framework/native-image-source.h>
 #include <dali/public-api/animation/constraint.h>
 #include <dali/public-api/object/type-registry-helper.h>
 #include <dali/public-api/object/type-registry.h>
-#include <dali/devel-api/rendering/texture-devel.h>
 #include <cstring>
 
 // INTERNAL INCLUDES
@@ -123,6 +123,9 @@ void VideoView::OnInitialize()
       new DevelControl::AccessibleImpl(actor, Dali::Accessibility::Role::VIDEO));
   });
 
+  //Enable highightability
+  Self().SetProperty(Toolkit::DevelControl::Property::ACCESSIBILITY_HIGHLIGHTABLE, true);
+
   //update self property
   self.RegisterProperty(IS_VIDEO_VIEW_PROPERTY_NAME, true, Property::READ_WRITE);
 }