skin engine: Make %vs() dynamic so it updated every screen update
This makes it easier to use %?vl() (variable last changed) in a sensible manner. Change-Id: I0bf9ae24bc4516d2fd5691af236cc4439a0863c8
This commit is contained in:
parent
5833cc181b
commit
43fc2a51d9
2 changed files with 1 additions and 2 deletions
|
@ -274,7 +274,6 @@ static bool do_non_text_tags(struct gui_wps *gwps, struct skin_draw_info *info,
|
|||
#endif /* HAVE_LCD_BITMAP */
|
||||
#ifdef HAVE_SKIN_VARIABLES
|
||||
case SKIN_TOKEN_VAR_SET:
|
||||
if (do_refresh)
|
||||
{
|
||||
struct skin_var_changer *data = SKINOFFSETTOPTR(skin_buffer, token->value.data);
|
||||
struct skin_var *var = SKINOFFSETTOPTR(skin_buffer, data->var);
|
||||
|
|
|
@ -236,7 +236,7 @@ static const struct tag_info legal_tags[] =
|
|||
{ SKIN_TOKEN_REC_HOURS, "Rh" , "", SKIN_REFRESH_DYNAMIC },
|
||||
|
||||
/* Skin variables */
|
||||
{ SKIN_TOKEN_VAR_SET, "vs", "SSI|I", SKIN_REFRESH_STATIC },
|
||||
{ SKIN_TOKEN_VAR_SET, "vs", "SSI|I", SKIN_REFRESH_DYNAMIC },
|
||||
{ SKIN_TOKEN_VAR_GETVAL, "vg", "S", SKIN_REFRESH_DYNAMIC },
|
||||
{ SKIN_TOKEN_VAR_TIMEOUT, "vl", "S|D", SKIN_REFRESH_DYNAMIC },
|
||||
|
||||
|
|
Loading…
Reference in a new issue