skin_engine: New tag to draw a rectangle (optionally with a gradient)
commit014a08cabb856b2360419aac404744029ee4748c
authorJonathan Gordon <rockbox@jdgordon.info>
Thu, 15 Mar 2012 11:50:17 +0000 (15 22:50 +1100)
committerJonathan Gordon <rockbox@jdgordon.info>
Thu, 15 Mar 2012 11:52:53 +0000 (15 22:52 +1100)
tree1bd05c47281446eec2568a96a0e32e16439f1262
parentdcc78cb86764e5f02bc89693f64dc38c82f776ad
skin_engine: New tag to draw a rectangle (optionally with a gradient)

%dr(x, y, width, height, [colour1[, colour2]]):
x,y - viewport relative pixel coordinates to start the rectangle.
width, height - obvious. can be '-' to fill the viewport
if both colours are left out the viewports foreground colour will be used
if one colour is specified it will fill the rectangle that colour.
if both colours are specified it will gradient fill the rectangle.

Change-Id: Iad451e99ded663bc7c5d182443659db7d909b388
apps/gui/skin_engine/skin_parser.c
apps/gui/skin_engine/skin_render.c
apps/gui/skin_engine/wps_internals.h
apps/screen_access.c
apps/screen_access.h
firmware/drivers/lcd-bitmap-common.c
lib/skin_parser/tag_table.c
lib/skin_parser/tag_table.h
manual/appendix/wps_tags.tex