From 33422af5b63a50e337da8817ad02639a33f6ea5e Mon Sep 17 00:00:00 2001 From: volker Date: Mon, 23 Mar 2009 17:22:24 +0000 Subject: test intersection of (displayable) widgets git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@996 3ae390bd-cb1e-0410-b409-cd5a39f66f1f --- widget_icon.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'widget_icon.c') diff --git a/widget_icon.c b/widget_icon.c index 31299c9..83afbac 100644 --- a/widget_icon.c +++ b/widget_icon.c @@ -22,7 +22,7 @@ * */ -/* +/* * exported functions: * * WIDGET_CLASS Widget_Icon @@ -146,6 +146,8 @@ int widget_icon_init(WIDGET * Self) free(section); Self->data = Icon; + Self->x2 = Self->col + 1; + Self->y2 = Self->row + 1; /* as the speed is evaluatod on every call, we use 'one-shot'-timers. */ /* The timer will be reactivated on every call to widget_icon_update(). */ -- cgit v1.2.3