X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git;a=blobdiff_plain;f=dali-toolkit%2Finternal%2Ffilters%2Fblur-two-pass-filter.h;h=1e723b942d52e4f1472bdfedd8cefd7bf205c68c;hp=8c6f53b0c175ccc0560d7d261388e74f8641d7e8;hb=843352ddfe65e9a2f6fa1fb73197b46960efb40c;hpb=e2eda444afbe82e9591fe198eef339227f90a616;ds=sidebyside diff --git a/dali-toolkit/internal/filters/blur-two-pass-filter.h b/dali-toolkit/internal/filters/blur-two-pass-filter.h index 8c6f53b..1e723b9 100644 --- a/dali-toolkit/internal/filters/blur-two-pass-filter.h +++ b/dali-toolkit/internal/filters/blur-two-pass-filter.h @@ -1,26 +1,30 @@ #ifndef __DALI_TOOLKIT_INTERNAL_BLUR_TWO_PASS_FILTER_H__ #define __DALI_TOOLKIT_INTERNAL_BLUR_TWO_PASS_FILTER_H__ -// -// Copyright (c) 2014 Samsung Electronics Co., Ltd. -// -// Licensed under the Flora License, Version 1.0 (the License); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://floralicense.org/license/ -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an AS IS BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// +/* + * Copyright (c) 2014 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. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + */ // EXTERNAL INCLUDES +#include +#include +#include +#include // INTERNAL INCLUDES -#include #include "image-filter.h" namespace Dali @@ -59,6 +63,9 @@ public: // From ImageFilter /// @copydoc Dali::Toolkit::Internal::ImageFilter::Refresh virtual void Refresh(); + /// @copydoc Dali::Toolkit::Internal::ImageFilter::SetSize + virtual void SetSize( const Vector2& size ); + /** * Get the property index that controls the strength of the blur applied to the image. Useful for animating this property. * This property represents a value in the range [0.0 - 1.0] where 0.0 is no blur and 1.0 is full blur. @@ -66,10 +73,10 @@ public: // From ImageFilter Property::Index GetBlurStrengthPropertyIndex() const {return mBlurStrengthPropertyIndex;} /** - * Retrieve the constrainable object to animate or constrain the blur strength property - * @return the constrainable object which blend the output image according to the blur strength + * Retrieve the handle to the object in order to animate or constrain the blur strength property + * @return The hadnle to the object which blends the output image according to the blur strength */ - Constrainable GetHandleForAnimateBlurStrength(); + Handle GetHandleForAnimateBlurStrength(); private: /**