X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali-toolkit%2Finternal%2Fcontrols%2Fbloom-view%2Fbloom-view-impl.h;h=2da9293f8d8be1534924ff6f82f0cd85f35dd1ef;hb=1c5674a11a51310ee689d6daf4e6b7d94dec607e;hp=72b0385ffe256b273dff45bfcfc1d98a8dbf51fa;hpb=e2eda444afbe82e9591fe198eef339227f90a616;p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git diff --git a/dali-toolkit/internal/controls/bloom-view/bloom-view-impl.h b/dali-toolkit/internal/controls/bloom-view/bloom-view-impl.h index 72b0385..2da9293 100644 --- a/dali-toolkit/internal/controls/bloom-view/bloom-view-impl.h +++ b/dali-toolkit/internal/controls/bloom-view/bloom-view-impl.h @@ -1,31 +1,35 @@ #ifndef __DALI_TOOLKIT_INTERNAL_BLOOM_VIEW_H__ #define __DALI_TOOLKIT_INTERNAL_BLOOM_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. + * + */ // EXTERNAL INCLUDES #include #include +#include +#include +#include +#include // INTERNAL INCLUDES -#include #include #include -#include +#include namespace Dali { @@ -41,7 +45,7 @@ namespace Internal /** * BloomEffect implementation class */ -class BloomView : public ControlImpl +class BloomView : public Control { public: /** @@ -83,10 +87,7 @@ public: private: virtual void OnInitialize(); - virtual void OnControlSizeSet(const Vector3& targetSize); - virtual void OnStageDisconnection(); - - virtual void OnControlStageConnection(); + virtual void OnSizeSet(const Vector3& targetSize); void AllocateResources(); void CreateRenderTasks();