From 5124844e32954cb4e8103dc29b78df6dd5d6a556 Mon Sep 17 00:00:00 2001 From: Christi Scarborough Date: Mon, 21 Nov 2005 02:04:47 +0000 Subject: [PATCH] rwps support for boxes theme. Increased image buffer size by a factor of 2.5x. (boxes - for all your WPS stress testing needs.) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8017 a1c6a512-1295-4272-9138-f99709370657 --- apps/gui/gwps.h | 2 +- wps/WPSLIST | 12 ++++++++++- wps/boxes.rwps | 43 ++++++++++++++++++++++++++++++++++++++++ wps/boxes/r-bat-0.bmp | Bin 0 -> 98 bytes wps/boxes/r-bat-1.bmp | Bin 0 -> 98 bytes wps/boxes/r-bat-2.bmp | Bin 0 -> 98 bytes wps/boxes/r-bat-3.bmp | Bin 0 -> 98 bytes wps/boxes/r-bat-4.bmp | Bin 0 -> 98 bytes wps/boxes/r-bg.bmp | Bin 0 -> 1086 bytes wps/boxes/r-pwr.bmp | Bin 0 -> 98 bytes wps/boxes/r-rpt-all.bmp | Bin 0 -> 82 bytes wps/boxes/r-rpt-one.bmp | Bin 0 -> 82 bytes wps/boxes/r-rpt-shf.bmp | Bin 0 -> 82 bytes wps/boxes/rtg-0.bmp | Bin 190 -> 190 bytes 14 files changed, 55 insertions(+), 2 deletions(-) create mode 100644 wps/boxes.rwps create mode 100644 wps/boxes/r-bat-0.bmp create mode 100644 wps/boxes/r-bat-1.bmp create mode 100644 wps/boxes/r-bat-2.bmp create mode 100644 wps/boxes/r-bat-3.bmp create mode 100644 wps/boxes/r-bat-4.bmp create mode 100644 wps/boxes/r-bg.bmp create mode 100644 wps/boxes/r-pwr.bmp create mode 100644 wps/boxes/r-rpt-all.bmp create mode 100644 wps/boxes/r-rpt-one.bmp create mode 100644 wps/boxes/r-rpt-shf.bmp diff --git a/apps/gui/gwps.h b/apps/gui/gwps.h index 40b9a7424d..7dcbcca76b 100644 --- a/apps/gui/gwps.h +++ b/apps/gui/gwps.h @@ -233,7 +233,7 @@ struct align_pos { #ifdef HAVE_LCD_BITMAP #define MAX_IMAGES (26*2) /* a-z and A-Z */ -#define IMG_BUFSIZE (LCD_HEIGHT * LCD_WIDTH * MAX_IMAGES/25) / 8 +#define IMG_BUFSIZE (LCD_HEIGHT * LCD_WIDTH * MAX_IMAGES/10) / 8 #define WPS_MAX_LINES (LCD_HEIGHT/5+1) #define FORMAT_BUFFER_SIZE 3072 #else diff --git a/wps/WPSLIST b/wps/WPSLIST index 4862da01ba..e1bf30eec8 100644 --- a/wps/WPSLIST +++ b/wps/WPSLIST @@ -48,9 +48,10 @@ Width: 55 Name: boxes.wps +rwps: boxes.rwps Author: Christi Scarborough (after Magnus Westerlund) Font: rockbox_default.fnt -Statusbar: off +Statusbar: on Height: 128 Width: 160 @@ -100,3 +101,12 @@ Statusbar: Off Height: 64 Width: 128 + + +Name: boxes.rwps +Author: Christi Scarborough +Font: rockbox_default.fnt +Statusbar: off +Height: 64 +Width: 128 + diff --git a/wps/boxes.rwps b/wps/boxes.rwps new file mode 100644 index 0000000000..fdfdc4052b --- /dev/null +++ b/wps/boxes.rwps @@ -0,0 +1,43 @@ +%x|a|r-bg.bmp|0|0| +%xl|B|vol-0.bmp|12|1| +%xl|C|vol-1.bmp|12|1| +%xl|D|vol-2.bmp|12|1| +%xl|E|vol-3.bmp|12|1| +%xl|F|vol-4.bmp|12|1| +%xl|G|vol-5.bmp|12|1| +%xl|H|vol-6.bmp|12|1| +%xl|I|vol-7.bmp|12|1| +%xl|K|vol-8.bmp|12|1| +%xl|L|vol-9.bmp|12|1| +%xl|z|vol-10.bmp|12|1| +%xl|O|r-bat-0.bmp|109|0| +%xl|P|r-bat-1.bmp|109|0| +%xl|Q|r-bat-2.bmp|109|0| +%xl|R|r-bat-3.bmp|109|0| +%xl|S|r-bat-4.bmp|109|0| +%xl|T|r-pwr.bmp|109|0| +%xl|m|r-rpt-all.bmp|0|6| +%xl|n|r-rpt-one.bmp|0|6| +%xl|o|r-rpt-shf.bmp|0|6| +%xl|p|nav-stop.bmp|68|2| +%xl|q|nav-play.bmp|68|2| +%xl|r|nav-pause.bmp|68|2| +%xl|s|nav-ffwd.bmp|68|2| +%xl|t|nav-rwnd.bmp|68|2| +%xl|u|shf.bmp|14|6| +%xl|v|lock-m.bmp|86|0| +%xl|x|lock-r.bmp|98|0| +%wd + +%ac%t5%s%?it<%it|%fn>;%ac%t5%s%?ia<%ia|%?d2<%d2|(Unknown Artist +%ac%t5%pc / %pt;%ac%t5Track %pp of %pe +%pb + +%ac%t5%s%?It<%It|%Fn>;%ac%t5%s%?Ia<%Ia|%D2> +%?pv<%xdB|%xdC|%xdD|%xdE|%xdF|%xdG|%xdH|%xdI|%xdK|%xdL|%xdz> +%?bp<%xdT|%?bl<%xdO|%xdP|%xdQ|%xdR|%xdS>> +%?mm<|%xdm|%xdn|%xdo> +%?mp<%xdp|%xdq|%xdr|%xds|%xdt> +%?ps<%xdu|> +%?mh<%xdv|> +%?mr<%xdx|> diff --git a/wps/boxes/r-bat-0.bmp b/wps/boxes/r-bat-0.bmp new file mode 100644 index 0000000000000000000000000000000000000000..7a9b9eaac6ebca2083bd8c51f72ef3a4f98be8fb GIT binary patch literal 98 zcmZ?rO=5rmJ0PV2#KJ(#3B-&*2m&fV{F)1bnSg8%27&+o|1%t5NMP9icL78F?*k0= NzZ?)4$Onmoh!7aRZp literal 0 HcmV?d00001 diff --git a/wps/boxes/r-bat-1.bmp b/wps/boxes/r-bat-1.bmp new file mode 100644 index 0000000000000000000000000000000000000000..1c07ab4b2cfef59641c225e8ad705d4a20414d23 GIT binary patch literal 98 zcmZ?rO=5rmJ0PV2#KJ(#3B-&*2m&fV{F)1bnSg8%27&+o|1%t5NMLCHyMTfJ_W=g} NUk(Tix literal 0 HcmV?d00001 diff --git a/wps/boxes/r-bat-2.bmp b/wps/boxes/r-bat-2.bmp new file mode 100644 index 0000000000000000000000000000000000000000..bdd891c986b7ad81142baa0677906777884a048a GIT binary patch literal 98 zcmZ?rO=5rmJ0PV2#KJ(#3B-&*2m&fV{F)1bnSg8%27&+o|1%t5NMLCAyMTf5_W=gR NUk(Ti&0Q3nBQvd(} literal 0 HcmV?d00001 diff --git a/wps/boxes/r-bg.bmp b/wps/boxes/r-bg.bmp new file mode 100644 index 0000000000000000000000000000000000000000..7716ffdf9cee24b374d4939e93e7444c97dbe835 GIT binary patch literal 1086 zcmZ?rwPRrb13Mt80mKbJ>;S}!KnMmv`8iw=%mfqwVG#KL|33($fLE(f!PQVyfGWFc z6~rV2S&w4c|9?Y`9}NP4?uDTJiPAz0|(?kSmet?S+L-}|1TcK1k?Bb?MLIsqw&d; g-zX0;24?=&dKf<*%m{_^_oMM45`j>8sQ>;001AwULI3~& literal 0 HcmV?d00001 diff --git a/wps/boxes/r-pwr.bmp b/wps/boxes/r-pwr.bmp new file mode 100644 index 0000000000000000000000000000000000000000..2dba254775c96261bf5e61cb5e7bbe5d9a407200 GIT binary patch literal 98 zcmZ?rO=5rmJ0PV2#KJ(#3B-&*2m&fV{F)1bnSg8%27&+o|1W28l?aL literal 0 HcmV?d00001 diff --git a/wps/boxes/r-rpt-all.bmp b/wps/boxes/r-rpt-all.bmp new file mode 100644 index 0000000000000000000000000000000000000000..eac53090fcb382466a36518343852ccec4a5bc3c GIT binary patch literal 82 zcmZ?r4Pt-*J0PV2#N0s43dD>+2m&HN{F)1bnSg8%27&+o|1*4dU|?7b#HB!fEs$;o F(f~AT3Mc>o literal 0 HcmV?d00001 diff --git a/wps/boxes/r-rpt-one.bmp b/wps/boxes/r-rpt-one.bmp new file mode 100644 index 0000000000000000000000000000000000000000..79172c1532155e9fa49371720c76cf4435df50f7 GIT binary patch literal 82 zcmZ?r4Pt-*J0PV2#N0s43dD>+2m&HN{F)1bnSg8%27&+o|1*3C(u)@`Fq8sutpWo> HGmr)VJu3@n literal 0 HcmV?d00001 diff --git a/wps/boxes/r-rpt-shf.bmp b/wps/boxes/r-rpt-shf.bmp new file mode 100644 index 0000000000000000000000000000000000000000..25892020f551fded1f24e7bee9d6291083e3029f GIT binary patch literal 82 zcmZ?r4Pt-*J0PV2#N0s43dD>+2m&HN{F)1bnSg8%27&+o|1*3C(u)r;Fq8u6+5`rM HW*`j!I137h literal 0 HcmV?d00001 diff --git a/wps/boxes/rtg-0.bmp b/wps/boxes/rtg-0.bmp index 78ea3bd753f1353f1149db74e35b480606a73caf..b00af0337de31e6a7002dcaffaf27eeb77a66de2 100644 GIT binary patch literal 190 zcmZ?r-Nyg{c0fu4h;4va0EiiZ5Cj^4_%#;sJnSg8%27&+o|AR0He1K4d=~WQ0AQS=u NV0?&)U^7WF4*=Qkam)Y!