lcd/skin_engine: Add the ability to draw onto the backdrop layer
commit2c71aa9feb0268da7d993feddbbe4db591fcd3ba
authorJonathan Gordon <rockbox@jdgordon.info>
Tue, 28 Feb 2012 11:26:32 +0000 (28 22:26 +1100)
committerJonathan Gordon <rockbox@jdgordon.info>
Tue, 28 Feb 2012 12:03:04 +0000 (28 23:03 +1100)
tree29b3c1480abca46813ef2dc3bb8f0862b596fe34
parent13f98df5ed6b8183d972f85a1bfe55cf02194941
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
13 files changed:
apps/gui/skin_engine/skin_backdrops.c
apps/gui/skin_engine/skin_engine.h
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
firmware/export/lcd-remote.h
firmware/export/lcd.h
lib/skin_parser/tag_table.c
lib/skin_parser/tag_table.h
manual/appendix/wps_tags.tex