(i've been told to repost)
witnessed in a number of xforms apps:
---
If fl_show_oneliner(str,x,y) is called and
x is such that the oneliner will be displayed
across screen boundary, i.e. x+length_of_oneliner
>screen_width, then x is automatically adjusted
such that all of str is seen. This would be
a good behaviour, only it doesnt stay that way for
long: a moment later, the message springs to (x,y)
and then only part of it can be seen.
Is fl_show_oneliner() called twice even though an
application has called it only once?
----------------------
DEMOS/preemptive.c
static void do_tips(int id, void *p)
{
FL_OBJECT *ob = p;
fl_show_oneliner(ob->u_vdata, ob->form->x + ob->x,
ob->form->y + ob->y + ob->h + 1);
timeoutID = fl_add_timeout(INTERVAL, do_tips, ob);
}
--
Genius doesn't work on an assembly line basis. You can't simply say,
"Today I will be brilliant."
-- Kirk, "The Ultimate Computer", stardate 4731.3
_________________________________________________
To unsubscribe, send the message "unsubscribe" to
xforms-request@bob.usuf2.usuhs.mil or see
http://bob.usuf2.usuhs.mil/mailserv/xforms.html
XForms Home Page: http://bloch.phys.uwm.edu/xforms
List Archive: http://bob.usuf2.usuhs.mil/mailserv/list-archives/