diff options
author | harbaum <> | 2006-08-09 17:25:34 +0000 |
---|---|---|
committer | harbaum <> | 2006-08-09 17:25:34 +0000 |
commit | e90025352fa5a86e77c4a29daf20244b0ce2f449 (patch) | |
tree | ee6be5361bbd51f23b16a0b932b3573366228b66 /widget_bar.c | |
parent | eb70c14a09a6598da53e71c9969d221cbd6d491c (diff) | |
download | lcd4linux-e90025352fa5a86e77c4a29daf20244b0ce2f449.tar.gz |
[lcd4linux @ 2006-08-09 17:25:34 by harbaum]
Better bar color support and new bold font
Diffstat (limited to 'widget_bar.c')
-rw-r--r-- | widget_bar.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/widget_bar.c b/widget_bar.c index 079e327..a03f74d 100644 --- a/widget_bar.c +++ b/widget_bar.c @@ -1,4 +1,4 @@ -/* $Id: widget_bar.c,v 1.18 2006/01/23 06:17:18 reinelt Exp $ +/* $Id: widget_bar.c,v 1.19 2006/08/09 17:25:34 harbaum Exp $ * * bar widget handling * @@ -21,6 +21,9 @@ * * * $Log: widget_bar.c,v $ + * Revision 1.19 2006/08/09 17:25:34 harbaum + * Better bar color support and new bold font + * * Revision 1.18 2006/01/23 06:17:18 reinelt * timer widget added * @@ -270,6 +273,10 @@ int widget_bar_init(WIDGET * Self) /* update interval (msec), default 1 sec */ cfg_number(section, "update", 1000, 10, -1, &(Bar->update)); + /* get widget special colors */ + Bar->color_valid[0] = widget_color(section, Self->name, "barcolor0", &Bar->color[0]); + Bar->color_valid[1] = widget_color(section, Self->name, "barcolor1", &Bar->color[1]); + free(section); Self->data = Bar; |