diff options
| author | Jonathan Gordon <rockbox@jdgordon.info> | 2012-03-15 22:50:17 +1100 |
|---|---|---|
| committer | Jonathan Gordon <rockbox@jdgordon.info> | 2012-03-15 22:52:53 +1100 |
| commit | 014a08cabb856b2360419aac404744029ee4748c (patch) | |
| tree | 1bd05c47281446eec2568a96a0e32e16439f1262 /manual/appendix | |
| parent | dcc78cb86764e5f02bc89693f64dc38c82f776ad (diff) | |
| download | rockbox-014a08cabb856b2360419aac404744029ee4748c.zip rockbox-014a08cabb856b2360419aac404744029ee4748c.tar.gz rockbox-014a08cabb856b2360419aac404744029ee4748c.tar.bz2 rockbox-014a08cabb856b2360419aac404744029ee4748c.tar.xz | |
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
Diffstat (limited to 'manual/appendix')
| -rw-r--r-- | manual/appendix/wps_tags.tex | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/manual/appendix/wps_tags.tex b/manual/appendix/wps_tags.tex index f1a661c..4aa9472 100644 --- a/manual/appendix/wps_tags.tex +++ b/manual/appendix/wps_tags.tex @@ -100,6 +100,13 @@ show the information for the next song to be played. \config{\%Fl('id',filename)} & See section \ref{ref:multifont}.\\ \end{tagmap} + \section{Misc Coloring Tags} + \begin{tagmap} + \config{\%dr(x,y,width,height,[color1,color2])} & Color a rectangle. \\ + \end{tagmap} + width and height can be - to fill the viewport. If no color is + specified the viewports foreground color will be used. If two + colors are specified it will do a gradient fill. } \section{Power Related Information} |