summaryrefslogtreecommitdiffstats
path: root/wps
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2005-11-14 14:24:17 +0000
committerDaniel Stenberg <daniel@haxx.se>2005-11-14 14:24:17 +0000
commit792c998e7ad936ad36086c6063b1db0dc6b53078 (patch)
tree23fb2564d1800cdf3ebff99f44e170b55278acff /wps
parent98b9fb379fa3575300ddac69d332536a987d6f90 (diff)
downloadrockbox-792c998e7ad936ad36086c6063b1db0dc6b53078.tar.gz
rockbox-792c998e7ad936ad36086c6063b1db0dc6b53078.tar.bz2
rockbox-792c998e7ad936ad36086c6063b1db0dc6b53078.zip
we start the WPS collection in this new module
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7858 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'wps')
-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 @@
+<wps>
+# Name of the WPS _including_ extension
+Name: ipodVOL.wps
+# Name of the creator of the WPS
+Author: xameius
+# prefered font:
+Font: chicago12.fnt
+# Weather the WPS is designed to have the statusbar present or not
+Statusbar: off
+# The minimum required pixel height for the WPS
+Height: 128
+# The minimum required pixel width for the WPS
+Width: 160
+</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 @@
+%xl|y|play.bmp|0|2|
+%xl|p|pause.bmp|0|2|
+%xl|h|hold.bmp|20|2|
+%xl|b|blank.bmp|20|2|
+%xl|r|rep.bmp|120|2|
+%xl|s|reps.bmp|120|2|
+%xl|t|rep1.bmp|120|2|
+%xl|x|repb.bmp|120|2|
+%xl|A|be.bmp|136|2|
+%xl|B|bqe.bmp|136|2|
+%xl|B|bh.bmp|136|2|
+%xl|D|bqf.bmp|136|2|
+%xl|E|bf.bmp|136|2|
+%xl|F|bfp.bmp|136|2|
+%xl|Q|vol0.bmp|139|18|
+%xl|R|vol1.bmp|139|18|
+%xl|S|vol2.bmp|139|18|
+%xl|T|vol3.bmp|139|18|
+%xl|U|vol4.bmp|139|18|
+%xl|V|vol5.bmp|139|18|
+%xl|W|vol6.bmp|139|18|
+%xl|X|vol7.bmp|139|18|
+%xl|Y|vol8.bmp|139|18|
+%xl|Z|vol9.bmp|139|18|
+%x|g|bg.bmp|0|0|
+
+%al%pp of %pe
+
+%s%ac%?it<%it|%fn>
+%s%t3%ac%?ia<%ia|%d2>
+%s%t3%ac%?id<%id|%d1>
+
+%pb
+%al%pc %ar-%pr
+%?mp<|%xdy|%xdp||>
+%?pv<%xdQ|%xdR|%xdS|%xdT|%xdU|%xdV|%xdW|%xdX|%xdY|%xdZ>
+%?mh<%xdh|%xdb>
+%?bp<%xdF|%?bl<%xdA|%xdB|%xdC|%xdD|%xdE>>
+%?mm<%xdx|%xdr|%xdt|%xds>
+
+
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 @@
+#!/usr/bin/perl
+
+my $wpslist=$ARGV[0];
+
+if(!$wpslist) {
+ print "Usage: wpsbuilds.pl [WPSLIST]\n";
+ exit;
+}
+
+sub buildcfg {
+ my $cfg = $wps;
+
+ $cfg =~ s/\.wps/.cfg/;
+
+ open(CFG, ">$cfg");
+
+ print CFG <<MOO
+\# $cfg generated by wpsbuild.pl
+\#
+wps: /.rockbox/wps/$wps
+font: /.rockbox/fonts/$font
+statusbar: $statusbar
+MOO
+;
+ close(CFG);
+}
+
+open(WPS, "<$wpslist");
+while(<WPS>) {
+ my $l = $_;
+ if($l =~ /^ *\#/) {
+ # skip comment
+ next;
+ }
+ if($l =~ /^ *<wps>/i) {
+ $within = 1;
+ next;
+ }
+ if($within) {
+ if($l =~ /^ *<\/wps>/i) {
+ buildcfg();
+ $within = 0;
+ }
+ elsif($l =~ /^Name: (.*)/i) {
+ $wps = $1;
+ }
+ elsif($l =~ /^Font: (.*)/i) {
+ $font = $1;
+ }
+ elsif($l =~ /^Statusbar: (.*)/i) {
+ $statusbar = $1;
+ }
+ }
+}
+