diff options
author | geronet <geronet@3ae390bd-cb1e-0410-b409-cd5a39f66f1f> | 2006-02-25 13:36:33 +0000 |
---|---|---|
committer | geronet <geronet@3ae390bd-cb1e-0410-b409-cd5a39f66f1f> | 2006-02-25 13:36:33 +0000 |
commit | f5ca09365013ad01f33db2d2f58b222d6391b38d (patch) | |
tree | 14f52fa897c91489fa612827ff7bbdab42cf0d7b /widget_icon.c | |
parent | c5130183e05c6dcb274b6341a05f496acf64aa1f (diff) | |
download | lcd4linux-f5ca09365013ad01f33db2d2f58b222d6391b38d.tar.gz |
[lcd4linux @ 2006-02-25 13:36:33 by geronet]
updated indent.sh, applied coding style
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@647 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
Diffstat (limited to 'widget_icon.c')
-rw-r--r-- | widget_icon.c | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/widget_icon.c b/widget_icon.c index e677f56..38af359 100644 --- a/widget_icon.c +++ b/widget_icon.c @@ -1,4 +1,4 @@ -/* $Id: widget_icon.c,v 1.22 2006/01/23 06:17:18 reinelt Exp $ +/* $Id: widget_icon.c,v 1.23 2006/02/25 13:36:33 geronet Exp $ * * icon widget handling * @@ -21,6 +21,9 @@ * * * $Log: widget_icon.c,v $ + * Revision 1.23 2006/02/25 13:36:33 geronet + * updated indent.sh, applied coding style + * * Revision 1.22 2006/01/23 06:17:18 reinelt * timer widget added * @@ -208,17 +211,17 @@ void widget_icon_update(void *Self) Icon->visible = 0; DelResult(&result); } - + /* rotate icon bitmap */ Icon->curmap++; if (Icon->curmap >= Icon->maxmap) Icon->curmap = 0; } - + /* finally, draw it! */ if (W->class->draw) W->class->draw(W); - + /* add a new one-shot timer */ if (Icon->speed > 0) { timer_add(widget_icon_update, Self, Icon->speed, 1); |