1
0
Fork 0
forked from len0rd/rockbox

lcd/skin_engine: Add the ability to draw onto the backdrop layer

The framebuffer the lcd driver uses can now be changed on the fly
which means that regular lcd_* drawing functions can draw onto the
"backdrop" buffer. The skin engine can use this to create layered
effects.

Add the tag %VB to a viewport to draw that viewport onto the
backdrop layer. If you want to draw an image onto the backdrop
framebuffer use %x(backdrop filename) instead of %X() inside
a viewport with %VB.

Change-Id: I741498e2af6d4f2d78932cabe8942317893e7cfc
This commit is contained in:
Jonathan Gordon 2012-02-28 22:26:32 +11:00
parent 13f98df5ed
commit 2c71aa9feb
13 changed files with 87 additions and 10 deletions

View file

@ -91,6 +91,8 @@ show the information for the next song to be played.
\config{\%VI('label')} & Set the Info Viewport to use the viewport called
label, as declared with the previous tag.\\
\config{\%VB} & Draw this viewport on the backdrop layer.
\end{tagmap}
\section{Additional Fonts}