2 // Copyright (c) 2014 Samsung Electronics Co., Ltd.
4 // Licensed under the Flora License, Version 1.0 (the License);
5 // you may not use this file except in compliance with the License.
6 // You may obtain a copy of the License at
8 // http://floralicense.org/license/
10 // Unless required by applicable law or agreed to in writing, software
11 // distributed under the License is distributed on an AS IS BASIS,
12 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 // See the License for the specific language governing permissions and
14 // limitations under the License.
18 #include <dali-toolkit/public-api/controls/super-blur-view/super-blur-view.h>
21 #include <dali-toolkit/internal/controls/super-blur-view/super-blur-view-impl.h>
29 SuperBlurView::SuperBlurView()
33 SuperBlurView SuperBlurView::New( unsigned int blurLevels )
35 return Internal::SuperBlurView::New( blurLevels );
38 SuperBlurView::SuperBlurView( const SuperBlurView& handle )
43 SuperBlurView& SuperBlurView::operator=( const SuperBlurView& rhs )
47 Control::operator=(rhs);
52 SuperBlurView::~SuperBlurView()
56 SuperBlurView SuperBlurView::DownCast( BaseHandle handle )
58 return Control::DownCast<SuperBlurView, Internal::SuperBlurView>( handle );
61 SuperBlurView::SuperBlurView(Internal::SuperBlurView& implementation)
62 : Control( implementation )
66 SuperBlurView::SuperBlurView(Dali::Internal::CustomActor* internal)
69 VerifyCustomActorPointer<Internal::SuperBlurView>( internal );
72 void SuperBlurView::SetImage(Image inputImage)
74 GetImpl(*this).SetImage( inputImage );
77 Property::Index SuperBlurView::GetBlurStrengthPropertyIndex() const
79 return GetImpl(*this).GetBlurStrengthPropertyIndex();
82 void SuperBlurView::SetBlurStrength( float blurStrength )
84 GetImpl(*this).SetBlurStrength( blurStrength );
87 float SuperBlurView::GetCurrentBlurStrength() const
89 return GetImpl(*this).GetCurrentBlurStrength();
92 SuperBlurView::SuperBlurViewSignal& SuperBlurView::BlurFinishedSignal()
94 return GetImpl(*this).BlurFinishedSignal();
97 Image SuperBlurView::GetBlurredImage( unsigned int level )
99 return GetImpl(*this).GetBlurredImage( level );
101 } // namespace Toolkit