aboutsummaryrefslogtreecommitdiffstats
path: root/data/themes/edc/O/conf_gad.edc
blob: 8076dc8e22ae2751de5a3ce3c57b84f50827c415 (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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
/////////////////////////////////////////////////////////////////////////////
/*** MOD: CONF ***/

	group {
		name: "e/modules/conf/main";
		images {
                        image: "O/icon_configuration.png" COMP;
			image: "O/bt_base1.png" COMP;
			image: "O/bt_base2.png" COMP;
			image: "O/bt_hilight.png" COMP;
			image: "O/bt_shine.png" COMP;
			image: "O/bt_glow.png" COMP;
		}
		min: 16 16;
		max: 128 128;
		parts {
			part {
				name: "button_image";
				mouse_events: 1;
				scale: 1;
				description {
					state: "default" 0.0;
					fixed: 1 1;
					align: 0.5 0.5;
               min: 32 16;
					image {
						normal: "O/bt_base2.png";
						border: 7 7 7 7;
					}
				}
				description {
					state: "clicked" 0.0;
					inherit: "default" 0.0;
					image.normal: "O/bt_base1.png";
				}
				program {
					name: "button_down";
					signal: "mouse,down,1";
					source: "button_image";
					action: STATE_SET "clicked" 0.0;
					target: "button_image";
					target: "over3";
				}
				program {
					name: "button_up";
					signal: "mouse,up,1";
					source: "button_image";
					action: STATE_SET "default" 0.0;
					target: "button_image";
					target: "over3";
				}
				program {
					name: "button_click";
					signal: "mouse,clicked,1";
					source: "button_image";
					action: SIGNAL_EMIT "e,action,conf" "";
				}
			}
			part {
				name: "icon";
				mouse_events: 0;
				description {
					state: "default" 0.0;
					aspect: 1.0 1.0;
					aspect_preference: BOTH;
					visible: 1;
					image.normal: "O/icon_configuration.png";
					rel1 {
						to: "button_image";
						relative: 0.0  0.0;
						offset: 3    3;
					}
					rel2 {
						relative: 1.0  1.0;
						offset: -4   -4;
						to: "button_image";
					}
				}
			}
			part {
				name: "over1";
				mouse_events: 0;
				description {
					state: "default" 0.0;
					rel1.to: "button_image";
					rel2.to: "button_image";
					rel2.relative: 1.0 0.5;
					image {
						normal: "O/bt_hilight.png";
						border: 7 7 7 0;
					}
				}
			}
			part {
				name: "over2";
				mouse_events: 0;
				description {
					state: "default" 0.0;
					rel1.to: "button_image";
					rel2.to: "button_image";
					image {
						normal: "O/bt_shine.png";
						border: 7 7 7 7;
					}
				}
			}
			part {
				name: "over3";
				mouse_events: 0;
				description {
					state: "default" 0.0;
					rel1.to: "button_image";
					rel2.to: "button_image";
					visible: 0;
					color: 255 255 255 0;
					image {
						normal: "O/bt_glow.png";
						border: 12 12 12 12;
					}
					fill.smooth : 0;
				}
				description {
					state: "clicked" 0.0;
					inherit: "default" 0.0;
					visible: 1;
					color: 255 255 255 255;
				}
			}
		}
	}