mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-06 21:25:03 -05:00
9 segment bitmap drawing:
Use %x9(id) to draw an image in the whole current viewport using the 9 segment drawer (which draws the corners as normal and *tiles* the middle segments to the needed width/height). Future work is to make it scale instead of tile Change-Id: Ic3ed1cad93f96091694801eb442e0da5a2401203
This commit is contained in:
parent
1fbdc280d7
commit
685cf59008
12 changed files with 76 additions and 6 deletions
|
|
@ -179,6 +179,7 @@ static const struct tag_info legal_tags[] =
|
|||
{ SKIN_TOKEN_IMAGE_PRELOAD, "xl", "SF|III", 0|NOBREAK },
|
||||
{ SKIN_TOKEN_IMAGE_PRELOAD_DISPLAY, "xd", "S|[IT]I", 0 },
|
||||
{ SKIN_TOKEN_IMAGE_DISPLAY, "x", "SF|II", SKIN_REFRESH_STATIC|NOBREAK },
|
||||
{ SKIN_TOKEN_IMAGE_DISPLAY_9SEGMENT, "x9", "S", 0 },
|
||||
|
||||
{ SKIN_TOKEN_LOAD_FONT, "Fl" , "IF|I", 0|NOBREAK },
|
||||
{ SKIN_TOKEN_ALBUMART_LOAD, "Cl" , "IIII|ss", 0|NOBREAK },
|
||||
|
|
|
|||
|
|
@ -163,6 +163,7 @@ enum skin_token_type {
|
|||
SKIN_TOKEN_IMAGE_PRELOAD_DISPLAY,
|
||||
SKIN_TOKEN_IMAGE_DISPLAY,
|
||||
SKIN_TOKEN_IMAGE_DISPLAY_LISTICON,
|
||||
SKIN_TOKEN_IMAGE_DISPLAY_9SEGMENT,
|
||||
|
||||
/* Albumart */
|
||||
SKIN_TOKEN_ALBUMART_LOAD,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue