summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--wps/WPSLIST14
-rw-r--r--wps/ipodVOL.wps41
-rw-r--r--wps/ipodVOL/be.bmpbin0 -> 102 bytes
-rw-r--r--wps/ipodVOL/bf.bmpbin0 -> 102 bytes
-rw-r--r--wps/ipodVOL/bfp.bmpbin0 -> 102 bytes
-rw-r--r--wps/ipodVOL/bg.bmpbin0 -> 2622 bytes
-rw-r--r--wps/ipodVOL/bh.bmpbin0 -> 102 bytes
-rw-r--r--wps/ipodVOL/blank.bmpbin0 -> 102 bytes
-rw-r--r--wps/ipodVOL/bqe.bmpbin0 -> 102 bytes
-rw-r--r--wps/ipodVOL/bqf.bmpbin0 -> 102 bytes
-rw-r--r--wps/ipodVOL/hold.bmpbin0 -> 102 bytes
-rw-r--r--wps/ipodVOL/pause.bmpbin0 -> 102 bytes
-rw-r--r--wps/ipodVOL/play.bmpbin0 -> 102 bytes
-rw-r--r--wps/ipodVOL/rep.bmpbin0 -> 98 bytes
-rw-r--r--wps/ipodVOL/rep1.bmpbin0 -> 98 bytes
-rw-r--r--wps/ipodVOL/repb.bmpbin0 -> 98 bytes
-rw-r--r--wps/ipodVOL/reps.bmpbin0 -> 98 bytes
-rw-r--r--wps/ipodVOL/vol0.bmpbin0 -> 102 bytes
-rw-r--r--wps/ipodVOL/vol1.bmpbin0 -> 102 bytes
-rw-r--r--wps/ipodVOL/vol2.bmpbin0 -> 102 bytes
-rw-r--r--wps/ipodVOL/vol3.bmpbin0 -> 102 bytes
-rw-r--r--wps/ipodVOL/vol4.bmpbin0 -> 102 bytes
-rw-r--r--wps/ipodVOL/vol5.bmpbin0 -> 102 bytes
-rw-r--r--wps/ipodVOL/vol6.bmpbin0 -> 102 bytes
-rw-r--r--wps/ipodVOL/vol7.bmpbin0 -> 102 bytes
-rw-r--r--wps/ipodVOL/vol8.bmpbin0 -> 102 bytes
-rw-r--r--wps/ipodVOL/vol9.bmpbin0 -> 102 bytes
-rwxr-xr-xwps/wpsbuild.pl55
28 files changed, 110 insertions, 0 deletions
diff --git a/wps/WPSLIST b/wps/WPSLIST
new file mode 100644
index 0000000000..dc4f2c2c4a
--- /dev/null
+++ b/wps/WPSLIST
@@ -0,0 +1,14 @@
1<wps>
2# Name of the WPS _including_ extension
3Name: ipodVOL.wps
4# Name of the creator of the WPS
5Author: xameius
6# prefered font:
7Font: chicago12.fnt
8# Weather the WPS is designed to have the statusbar present or not
9Statusbar: off
10# The minimum required pixel height for the WPS
11Height: 128
12# The minimum required pixel width for the WPS
13Width: 160
14</wps>
diff --git a/wps/ipodVOL.wps b/wps/ipodVOL.wps
new file mode 100644
index 0000000000..7278ea2d47
--- /dev/null
+++ b/wps/ipodVOL.wps
@@ -0,0 +1,41 @@
1%xl|y|play.bmp|0|2|
2%xl|p|pause.bmp|0|2|
3%xl|h|hold.bmp|20|2|
4%xl|b|blank.bmp|20|2|
5%xl|r|rep.bmp|120|2|
6%xl|s|reps.bmp|120|2|
7%xl|t|rep1.bmp|120|2|
8%xl|x|repb.bmp|120|2|
9%xl|A|be.bmp|136|2|
10%xl|B|bqe.bmp|136|2|
11%xl|B|bh.bmp|136|2|
12%xl|D|bqf.bmp|136|2|
13%xl|E|bf.bmp|136|2|
14%xl|F|bfp.bmp|136|2|
15%xl|Q|vol0.bmp|139|18|
16%xl|R|vol1.bmp|139|18|
17%xl|S|vol2.bmp|139|18|
18%xl|T|vol3.bmp|139|18|
19%xl|U|vol4.bmp|139|18|
20%xl|V|vol5.bmp|139|18|
21%xl|W|vol6.bmp|139|18|
22%xl|X|vol7.bmp|139|18|
23%xl|Y|vol8.bmp|139|18|
24%xl|Z|vol9.bmp|139|18|
25%x|g|bg.bmp|0|0|
26
27%al%pp of %pe
28
29%s%ac%?it<%it|%fn>
30%s%t3%ac%?ia<%ia|%d2>
31%s%t3%ac%?id<%id|%d1>
32
33%pb
34%al%pc %ar-%pr
35%?mp<|%xdy|%xdp||>
36%?pv<%xdQ|%xdR|%xdS|%xdT|%xdU|%xdV|%xdW|%xdX|%xdY|%xdZ>
37%?mh<%xdh|%xdb>
38%?bp<%xdF|%?bl<%xdA|%xdB|%xdC|%xdD|%xdE>>
39%?mm<%xdx|%xdr|%xdt|%xds>
40
41
diff --git a/wps/ipodVOL/be.bmp b/wps/ipodVOL/be.bmp
new file mode 100644
index 0000000000..2c4cb60615
--- /dev/null
+++ b/wps/ipodVOL/be.bmp
Binary files differ
diff --git a/wps/ipodVOL/bf.bmp b/wps/ipodVOL/bf.bmp
new file mode 100644
index 0000000000..d42c65b1ab
--- /dev/null
+++ b/wps/ipodVOL/bf.bmp
Binary files differ
diff --git a/wps/ipodVOL/bfp.bmp b/wps/ipodVOL/bfp.bmp
new file mode 100644
index 0000000000..2f921aa998
--- /dev/null
+++ b/wps/ipodVOL/bfp.bmp
Binary files differ
diff --git a/wps/ipodVOL/bg.bmp b/wps/ipodVOL/bg.bmp
new file mode 100644
index 0000000000..d58a96de94
--- /dev/null
+++ b/wps/ipodVOL/bg.bmp
Binary files differ
diff --git a/wps/ipodVOL/bh.bmp b/wps/ipodVOL/bh.bmp
new file mode 100644
index 0000000000..ddc9d4162f
--- /dev/null
+++ b/wps/ipodVOL/bh.bmp
Binary files differ
diff --git a/wps/ipodVOL/blank.bmp b/wps/ipodVOL/blank.bmp
new file mode 100644
index 0000000000..dbc2327a3e
--- /dev/null
+++ b/wps/ipodVOL/blank.bmp
Binary files differ
diff --git a/wps/ipodVOL/bqe.bmp b/wps/ipodVOL/bqe.bmp
new file mode 100644
index 0000000000..29c23938af
--- /dev/null
+++ b/wps/ipodVOL/bqe.bmp
Binary files differ
diff --git a/wps/ipodVOL/bqf.bmp b/wps/ipodVOL/bqf.bmp
new file mode 100644
index 0000000000..261da3f8f9
--- /dev/null
+++ b/wps/ipodVOL/bqf.bmp
Binary files differ
diff --git a/wps/ipodVOL/hold.bmp b/wps/ipodVOL/hold.bmp
new file mode 100644
index 0000000000..2f790e472a
--- /dev/null
+++ b/wps/ipodVOL/hold.bmp
Binary files differ
diff --git a/wps/ipodVOL/pause.bmp b/wps/ipodVOL/pause.bmp
new file mode 100644
index 0000000000..06425a7f39
--- /dev/null
+++ b/wps/ipodVOL/pause.bmp
Binary files differ
diff --git a/wps/ipodVOL/play.bmp b/wps/ipodVOL/play.bmp
new file mode 100644
index 0000000000..687bc14758
--- /dev/null
+++ b/wps/ipodVOL/play.bmp
Binary files differ
diff --git a/wps/ipodVOL/rep.bmp b/wps/ipodVOL/rep.bmp
new file mode 100644
index 0000000000..0338aec238
--- /dev/null
+++ b/wps/ipodVOL/rep.bmp
Binary files differ
diff --git a/wps/ipodVOL/rep1.bmp b/wps/ipodVOL/rep1.bmp
new file mode 100644
index 0000000000..98a9868d2a
--- /dev/null
+++ b/wps/ipodVOL/rep1.bmp
Binary files differ
diff --git a/wps/ipodVOL/repb.bmp b/wps/ipodVOL/repb.bmp
new file mode 100644
index 0000000000..c94f2aba19
--- /dev/null
+++ b/wps/ipodVOL/repb.bmp
Binary files differ
diff --git a/wps/ipodVOL/reps.bmp b/wps/ipodVOL/reps.bmp
new file mode 100644
index 0000000000..0445e25fe2
--- /dev/null
+++ b/wps/ipodVOL/reps.bmp
Binary files differ
diff --git a/wps/ipodVOL/vol0.bmp b/wps/ipodVOL/vol0.bmp
new file mode 100644
index 0000000000..0060afd87c
--- /dev/null
+++ b/wps/ipodVOL/vol0.bmp
Binary files differ
diff --git a/wps/ipodVOL/vol1.bmp b/wps/ipodVOL/vol1.bmp
new file mode 100644
index 0000000000..ecbf50c986
--- /dev/null
+++ b/wps/ipodVOL/vol1.bmp
Binary files differ
diff --git a/wps/ipodVOL/vol2.bmp b/wps/ipodVOL/vol2.bmp
new file mode 100644
index 0000000000..5af1a57210
--- /dev/null
+++ b/wps/ipodVOL/vol2.bmp
Binary files differ
diff --git a/wps/ipodVOL/vol3.bmp b/wps/ipodVOL/vol3.bmp
new file mode 100644
index 0000000000..d57100f2e8
--- /dev/null
+++ b/wps/ipodVOL/vol3.bmp
Binary files differ
diff --git a/wps/ipodVOL/vol4.bmp b/wps/ipodVOL/vol4.bmp
new file mode 100644
index 0000000000..b358a8f738
--- /dev/null
+++ b/wps/ipodVOL/vol4.bmp
Binary files differ
diff --git a/wps/ipodVOL/vol5.bmp b/wps/ipodVOL/vol5.bmp
new file mode 100644
index 0000000000..fefed10801
--- /dev/null
+++ b/wps/ipodVOL/vol5.bmp
Binary files differ
diff --git a/wps/ipodVOL/vol6.bmp b/wps/ipodVOL/vol6.bmp
new file mode 100644
index 0000000000..2f21e0bb63
--- /dev/null
+++ b/wps/ipodVOL/vol6.bmp
Binary files differ
diff --git a/wps/ipodVOL/vol7.bmp b/wps/ipodVOL/vol7.bmp
new file mode 100644
index 0000000000..8ddfc7c4be
--- /dev/null
+++ b/wps/ipodVOL/vol7.bmp
Binary files differ
diff --git a/wps/ipodVOL/vol8.bmp b/wps/ipodVOL/vol8.bmp
new file mode 100644
index 0000000000..8767a34d21
--- /dev/null
+++ b/wps/ipodVOL/vol8.bmp
Binary files differ
diff --git a/wps/ipodVOL/vol9.bmp b/wps/ipodVOL/vol9.bmp
new file mode 100644
index 0000000000..0be8dad8a7
--- /dev/null
+++ b/wps/ipodVOL/vol9.bmp
Binary files differ
diff --git a/wps/wpsbuild.pl b/wps/wpsbuild.pl
new file mode 100755
index 0000000000..2eb76c6b06
--- /dev/null
+++ b/wps/wpsbuild.pl
@@ -0,0 +1,55 @@
1#!/usr/bin/perl
2
3my $wpslist=$ARGV[0];
4
5if(!$wpslist) {
6 print "Usage: wpsbuilds.pl [WPSLIST]\n";
7 exit;
8}
9
10sub buildcfg {
11 my $cfg = $wps;
12
13 $cfg =~ s/\.wps/.cfg/;
14
15 open(CFG, ">$cfg");
16
17 print CFG <<MOO
18\# $cfg generated by wpsbuild.pl
19\#
20wps: /.rockbox/wps/$wps
21font: /.rockbox/fonts/$font
22statusbar: $statusbar
23MOO
24;
25 close(CFG);
26}
27
28open(WPS, "<$wpslist");
29while(<WPS>) {
30 my $l = $_;
31 if($l =~ /^ *\#/) {
32 # skip comment
33 next;
34 }
35 if($l =~ /^ *<wps>/i) {
36 $within = 1;
37 next;
38 }
39 if($within) {
40 if($l =~ /^ *<\/wps>/i) {
41 buildcfg();
42 $within = 0;
43 }
44 elsif($l =~ /^Name: (.*)/i) {
45 $wps = $1;
46 }
47 elsif($l =~ /^Font: (.*)/i) {
48 $font = $1;
49 }
50 elsif($l =~ /^Statusbar: (.*)/i) {
51 $statusbar = $1;
52 }
53 }
54}
55