X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=examples%2Flayouting%2Fpadding-example.h;h=23a200a714a531f4b4b2ae1f525a1c1211b93ade;hb=94209fff2d09075cb1dc0f0f52e741d2fa61240c;hp=ce13eed8c4bcaab4df84630be55eab4dd35d88f0;hpb=037f576518a62e16e998d4d9d3b86cb929f12cd0;p=platform%2Fcore%2Fuifw%2Fdali-demo.git diff --git a/examples/layouting/padding-example.h b/examples/layouting/padding-example.h index ce13eed..23a200a 100644 --- a/examples/layouting/padding-example.h +++ b/examples/layouting/padding-example.h @@ -2,7 +2,7 @@ #define DALI_DEMO_PADDING_EXAMPLE_H /* - * Copyright (c) 2017 Samsung Electronics Co., Ltd. + * Copyright (c) 2018 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. @@ -22,6 +22,8 @@ #include #include +#include "example.h" + using namespace Dali; using namespace Dali::Toolkit; @@ -33,17 +35,17 @@ namespace Demo * @brief Example of a Linear Layout with padding applied, enables updating of padding values for * one of the children. */ -class PaddingExample: public ConnectionTracker +class PaddingExample final: public ConnectionTracker, public Example { public: static const unsigned int NUMBER_OF_IMAGE_VIEWS = 3; // Create a Linear layout of ImagesViews, one with a Margin, One with padding. - void Create(); + void Create() override; // Remove created Layout - void Remove(); + void Remove() override; private: