initial upload
[apps/core/preloaded/ug-image-viewer-efl.git] / main / layout / ivug-icons.edc
1 /*\r
2  * Copyright 2012  Samsung Electronics Co., Ltd\r
3  *\r
4  * Licensed under the Flora License, Version 1.0 (the "License");\r
5  * you may not use this file except in compliance with the License.\r
6  * You may obtain a copy of the License at\r
7  *\r
8  *        http://www.tizenopensource.org/license\r
9  *\r
10  * Unless required by applicable law or agreed to in writing, software\r
11  * distributed under the License is distributed on an "AS IS" BASIS,\r
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
13  * See the License for the specific language governing permissions and\r
14  * limitations under the License.\r
15  */\r
16
17 #define DEFINE_ICON(_name, _fname)        \
18 images { image: _fname COMP; }                   \
19 collections { group { name: _name;                    \
20       parts { part { name: "icon";                          \
21             type: IMAGE; mouse_events: 1;                   \
22             scale: 1; \
23             description { state: "default" 0.0;             \
24                align: 0.5 0.5;       \
25                fixed: 1 1;                                              \
26                aspect: 1.0 1.0;                             \
27                aspect_preference: VERTICAL;                 \
28                image.normal: _fname;             \
29 }}}}}
30
31 #define DEFINE_ICON_SIZE(_name, _fname, w, h)        \
32 images { image: _fname COMP; }                   \
33 collections { group { name: _name;                    \
34       parts { part { name: "icon";                          \
35             type: IMAGE; mouse_events: 1;                   \
36             scale: 1; \
37             description { state: "default" 0.0;             \
38                align: 0.5 0.5;       \
39                 min: (w) (h); \
40                 max: (w) (h); \
41                fixed: 1 1;                                              \
42                aspect: 1.0 1.0;                             \
43                image.normal: _fname;             \
44 }}}}}
45
46
47 #define BTN_PLAY_VIDEO                  "T01_btn_play.png"
48 #define BTN_PAUSED_VIDEO                "T01_btn_paused.png"
49
50 DEFINE_ICON("btn.video.play",                   BTN_PLAY_VIDEO)
51 DEFINE_ICON("btn.video.paused",                 BTN_PAUSED_VIDEO)
52
53 #define HEADER_ICON_PATH                "01_Header icon"
54
55 #define HEADER_ICON_DONE                "01_header_icon_done.png"
56 #define HEADER_ICON_CANCEL      "01_header_icon_cancel.png"
57 #define HEADER_ICON_ADD         "01_header_icon_add.png"
58
59 DEFINE_ICON("navi.icon.done",           HEADER_ICON_PATH"/"HEADER_ICON_DONE)
60 DEFINE_ICON("navi.icon.cancel",                 HEADER_ICON_PATH"/"HEADER_ICON_CANCEL)
61 DEFINE_ICON("navi.icon.add",                    HEADER_ICON_PATH"/"HEADER_ICON_ADD)
62