diff options
author | volker <volker@3ae390bd-cb1e-0410-b409-cd5a39f66f1f> | 2009-03-23 17:22:24 +0000 |
---|---|---|
committer | volker <volker@3ae390bd-cb1e-0410-b409-cd5a39f66f1f> | 2009-03-23 17:22:24 +0000 |
commit | 33422af5b63a50e337da8817ad02639a33f6ea5e (patch) | |
tree | cf463a8f292bfb52757c5413a8b8e628ac5f7605 /widget_icon.c | |
parent | 14e0be7a792ccf87e2e377501fa6e0de8836c1d5 (diff) | |
download | lcd4linux-33422af5b63a50e337da8817ad02639a33f6ea5e.tar.gz |
test intersection of (displayable) widgets
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@996 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
Diffstat (limited to 'widget_icon.c')
-rw-r--r-- | widget_icon.c | 4 |
1 files changed, 3 insertions, 1 deletions
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(). */ |