FS#7289 - Allow upto 512 images to be used in WPS
This patch adds the ability to display part of a loaded bitmap in the wps.
It still only allows the maximum 52 bitmaps to be loaded but adds a new tag %xp to display upto 512 bitmap parts onto the screen. This partners the existing %xd tag.
Similar to patch FS#2791 (appears defunct as not updated for over 1 year), but lifts the limit of available image displays to 512.
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 make use of the additional display capabilities and come up with some fancy graphical wps’s
Initial version synced to svn13614
2008-03-24 00:09
Reason for closing: Out of Date
Additional comments about closing: Warning: Undefined array key "typography" in /home/rockbox/flyspray/plugins/dokuwiki/inc/parserutils.php on line 371 Warning: Undefined array key "camelcase" in /home/rockbox/flyspray/plugins/dokuwiki/inc/parserutils.php on line 407
Partial bitmap display has now been
implemented in SVN with "bitmap
strips".
Loading...
Available keyboard shortcuts
- Alt + ⇧ Shift + l Login Dialog / Logout
- Alt + ⇧ Shift + a Add new task
- Alt + ⇧ Shift + m My searches
- Alt + ⇧ Shift + t focus taskid search
Tasklist
- o open selected task
- j move cursor down
- k move cursor up
Task Details
- n Next task
- p Previous task
- Alt + ⇧ Shift + e ↵ Enter Edit this task
- Alt + ⇧ Shift + w watch task
- Alt + ⇧ Shift + y Close Task
Task Editing
- Alt + ⇧ Shift + s save task
Decided not to overload the %xp tag as it caused too many issues in the conditional tags..
Now have the following two new tags
%xp<bitmap load id>|srcx|srcy|w|h|
%xx<bitmap load id>|srcx|srcy|w|h|x|y|
sync’d (see filename) and updated following forum comments.
Back to a single overloaded tag, but with new parm seperators…
%xp<bitmap load id>:srcx:srcy:w:h
%xp<bitmap load id>:srcx:srcy:w:h:x:y
This makes its use in conditionals _much_ easier to use and read.
I think this patch is a good idea.
However, I don’t see why you had to change the separators from the de facto WPS standard pipe (|).
RaeNye, I guess he explained it in the comment just above yours :p
Sync’d to r14667