summaryrefslogtreecommitdiff
path: root/plugins/Popup/res/classic.popupskin
blob: 2fb9d3b65fad869996a2b8aa2d9c9a75c292cef9 (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
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
options
	#option	id	val	title
	option	1	1	Draw gradient background
	option	2	1	Flat borders
	option	3	1	Enable avatars
end

padding-right 4
padding-bottom 4
w (text.width+(25>(avatar.width+4+4))+4)>(25+title.width+4+clock.width+4)

# background
object
	type bitmap
	ifnotset 1
	source pixel:808080
	mono
	x 0
	y 0
	w -1
	h -1
end

object
	type bitmap
	ifset 1
	source gradient:v/707070/909090
	mono
	x 0
	y 0
	w -1
	h -1
end

# 3d border
object
	type bitmap
	ifnotset 2
	source pixel:d0d0d0
	mono
	x 0
	y 0
	w -1
end

object
	type bitmap
	ifnotset 2
	source pixel:d0d0d0
	mono
	x 0
	y 0
	h -1
end

object
	type bitmap
	ifnotset 2
	source pixel:303030
	mono
	x 0
	y -1
	w -1
end

object
	type bitmap
	ifnotset 2
	source pixel:303030
	mono
	x -1
	y 0
	h -1
end

object
	type bitmap
	ifnotset 2
	source pixel:303030
	mono
	x -1
	y -1
end

# flat border
object
	type bitmap
	ifset 2
	source pixel:000000
	x 0
	y 0
	w -1
end

object
	type bitmap
	ifset 2
	source pixel:000000
	x 0
	y 0
	h -1
end

object
	type bitmap
	ifset 2
	source pixel:000000
	y -1
	w -1
end

object
	type bitmap
	ifset 2
	source pixel:000000
	x -1
	y 0
	h -1
end

object
	type bitmap
	ifset 2
	source pixel:000000
	x -1
	y -1
end

# popup icon
object
	type icon
	x 5
	y 3
end

# popup title
object
	type title
	x 25
	y 4
	w window.width-25-4-clock.width-4
end

# avatar
object
	type avatar
	ifset 3
	x 4
	y title.height+4+4
	w options.avatarsize<(options.avatarsize*avatarbitmap.width/avatarbitmap.height)
	proportional 1
end

# popup text
object
	type text
	x 25>(avatar.width+4+4)
	y title.height+4+4
	w window.width-(25>(avatar.width+4+4))-4
end

#clock
object
	type clock
	x window.width-4-clock.width
	y 4
end