diff options
author | Jonathan Gordon <rockbox@jdgordon.info> | 2011-08-14 13:50:07 +0000 |
---|---|---|
committer | Jonathan Gordon <rockbox@jdgordon.info> | 2011-08-14 13:50:07 +0000 |
commit | 281f1a1ed6f6213139fbc230dc819bbcbe3ee40a (patch) | |
tree | 8407e89f6ce32200f2cdfc4efc08233957eff3cf /apps/gui/skin_engine/skin_display.h | |
parent | b2d0ea204c36785b5ec658ae0aecb89787886d8b (diff) | |
download | rockbox-281f1a1ed6f6213139fbc230dc819bbcbe3ee40a.tar.gz rockbox-281f1a1ed6f6213139fbc230dc819bbcbe3ee40a.zip |
New skin tags: %Vs() to set the text style and %Vg() to get the viewports gradient colours
%Vs(mode[, param]) : mode can be "invert", "color" (where param is the colour to use", "clear" to disable the current style, "gradient" where param is the number of lines the gradient should draw over.
%Vg(start colour, end colour, [text colour]), if this tag isnt used the list selection colours from the settings will set the gradient colours
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30302 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/gui/skin_engine/skin_display.h')
-rw-r--r-- | apps/gui/skin_engine/skin_display.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/apps/gui/skin_engine/skin_display.h b/apps/gui/skin_engine/skin_display.h index da4bb92aef..9faaea30cf 100644 --- a/apps/gui/skin_engine/skin_display.h +++ b/apps/gui/skin_engine/skin_display.h | |||
@@ -48,10 +48,8 @@ int evaluate_conditional(struct gui_wps *gwps, int offset, | |||
48 | line is the index of the line on the screen. | 48 | line is the index of the line on the screen. |
49 | scroll indicates whether the line is a scrolling one or not. | 49 | scroll indicates whether the line is a scrolling one or not. |
50 | */ | 50 | */ |
51 | void write_line(struct screen *display, | 51 | void write_line(struct screen *display, struct align_pos *format_align, |
52 | struct align_pos *format_align, | 52 | int line, bool scroll, unsigned style); |
53 | int line, | ||
54 | bool scroll); | ||
55 | void draw_peakmeters(struct gui_wps *gwps, int line_number, | 53 | void draw_peakmeters(struct gui_wps *gwps, int line_number, |
56 | struct viewport *viewport); | 54 | struct viewport *viewport); |
57 | #endif | 55 | #endif |