Support and General Use > Theming and Appearance Customization

WPS BMP loading changed

(1/2) > >>

Bagder:
If you use BMPs in your WPS, you might be interested in that the change I previously mailed about has now been committed:

http://www.rockbox.org/mail/archive/rockbox-dev-archive-2005-11/0100.shtml

Mmmm:
A stroke of genius..... watch your WPS files shrink!... and how tidy! :D

ray:
how does this change the pre/loading of images?

eg. from examplewps.wps:

--- Code: ---%x|a|image.bmp|0|0
--- End code ---

would this load from the following filepath?

--- Code: ---/.rockbox/wps/examplewps/image.bmp
--- End code ---

AlexP:
The wps e.g. example.wps should be placed in /.rockbox/WPS, and all bmps used in it in /.rockbox/WPS/example

In the actual WPS, the bmps should be loaded with

%x|a|image.bmp|0|0

and the wps will automatically look in the subdirectory with the same name as it.

ceebmoj:
hi,

How about also putting CFG in with the WPS files, specifying just the font and other WPS info.

Navigation

[0] Message Index

[#] Next page

Go to full version