Rockbox.org home
release
dev builds
extras
themes manual
wiki
device status forums
mailing lists
IRC bugs
patches
dev guide



Rockbox mail archive

Subject: Re: invert text in WPS

Re: invert text in WPS

From: Frank Lassowski <flassowski_at_gmx.de>
Date: Thu, 17 Jul 2008 12:18:43 +0200

Marc Guay schrub:
>> I'm tinking with my own WPS and I want to invert a short peace of text but
>> I can't find an wps-tag for that purpose.
>> Isn't there one or am I to stupid to find it?
>
> Hi Frank,
>
> I can think of several ways to do this but neither involve a single,
> simple WPS tag. Try putting white text on a black background image or
> play with the colour options provided by the viewports tags.

Hi Marc,

ok, viewport tags seem to be the right thing. But my wps-'code' is not
running correctly:

-----------------------------------------------------------------------
%Vl|a|48|193|80|12|1|111111|555555|
%wd
%V|0|0|176|220|1|-|-|
%al%?mp<STOPPED|PLAYING|PAUSED |FWD |REW >%arRepeat:
%?mm<OFF|ALL|ONE|SHF|A-B>
%al%?mh<HOLD| >%ar%pvdB
%acTitel %pp von %pe

%s%ac%?ia<=%ia=>
%s%ac%?id<-%id->
%s%ac%?it<%it|%fn>

%pb
%al%pc%ac-%pr%ar%pt

%alTyp: %fc %fbkbps %?fv<ABR|VBR>%ar%fskB

%ac%t1%?Ia<Next:|%?Id<Next:|%?It<Next:|%?Fn<Next:>>>>;%s%ac%t3%?Ia<=%Ia=>;%s%ac%t6%?Id<-%Id->

%s%ac%?It<%It|%?Fn<%Fn>>

%?bs<%Vda%acsleep %bs>
%al%bt%ac%cH:%cM%ar%ca, %cd. %cb %cy
-----------------------------------------------------------------------

In line 1 it is preloading viewport a. This viewport should be displayed
if the sleeptimer is activated (line 21) and show the text 'sleep time
remaining'

What is wrong? Hope you can help me, I'm playing around with viewports for
hours now...

Frank

p.s.: pardon me for private mail please. My fault...

-------------------------------------------------------------------
List admin: http://cool.haxx.se/cgi-bin/mailman/listinfo/rockbox
FAQ: http://www.rockbox.org/twiki/bin/view/Main/GeneralFAQ
Etiquette: http://www.rockbox.org/mail/etiquette.html
Received on 2008-07-17


Page was last modified "Jan 10 2012" The Rockbox Crew
aaa