forked from len0rd/rockbox
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
This commit is contained in:
parent
dcc78cb867
commit
014a08cabb
9 changed files with 105 additions and 6 deletions
|
|
@ -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}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue