diff options
author | Reinhard Tartler <siretart@tauware.de> | 2011-04-27 19:28:49 +0200 |
---|---|---|
committer | Reinhard Tartler <siretart@tauware.de> | 2011-04-27 19:28:49 +0200 |
commit | 4cd9f4d9071a672debd83b4cc1c5d57dc63b8549 (patch) | |
tree | 095c755ba2cc77198dfc85b45afd129b1e638d56 /widget_timer.c | |
parent | 18590c85ce8d68b155828a4aa400105812aeb75d (diff) | |
parent | 181cec4348da40331b3e8ab365732c025ec149b2 (diff) | |
download | lcd4linux-4cd9f4d9071a672debd83b4cc1c5d57dc63b8549.tar.gz |
New upstream snapshot
Diffstat (limited to 'widget_timer.c')
-rw-r--r-- | widget_timer.c | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/widget_timer.c b/widget_timer.c index 23f8c02..4ba243e 100644 --- a/widget_timer.c +++ b/widget_timer.c @@ -1,9 +1,9 @@ -/* $Id: widget_timer.c 773 2007-02-25 12:39:09Z michael $ - * $URL: https://ssl.bulix.org/svn/lcd4linux/branches/0.10.1/widget_timer.c $ +/* $Id: widget_timer.c 1106 2010-02-07 14:03:46Z mzuther $ + * $URL: https://ssl.bulix.org/svn/lcd4linux/trunk/widget_timer.c $ * * timer widget handling * - * Copyright (C) 2006 Michael Reinelt <reinelt@eunet.at> + * Copyright (C) 2006 Michael Reinelt <michael@reinelt.co.at> * Copyright (C) 2006 The LCD4Linux Team <lcd4linux-devel@users.sourceforge.net> * * This program is free software; you can redistribute it and/or modify @@ -22,7 +22,7 @@ * */ -/* +/* * exported functions: * * WIDGET_CLASS Widget_Timer @@ -42,7 +42,7 @@ #include "cfg.h" #include "qprintf.h" #include "property.h" -#include "timer.h" +#include "timer_group.h" #include "widget.h" #include "widget_timer.h" @@ -72,7 +72,7 @@ void widget_timer_update(void *Self) } /* add a new one-shot timer */ - timer_add(widget_timer_update, Self, update, 1); + timer_add_widget(widget_timer_update, Self, update, 1); } @@ -98,6 +98,8 @@ int widget_timer_init(WIDGET * Self) free(section); Self->data = Timer; + Self->x2 = NOCOORD; + Self->y2 = NOCOORD; /* just do it! */ widget_timer_update(Self); |