Merge "TextView example." into tizen
[platform/core/uifw/dali-demo.git] / demo / dali-demo.cpp
1 /*
2  * Copyright (c) 2014 Samsung Electronics Co., Ltd.
3  *
4  * Licensed under the Apache License, Version 2.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://www.apache.org/licenses/LICENSE-2.0
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
18 #include "dali-table-view.h"
19
20 using namespace Dali;
21
22 int main(int argc, char **argv)
23 {
24   Application app = Application::New(&argc, &argv);
25
26   DaliTableView demo(app);
27
28   demo.AddExample(Example("bubble-effect.example", "Bubbles"));
29   demo.AddExample(Example("blocks.example", "Blocks"));
30   demo.AddExample(Example("cluster.example", "Cluster control"));
31   demo.AddExample(Example("cube-transition-effect.example", "Cube Transition"));
32   demo.AddExample(Example("dissolve-effect.example", "Dissolve Transition"));
33   demo.AddExample(Example("item-view.example", "Item View"));
34   demo.AddExample(Example("magnifier.example", "Magnifier"));
35   demo.AddExample(Example("motion-blur.example", "Motion Blur"));
36   demo.AddExample(Example("motion-stretch.example", "Motion Stretch"));
37   demo.AddExample(Example("page-turn-view.example", "Page Turn View"));
38   demo.AddExample(Example("radial-menu.example", "Radial Menu"));
39   demo.AddExample(Example("scroll-view.example", "Scroll View"));
40   demo.AddExample(Example("shadow-bone-lighting.example", "Lights and shadows"));
41   demo.AddExample(Example("builder.example", "Script Based UI"));
42   demo.AddExample(Example("image-scaling-irregular-grid.example", "Image Scaling Modes"));
43   demo.AddExample(Example("text-view.example", "Text View"));
44   app.MainLoop();
45
46   return 0;
47 }