summaryrefslogtreecommitdiffstats
path: root/friendfinder/themes/map.edc
blob: f46decb70ce5dfd6813575136d70c3f7bcc0afcd (plain) (blame)
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
images {
	image: "zoom.png" COMP;
	image: "here.png" COMP;
	image: "zoom_bg.png" COMP;
}

fonts {
	font: "Vera.ttf" "vera";
}

collections {
	group { 
	name: "main";
	min: 240 240;
		parts {
			part {
				name: "position";
				type: TEXT;
				effect: SOFT_SHADOW;
				description {
					state: "default" 0.0;
					align: 0.25 0.0;
					color: 255 255 255 255;
					color2: 0 0 0 255;
					text {
						font: "vera";
						size: 12;
						text: "Pos: n/a";
						align: 0.0 0.0;
					}
					rel1 {
						relative: 0.0 0.01;
					}
					rel2 {
						relative: 0.98 0.01;
					}
				}
			}

			part {
				name: "here";
				type: IMAGE;
				description
				{
					fixed: 1 1;
					min: 32 32;
					max: 32 23;
					state: "default" 0.0;
					rel1 {
						relative: 0 0;
					  offset: -16 -16;
					}
					image {
						normal: "here.png";
					}
					fill {}
				}
			} // here

			part { 
				name: "zoom_bg";
				type: IMAGE;
				mouse_events: 0;
				description {
					state: "default" 0.0;
					min: 25 0;
					align: 0.0 0.5;
					rel1 {
						offset: 10 28;
					}
					rel2 {
						relative: 0.0 0.9;
						offset: 0 -1;
					}
					image.normal: "zoom_bg.png";
				}
			}

			part {
				name: "zoom";
				type: IMAGE;
				mouse_events: 1;
				dragable {
					x: 0 0 0;
					y: 1 1 0;
					confine: "zoom_bg";
				}

				description {
					fixed: 1 1;
					min: 32 32;
					state: "default" 0;
					rel1 {
						relative: 0.5  0.5;
						offset:   5    0;
						to: "zoom_bg";
					}
					rel2 {
						relative: 0.5  0.5;
						offset:   0    0;
						to: "zoom_bg";
					}
					image normal: "zoom.png"; 
				}
			}
		} // end parts
		
		programs {
			program { 
				name: "p_quit";
				signal: "mouse,clicked,1";
				source: "b_quit";
				action: SIGNAL_EMIT "done" "quit_button";
			}
			program { 
				name: "p_kbd";
				signal: "mouse,clicked,1";
				source: "b_kbd";
				action: SIGNAL_EMIT "kbd" "show";
			}
		} // end programs
	} // end group
}