X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=demo%2Fdali-demo.cpp;h=60f9653a2d7ddc5909e250cafd9e76a2c1bce370;hb=218d29cfaefc91b901233c373650107d7a595635;hp=2884a3205330dcaea4490d74b72c9cee670a3c7f;hpb=e8a20bc4f6a3d21c0eec25e62f00b6f54e39ed08;p=platform%2Fcore%2Fuifw%2Fdali-demo.git diff --git a/demo/dali-demo.cpp b/demo/dali-demo.cpp index 2884a32..60f9653 100644 --- a/demo/dali-demo.cpp +++ b/demo/dali-demo.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017 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. @@ -19,12 +19,12 @@ #include // INTERNAL INCLUDES -#include "shared/dali-table-view.h" #include "shared/dali-demo-strings.h" +#include "shared/dali-table-view.h" using namespace Dali; -int DALI_EXPORT_API main(int argc, char **argv) +int DALI_EXPORT_API main(int argc, char** argv) { // Configure gettext for internalization #ifdef INTERNATIONALIZATION_ENABLED @@ -38,6 +38,8 @@ int DALI_EXPORT_API main(int argc, char **argv) // Create the demo launcher DaliTableView demo(app); + demo.AddExample(Example("animated-gradient-call-active.example", DALI_DEMO_STR_TITLE_CALL_ACTIVE)); + demo.AddExample(Example("animated-gradient-card-active.example", DALI_DEMO_STR_TITLE_CARD_ACTIVE)); demo.AddExample(Example("blocks.example", DALI_DEMO_STR_TITLE_BLOCKS)); demo.AddExample(Example("bezier-curve.example", DALI_DEMO_STR_TITLE_BEZIER_CURVE)); demo.AddExample(Example("bubble-effect.example", DALI_DEMO_STR_TITLE_BUBBLES)); @@ -50,16 +52,21 @@ int DALI_EXPORT_API main(int argc, char **argv) demo.AddExample(Example("metaball-refrac.example", DALI_DEMO_STR_TITLE_METABALL_REFRAC)); demo.AddExample(Example("motion-blur.example", DALI_DEMO_STR_TITLE_MOTION_BLUR)); demo.AddExample(Example("page-turn-view.example", DALI_DEMO_STR_TITLE_PAGE_TURN)); + demo.AddExample(Example("particles.example", DALI_DEMO_STR_TITLE_PARTICLES)); + demo.AddExample(Example("reflection-demo.example", DALI_DEMO_STR_TITLE_REFLECTION)); demo.AddExample(Example("refraction-effect.example", DALI_DEMO_STR_TITLE_REFRACTION)); demo.AddExample(Example("renderer-stencil.example", DALI_DEMO_STR_TITLE_RENDERER_STENCIL)); - demo.AddExample(Example("shadows-and-lights.example", DALI_DEMO_STR_TITLE_LIGHTS_AND_SHADOWS)); - demo.AddExample(Example("sparkle.example", DALI_DEMO_STR_TITLE_SPARKLE)); demo.AddExample(Example("rendering-skybox.example", DALI_DEMO_STR_TITLE_SKYBOX)); demo.AddExample(Example("rendering-basic-pbr.example", DALI_DEMO_STR_TITLE_PBR)); - demo.AddExample(Example("animated-gradient-call-active.example", DALI_DEMO_STR_TITLE_CALL_ACTIVE)); - demo.AddExample(Example("animated-gradient-card-active.example", DALI_DEMO_STR_TITLE_CARD_ACTIVE)); +#ifdef DALI_SCENE3D_AVAILABLE + demo.AddExample(Example("scene3d-model.example", DALI_DEMO_STR_TITLE_SCENE3D_MODEL)); + demo.AddExample(Example("scene3d.example", DALI_DEMO_STR_TITLE_SCENE3D)); +#endif //DALI_SCENE3D_AVAILABLE + demo.AddExample(Example("shadows-and-lights.example", DALI_DEMO_STR_TITLE_LIGHTS_AND_SHADOWS)); + demo.AddExample(Example("sparkle.example", DALI_DEMO_STR_TITLE_SPARKLE)); + demo.AddExample(Example("waves.example", DALI_DEMO_STR_TITLE_WAVES)); - demo.SortAlphabetically( true ); + demo.SortAlphabetically(true); // Start the event loop app.MainLoop();