Support and General Use > Theming and Appearance Customization

Allow upto 512 images on a WPS

(1/10) > >>

kahuna_999:
Hi

My first patch for rockbox :),  http://www.rockbox.org/tracker/task/7289, is to up the available images allowed on a WPS from the default 52 to 512.  This is achieved using a new display tag %xp which has parameters to pick parts of a loaded bitmap.

There are two variations on the command. The first will use the x,y coordinates from the corresponding %xl tag, the second allows you to specify them.

%xp<bitmap load id>|srcx|srcy|w|h|
%xp<bitmap load id>|srcx|srcy|w|h|x|y|

The %xp tag can be used in conditions.

I hope the artists out there can use this to come up with some stunning new wps's

Sambolina3:
Um not to be negative but why would you need more than 52 images? And what about those poor processors?  :'(

Llorean:
Basically, with the number of codecs Rockbox currently supports, plus the arbitrary length conditionals usable in the WPS it's very easy to come up against the limit for graphics. In fact, one of the official WPSes is pretty much up against it right now as it is (iCatcher). Used reasonably, bitmaps-by-parts should alleviate some of these problems. The total limit on WPS size (including graphics) will likely stay the same, or not increase much.

NicolasP:
I like the idea. If used correctly it can be very useful for WPS creators.
I haven't had time to really check the patch out yes, but I sure will :)

Yotto:
This sounds pretty cool.  If I read this correctly you're not allowing any more images to be loaded, but you're allowing us to specify an area of an existing loaded image to be displayed.  Very cool, and lots of potential.

Navigation

[0] Message Index

[#] Next page

Go to full version