X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git;a=blobdiff_plain;f=dali-toolkit%2Fdevel-api%2Fcontrols%2Fbloom-view%2Fbloom-view.h;h=1ea7ee4489a6ca36128511da10c5a27885bfae00;hp=50ae2a80a8aece5f77594fa1d068b4d438a3b481;hb=1d82abb8a1a514ce0af63004706135fb7883f89b;hpb=e4ace0da6e0d702b90e5a70d477aa7a0e0f6f44f diff --git a/dali-toolkit/devel-api/controls/bloom-view/bloom-view.h b/dali-toolkit/devel-api/controls/bloom-view/bloom-view.h index 50ae2a8..1ea7ee4 100644 --- a/dali-toolkit/devel-api/controls/bloom-view/bloom-view.h +++ b/dali-toolkit/devel-api/controls/bloom-view/bloom-view.h @@ -1,8 +1,8 @@ -#ifndef __DALI_TOOLKIT_BLOOM_VIEW_H__ -#define __DALI_TOOLKIT_BLOOM_VIEW_H__ +#ifndef DALI_TOOLKIT_BLOOM_VIEW_H +#define DALI_TOOLKIT_BLOOM_VIEW_H /* - * Copyright (c) 2015 Samsung Electronics Co., Ltd. + * Copyright (c) 2020 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. @@ -18,25 +18,24 @@ * */ +// EXTERNAL INCLUDES +#include + // INTERNAL INCLUDES #include -#include namespace Dali { - namespace Toolkit { - namespace Internal DALI_INTERNAL { - /** * BloomView implementation class */ class BloomView; -} // namespace Internal +} // namespace DALI_INTERNAL /** * @@ -88,10 +87,9 @@ class BloomView; * Stage::GetCurrent().Remove(bloomView);\n * bloomView.Deactivate();\n */ -class DALI_IMPORT_API BloomView : public Control +class DALI_TOOLKIT_API BloomView : public Control { public: - /** * Create an uninitialized BloomView; this can be initialized with BloomView::New() * Calling member functions with an uninitialized Dali::Object is not allowed. @@ -121,7 +119,7 @@ public: * @param[in] handle Handle to an object * @return handle to a BloomView or an uninitialized handle */ - static BloomView DownCast( BaseHandle handle ); + static BloomView DownCast(BaseHandle handle); /** * Create an initialized BloomView, using default settings. The default settings are:-\n @@ -135,7 +133,7 @@ public: */ static BloomView New(); - /** + /** * Create an initialized BloomView. * @param numSamples The size of the Gaussian blur kernel (number of samples in horizontal / vertical blur directions) that is used to blur the bloom * @param blurBellCurveWidth The constant controlling the Gaussian function, must be > 0.0. Controls the width of the bell curve, i.e. the look of the blur and also indirectly @@ -150,8 +148,7 @@ public: * Useful for downsampling - trades visual quality for processing speed. A value of 1.0f results in no scaling applied. * @return A handle to a newly allocated Dali resource */ - static BloomView New(const unsigned int numSamples, const float blurBellCurveWidth, const Pixel::Format renderTargetPixelFormat, - const float downsampleWidthScale, const float downsampleHeightScale); + static BloomView New(const unsigned int numSamples, const float blurBellCurveWidth, const Pixel::Format renderTargetPixelFormat, const float downsampleWidthScale, const float downsampleHeightScale); /** * Start rendering the BloomView. Must be called after you Add() it to the stage. @@ -206,23 +203,21 @@ public: Dali::Property::Index GetImageSaturationPropertyIndex() const; public: - /** * Creates a handle using the Toolkit::Internal implementation. * @param[in] implementation The UI Control implementation. */ - DALI_INTERNAL BloomView( Internal::BloomView& implementation ); + DALI_INTERNAL BloomView(Internal::BloomView& implementation); /** * Allows the creation of this UI Control from an Internal::CustomActor pointer. * @param[in] internal A pointer to the internal CustomActor. */ - explicit DALI_INTERNAL BloomView( Dali::Internal::CustomActor* internal ); - + explicit DALI_INTERNAL BloomView(Dali::Internal::CustomActor* internal); }; } // namespace Toolkit } // namespace Dali -#endif // __DALI_TOOLKIT_BLOOM_VIEW_H__ +#endif // DALI_TOOLKIT_BLOOM_VIEW_H