Welcome to the Rockbox Technical Forums!
Without looking at the code for your theme, this behaviour absolutely wreaks of overlapping viewports.
Sometimes it can be a really long shot to give advise without looking at the code
I got the initial version of the ported themes working on a friend's nano, and I remember that the specific problem gbl08ma is referring to, is because most or all of the viewports foreground colors (%Vf) were defined in a separate line, so correcting this should solve it.
There has not been a need to place %vb/f() tags in the viewport definition for quite some time now, this is by design, so that one can easily change the colour of elements and not have it irrelevantly tied to the viewport definition.
Quote from: audio-i on January 16, 2011, 07:59:36 PMI got the initial version of the ported themes working on a friend's nano, and I remember that the specific problem gbl08ma is referring to, is because most or all of the viewports foreground colors (%Vf) were defined in a separate line, so correcting this should solve it.No....It is perfectly fine to have them where they are in the code.
# Track%V(76,35,92,15,3)%Vf(ffffff)%t(6.0)%s%al%?it<%it|%fn>;%t(12.0)%al%?it<%it|%fn>
Quote from: [St.] on January 16, 2011, 10:54:03 PMThere has not been a need to place %vb/f() tags in the viewport definition for quite some time now, this is by design, so that one can easily change the colour of elements and not have it irrelevantly tied to the viewport definition.I don't know why you mention this, this has not been questioned
You seem to be both arguing the same point, that the original theme that this was based on used a deprecated way of defining the colour.
By the way...what makes you think I didn't test it?
Without looking at the code for your theme...[St.]
There's no point in fixing anything else if you're going to have overlapping textual viewports with scrolling text, if the text is absolutely static then sometimes you can get away with it...but it's bad practise to do so in general.
... the solution I exposed makes it possible to display things right, even if there are overlapping viewports. That can be very useful if for some reason, e.g. to achieve a specific effect, you want to overlap viewports intentionally.
there is this theme http://themes.rockbox.org/index.php?themeid=1180&target=ipodcolor; if you put %Vf in a different line, the nice text effect given doesn't work, because he uses overlapping viewports.
Seems like some theme testers are getting testy... =PThis is the first I've heard of themeeditor! I'll have to look into this. I've been making themes by hand and testing on-device for years, now I feel a bit silly not thinking to look for tools like this!
It would be nice if someone made a script to check for these types of semantic errors in the code, kind of like JSLint.
Page created in 0.1 seconds with 15 queries.