X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali-toolkit%2Finternal%2Fcontrols%2Fsuper-blur-view%2Fsuper-blur-view-impl.h;h=cecc4c315c377bb8adbb4bacdc1114de647935f3;hb=refs%2Fchanges%2F35%2F37935%2F2;hp=846451ae4468e1ede202fe9aab8661279e0bd46c;hpb=e2eda444afbe82e9591fe198eef339227f90a616;p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git diff --git a/dali-toolkit/internal/controls/super-blur-view/super-blur-view-impl.h b/dali-toolkit/internal/controls/super-blur-view/super-blur-view-impl.h index 846451a..cecc4c3 100644 --- a/dali-toolkit/internal/controls/super-blur-view/super-blur-view-impl.h +++ b/dali-toolkit/internal/controls/super-blur-view/super-blur-view-impl.h @@ -1,24 +1,24 @@ #ifndef __DALI_TOOLKIT_INTERNAL_SUPER_BLUR_VIEW_H__ #define __DALI_TOOLKIT_INTERNAL_SUPER_BLUR_VIEW_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. + * + */ // INTERNAL INCLUDES -#include #include #include #include @@ -37,8 +37,9 @@ namespace Internal /** * SuperBlurView implementation class */ -class SuperBlurView : public ControlImpl +class SuperBlurView : public Control { + public: /** @@ -76,6 +77,24 @@ public: */ Image GetBlurredImage( unsigned int level ); + // Properties + + /** + * Called when a property of an object of this type is set. + * @param[in] object The object whose property is set. + * @param[in] index The property index. + * @param[in] value The new property value. + */ + static void SetProperty( BaseObject* object, Property::Index propertyIndex, const Property::Value& value ); + + /** + * Called to retrieve a property of an object of this type. + * @param[in] object The object whose property is to be retrieved. + * @param[in] index The property index. + * @return The current value of the property. + */ + static Property::Value GetProperty( BaseObject* object, Property::Index propertyIndex ); + protected: /** @@ -88,7 +107,7 @@ protected: */ virtual ~SuperBlurView(); -private: // from ControlImpl +private: // from Control /** * @copydoc Toolkit::Control::OnInitialize @@ -100,11 +119,6 @@ private: // from ControlImpl */ virtual void OnControlSizeSet(const Vector3& targetSize); - /** - * @copydoc Toolkit::ControlImpl::OnRelaidOut() - */ - virtual void OnRelaidOut( Vector2 size, ActorSizeContainer& container ); - private: /**