From 0bce7d9ccef748a712266e2280b57f6f5cc98d0b Mon Sep 17 00:00:00 2001 From: Kimmo Hoikka Date: Wed, 10 Jun 2015 13:36:09 +0100 Subject: [PATCH] Dont register accessibility and keyboard focus properties as scene graph properties Change-Id: I8a978218db2e7fad39e9065bad8c63f0a01b5e63 --- .../internal/focus-manager/accessibility-focus-manager-impl.cpp | 6 +++--- dali-toolkit/internal/focus-manager/keyboard-focus-manager-impl.cpp | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/dali-toolkit/internal/focus-manager/accessibility-focus-manager-impl.cpp b/dali-toolkit/internal/focus-manager/accessibility-focus-manager-impl.cpp index 728bd42..0be65d3 100644 --- a/dali-toolkit/internal/focus-manager/accessibility-focus-manager-impl.cpp +++ b/dali-toolkit/internal/focus-manager/accessibility-focus-manager-impl.cpp @@ -190,7 +190,7 @@ void AccessibilityFocusManager::SetFocusOrder(Actor actor, const unsigned int or Property::Index propertyActorFocusable = actor.GetPropertyIndex(ACTOR_FOCUSABLE); if(propertyActorFocusable == Property::INVALID_INDEX) { - propertyActorFocusable = actor.RegisterProperty(ACTOR_FOCUSABLE, true); + propertyActorFocusable = actor.RegisterProperty( ACTOR_FOCUSABLE, true, Property::READ_WRITE ); } if(order == 0) @@ -511,7 +511,7 @@ void AccessibilityFocusManager::SetFocusGroup(Actor actor, bool isFocusGroup) Property::Index propertyIsFocusGroup = actor.GetPropertyIndex(IS_FOCUS_GROUP); if(propertyIsFocusGroup == Property::INVALID_INDEX) { - actor.RegisterProperty(IS_FOCUS_GROUP, isFocusGroup); + actor.RegisterProperty( IS_FOCUS_GROUP, isFocusGroup, Property::READ_WRITE ); } else { @@ -654,7 +654,7 @@ void AccessibilityFocusManager::SetFocusable(Actor actor, bool focusable) Property::Index propertyActorFocusable = actor.GetPropertyIndex(ACTOR_FOCUSABLE); if(propertyActorFocusable == Property::INVALID_INDEX) { - actor.RegisterProperty(ACTOR_FOCUSABLE, focusable); + actor.RegisterProperty( ACTOR_FOCUSABLE, focusable, Property::READ_WRITE ); } else { diff --git a/dali-toolkit/internal/focus-manager/keyboard-focus-manager-impl.cpp b/dali-toolkit/internal/focus-manager/keyboard-focus-manager-impl.cpp index 19573e8..5be38ac 100644 --- a/dali-toolkit/internal/focus-manager/keyboard-focus-manager-impl.cpp +++ b/dali-toolkit/internal/focus-manager/keyboard-focus-manager-impl.cpp @@ -397,7 +397,7 @@ void KeyboardFocusManager::SetAsFocusGroup(Actor actor, bool isFocusGroup) Property::Index propertyIsFocusGroup = actor.GetPropertyIndex(IS_FOCUS_GROUP_PROPERTY_NAME); if(propertyIsFocusGroup == Property::INVALID_INDEX) { - actor.RegisterProperty(IS_FOCUS_GROUP_PROPERTY_NAME, isFocusGroup); + actor.RegisterProperty(IS_FOCUS_GROUP_PROPERTY_NAME, isFocusGroup, Property::READ_WRITE ); } else { -- 2.7.4