Remove use of deprecated Control flag REQUIRES_STYLE_CHANGE_SIGNALS 73/243173/1
authorAdeel Kazmi <adeel.kazmi@samsung.com>
Thu, 3 Sep 2020 13:40:30 +0000 (14:40 +0100)
committerAdeel Kazmi <adeel.kazmi@samsung.com>
Thu, 3 Sep 2020 13:40:30 +0000 (14:40 +0100)
Change-Id: Ic99cbf5d597c659fefc44b943109f50d311445ae

examples/simple-visuals-control/my-control-impl.cpp
examples/styling/image-channel-control-impl.cpp
examples/text-label/expanding-buttons-impl.cpp
examples/transitions/shadow-button-impl.cpp
examples/visual-transitions/beat-control-impl.cpp

index 995259b..84e0acd 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2017 Samsung Electronics Co., Ltd.
+ * Copyright (c) 2020 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.
@@ -62,7 +62,7 @@ DALI_ENUM_TO_STRING_TABLE_END( VISUAL_PROPERTIES )
 
 
 Internal::MyControl::MyControl()
-: Control( ControlBehaviour( REQUIRES_STYLE_CHANGE_SIGNALS ) )
+: Control( ControlBehaviour( CONTROL_BEHAVIOUR_DEFAULT ) )
 {
 }
 
index f494cc4..40065ce 100644 (file)
@@ -68,7 +68,7 @@ DALI_TYPE_REGISTRATION_END();
 
 
 Internal::ImageChannelControl::ImageChannelControl()
-: Control( ControlBehaviour( REQUIRES_STYLE_CHANGE_SIGNALS ) ),
+: Control( ControlBehaviour( CONTROL_BEHAVIOUR_DEFAULT ) ),
   mChannels( 1.0f, 1.0f, 1.0f ),
   mChannelIndex( Property::INVALID_INDEX ),
   mVisibility(true),
index a4892a8..73003fc 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2019 Samsung Electronics Co., Ltd.
+ * Copyright (c) 2020 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.
@@ -52,7 +52,7 @@ void ResetControls( std::vector< WeakHandle< Control > > controls, unsigned int
 
 
 Internal::ExpandingButtons::ExpandingButtons()
-: Control( ControlBehaviour( REQUIRES_STYLE_CHANGE_SIGNALS ) ),
+: Control( ControlBehaviour( CONTROL_BEHAVIOUR_DEFAULT ) ),
   mStyleButtonsHidden( false )
 {
 }
index 4b48e92..51867d6 100644 (file)
@@ -80,7 +80,7 @@ Toolkit::TransitionData ConvertPropertyToTransition( const Property::Value& valu
 
 
 Internal::ShadowButton::ShadowButton()
-: Control( ControlBehaviour( REQUIRES_STYLE_CHANGE_SIGNALS ) ),
+: Control( ControlBehaviour( CONTROL_BEHAVIOUR_DEFAULT ) ),
   mCheckState(false),
   mActiveState(false)
 {
index 47f2e47..956fe11 100644 (file)
@@ -75,7 +75,7 @@ Toolkit::TransitionData ConvertPropertyToTransition( const Property::Value& valu
 
 
 Internal::BeatControl::BeatControl()
-: Control( ControlBehaviour( REQUIRES_STYLE_CHANGE_SIGNALS ) ),
+: Control( ControlBehaviour( CONTROL_BEHAVIOUR_DEFAULT ) ),
   mTransformSize(1.0f, 1.0f),
   mTransformOrigin(Align::CENTER),
   mTransformAnchorPoint(Align::CENTER),