Support and General Use > Theming and Appearance Customization
WPS image idear
ceebmoj:
Hi all,
I was thinking about WPS files today and was wondering if a tag could be introduced that would allow you to set the path that the WPS images are loaded from. If no path is set then that would be loaded from .rockbox as standard.
However if it was set then all the BMPs would be loaded from this path. This would mean that it would take less space in the wps as rather than refer to the complete path for every image you wish to load you could just load the m by name from the set image path
This would allow WPS that use images to be easily removed with all the associated images. keeping the .rockbox folder tyder
Assimalyst:
Currently i have them stored in a subfolder called 'I' in the .rockbox folder to minimize file size.
I agree though this would help reduce it further.
kenshin:
One problem with this approach is that you would be forced to keep that tag at or near the top of the WPS. The image code loads the image into memory on the first pass through the WPS so you would never be able to load an image prior to setting your base directory name. But I can see where you're coming from. That would certainly help reduce the size of some of the monstrous WPS code I've seen.
Bagder:
I'd rather see the WPS code first attempt to load the images from the same dir the WPS file is located in.
kenshin:
--- Quote from: Daniel Stenberg on October 21, 2005, 04:21:33 PM ---I'd rather see the WPS code first attempt to load the images from the same dir the WPS file is located in.
--- End quote ---
That shouldn't be too difficult to code.
Navigation
[0] Message Index
[#] Next page
Go to full version