2 * Copyright 2012 Samsung Electronics Co., Ltd
\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
8 * http://www.tizenopensource.org/license
\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
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; \
23 description { state: "default" 0.0; \
27 aspect_preference: VERTICAL; \
28 image.normal: _fname; \
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; \
37 description { state: "default" 0.0; \
43 image.normal: _fname; \
47 #define BTN_PLAY_VIDEO "T01_btn_play.png"
48 #define BTN_PAUSED_VIDEO "T01_btn_paused.png"
50 DEFINE_ICON("btn.video.play", BTN_PLAY_VIDEO)
51 DEFINE_ICON("btn.video.paused", BTN_PAUSED_VIDEO)
53 #define HEADER_ICON_PATH "01_Header icon"
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"
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)