/*
- * Copyright (c) 2016 Samsung Electronics Co., Ltd.
+ * Copyright (c) 2017 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.
#include <dali/public-api/object/type-registry-helper.h>
// INTERNAL INCLUDES
+#include <dali-toolkit/internal/controls/control/control-data-impl.h>
namespace Dali
{
return navigationView;
}
-void NavigationView::OnStageConnection( int depth )
+void NavigationView::OnInitialize()
{
- Self().SetSensitive(true);
+ DevelControl::SetAccessibilityConstructor( Self(), []( Dali::Actor actor ) {
+ return std::unique_ptr< Dali::Accessibility::Accessible >(
+ new Control::Impl::AccessibleImpl( actor, Dali::Accessibility::Role::FILLER ) );
+ } );
+}
+
+void NavigationView::OnSceneConnection( int depth )
+{
+ Self().SetProperty( Actor::Property::SENSITIVE,true);
+
+ Control::OnSceneConnection( depth );
}
void NavigationView::Push( Actor& actor )