summaryrefslogtreecommitdiff
path: root/main/layout/ivug-icons.edc
blob: 38b116957561a3d2ffc22e56284588b986c18087 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
/*
 * Copyright 2012  Samsung Electronics Co., Ltd
 *
 * Licensed under the Flora License, Version 1.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *	  http://www.tizenopensource.org/license
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

#define DEFINE_ICON(_name, _fname)        \
images { image: _fname COMP; }                   \
collections { group { name: _name;                    \
      parts { part { name: "icon";                          \
            type: IMAGE; mouse_events: 1;                   \
            scale: 1; \
            description { state: "default" 0.0;             \
               align: 0.5 0.5;       \
               fixed: 1 1;						\
               aspect: 1.0 1.0;                             \
               aspect_preference: VERTICAL;                 \
               image.normal: _fname;             \
}}}}}

#define DEFINE_ICON_SIZE(_name, _fname, w, h)        \
images { image: _fname COMP; }                   \
collections { group { name: _name;                    \
      parts { part { name: "icon";                          \
            type: IMAGE; mouse_events: 1;                   \
            scale: 1; \
            description { state: "default" 0.0;             \
               align: 0.5 0.5;       \
		min: (w) (h); \
		max: (w) (h); \
               fixed: 1 1;						\
               aspect: 1.0 1.0;                             \
               image.normal: _fname;             \
}}}}}


#define BTN_PLAY_VIDEO			"T01_btn_play.png"
#define BTN_PAUSED_VIDEO		"T01_btn_paused.png"

DEFINE_ICON("btn.video.play",			BTN_PLAY_VIDEO)
DEFINE_ICON("btn.video.paused",			BTN_PAUSED_VIDEO)

#define HEADER_ICON_PATH 		"01_Header icon"

#define HEADER_ICON_DONE		"01_header_icon_done.png"
#define HEADER_ICON_CANCEL	"01_header_icon_cancel.png"
#define HEADER_ICON_ADD		"01_header_icon_add.png"

DEFINE_ICON("navi.icon.done", 		HEADER_ICON_PATH"/"HEADER_ICON_DONE)
DEFINE_ICON("navi.icon.cancel", 		HEADER_ICON_PATH"/"HEADER_ICON_CANCEL)
DEFINE_ICON("navi.icon.add", 			HEADER_ICON_PATH"/"HEADER_ICON_ADD)