Added ItemView demo
[platform/core/uifw/dali-demo.git] / demo / dali-demo.cpp
1 //
2 // Copyright (c) 2014 Samsung Electronics Co., Ltd.
3 //
4 // Licensed under the Flora License, Version 1.0 (the License);
5 // you may not use this file except in compliance with the License.
6 // You may obtain a copy of the License at
7 //
8 //     http://floralicense.org/license/
9 //
10 // Unless required by applicable law or agreed to in writing, software
11 // distributed under the License is distributed on an AS IS BASIS,
12 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 // See the License for the specific language governing permissions and
14 // limitations under the License.
15 //
16
17 #include "dali-table-view.h"
18
19 using namespace Dali;
20
21 int main(int argc, char **argv)
22 {
23   Application app = Application::New(&argc, &argv);
24
25   DaliTableView demo(app);
26
27   demo.AddExample(Example("blocks.example", "Blocks"));
28   demo.AddExample(Example("cluster.example", "Cluster control"));
29   demo.AddExample(Example("cube-transition-effect.example", "Cube Transition"));
30   demo.AddExample(Example("dissolve-effect.example", "Dissolve Transition"));
31   demo.AddExample(Example("item-view.example", "Item View"));
32   demo.AddExample(Example("magnifier.example", "Magnifier"));
33   demo.AddExample(Example("motion-blur.example", "Motion Blur"));
34   demo.AddExample(Example("motion-stretch.example", "Motion Stretch"));
35   demo.AddExample(Example("page-turn-view.example", "Page Turn View"));
36   demo.AddExample(Example("shadow-bone-lighting.example", "Lights and shadows"));
37   demo.AddExample(Example("hello-world.example", "Hello World"));
38   app.MainLoop();
39
40   return 0;
41 }