Commit 027086a7150b7b8d78c5f079dc172e0a14bca7af

Authored by Adeel Kazmi
1 parent 346c047a

Remove use of deprecated Control flag REQUIRES_STYLE_CHANGE_SIGNALS

Change-Id: Ic99cbf5d597c659fefc44b943109f50d311445ae
examples/simple-visuals-control/my-control-impl.cpp
1 1 /*
2   - * Copyright (c) 2017 Samsung Electronics Co., Ltd.
  2 + * Copyright (c) 2020 Samsung Electronics Co., Ltd.
3 3 *
4 4 * Licensed under the Apache License, Version 2.0 (the "License");
5 5 * you may not use this file except in compliance with the License.
... ... @@ -62,7 +62,7 @@ DALI_ENUM_TO_STRING_TABLE_END( VISUAL_PROPERTIES )
62 62  
63 63  
64 64 Internal::MyControl::MyControl()
65   -: Control( ControlBehaviour( REQUIRES_STYLE_CHANGE_SIGNALS ) )
  65 +: Control( ControlBehaviour( CONTROL_BEHAVIOUR_DEFAULT ) )
66 66 {
67 67 }
68 68  
... ...
examples/styling/image-channel-control-impl.cpp
... ... @@ -68,7 +68,7 @@ DALI_TYPE_REGISTRATION_END();
68 68  
69 69  
70 70 Internal::ImageChannelControl::ImageChannelControl()
71   -: Control( ControlBehaviour( REQUIRES_STYLE_CHANGE_SIGNALS ) ),
  71 +: Control( ControlBehaviour( CONTROL_BEHAVIOUR_DEFAULT ) ),
72 72 mChannels( 1.0f, 1.0f, 1.0f ),
73 73 mChannelIndex( Property::INVALID_INDEX ),
74 74 mVisibility(true),
... ...
examples/text-label/expanding-buttons-impl.cpp
1 1 /*
2   - * Copyright (c) 2019 Samsung Electronics Co., Ltd.
  2 + * Copyright (c) 2020 Samsung Electronics Co., Ltd.
3 3 *
4 4 * Licensed under the Apache License, Version 2.0 (the "License");
5 5 * 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
52 52  
53 53  
54 54 Internal::ExpandingButtons::ExpandingButtons()
55   -: Control( ControlBehaviour( REQUIRES_STYLE_CHANGE_SIGNALS ) ),
  55 +: Control( ControlBehaviour( CONTROL_BEHAVIOUR_DEFAULT ) ),
56 56 mStyleButtonsHidden( false )
57 57 {
58 58 }
... ...
examples/transitions/shadow-button-impl.cpp
... ... @@ -80,7 +80,7 @@ Toolkit::TransitionData ConvertPropertyToTransition( const Property::Value& valu
80 80  
81 81  
82 82 Internal::ShadowButton::ShadowButton()
83   -: Control( ControlBehaviour( REQUIRES_STYLE_CHANGE_SIGNALS ) ),
  83 +: Control( ControlBehaviour( CONTROL_BEHAVIOUR_DEFAULT ) ),
84 84 mCheckState(false),
85 85 mActiveState(false)
86 86 {
... ...
examples/visual-transitions/beat-control-impl.cpp
... ... @@ -75,7 +75,7 @@ Toolkit::TransitionData ConvertPropertyToTransition( const Property::Value& valu
75 75  
76 76  
77 77 Internal::BeatControl::BeatControl()
78   -: Control( ControlBehaviour( REQUIRES_STYLE_CHANGE_SIGNALS ) ),
  78 +: Control( ControlBehaviour( CONTROL_BEHAVIOUR_DEFAULT ) ),
79 79 mTransformSize(1.0f, 1.0f),
80 80 mTransformOrigin(Align::CENTER),
81 81 mTransformAnchorPoint(Align::CENTER),
... ...