2 * Copyright (c) 2014 Samsung Electronics Co., Ltd.
4 * Licensed under the Apache License, Version 2.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://www.apache.org/licenses/LICENSE-2.0
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.
19 #include <dali-toolkit/public-api/controls/super-blur-view/super-blur-view.h>
22 #include <dali-toolkit/internal/controls/super-blur-view/super-blur-view-impl.h>
30 SuperBlurView::SuperBlurView()
34 SuperBlurView SuperBlurView::New( unsigned int blurLevels )
36 return Internal::SuperBlurView::New( blurLevels );
39 SuperBlurView::SuperBlurView( const SuperBlurView& handle )
44 SuperBlurView& SuperBlurView::operator=( const SuperBlurView& rhs )
48 Control::operator=(rhs);
53 SuperBlurView::~SuperBlurView()
57 SuperBlurView SuperBlurView::DownCast( BaseHandle handle )
59 return Control::DownCast<SuperBlurView, Internal::SuperBlurView>( handle );
62 SuperBlurView::SuperBlurView(Internal::SuperBlurView& implementation)
63 : Control( implementation )
67 SuperBlurView::SuperBlurView(Dali::Internal::CustomActor* internal)
70 VerifyCustomActorPointer<Internal::SuperBlurView>( internal );
73 void SuperBlurView::SetImage(Image inputImage)
75 GetImpl(*this).SetImage( inputImage );
78 Property::Index SuperBlurView::GetBlurStrengthPropertyIndex() const
80 return GetImpl(*this).GetBlurStrengthPropertyIndex();
83 void SuperBlurView::SetBlurStrength( float blurStrength )
85 GetImpl(*this).SetBlurStrength( blurStrength );
88 float SuperBlurView::GetCurrentBlurStrength() const
90 return GetImpl(*this).GetCurrentBlurStrength();
93 SuperBlurView::SuperBlurViewSignal& SuperBlurView::BlurFinishedSignal()
95 return GetImpl(*this).BlurFinishedSignal();
98 Image SuperBlurView::GetBlurredImage( unsigned int level )
100 return GetImpl(*this).GetBlurredImage( level );
102 } // namespace Toolkit