Hi,
Changing mouse icon / cursor in Xforms is very easy:
FL_FORM *myForm;
fl_set_cursor( myForm->window, type_of_cursor );
The list of "types of cursors" (in fact the "mouse pointer icon").
is in <X11/cursorfont.h>
examples:
XC_watch
XC_coffee_mug
XC_cross_hair
A symbol is provided by XForms (forms.h) to restore
the initial cursor whatever it is:
FL_DEFAULT_CURSOR
Assignation is done in a "per window basis",
I think this function is not documented in the manual,
it is found directly in the "forms.h" file,
the only similar reference I'd found in
the index is to "fl_setpup_cursor"
I hope that it isn't a "private" function,
but only an omision
It is ?
Any way,
it works nice !
Luis
----------------------
________________________________________________________________
Luis Eduardo IBANEZ
PhD Student
Departement Image et Traitement de l'Information
Ecole Nationale Superieure des Telecommunications de Bretagne
Technopole de Brest-Iroise BP 832, 29285 BREST - FRANCE
tel (33)2.98.00.13.57
fax (33)2.98.00.10.98
e-mail: luis.ibanez@enst-bretagne.fr
e-mail: luisiban@club-internet.fr
________________________________________________________________
_________________________________________________
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://bragg.phys.uwm.edu/xforms
List Archive: http://bob.usuf2.usuhs.mil/mailserv/list-archives/