XForms: fdesign: emitted C-code for menus in structures

Jan Menzel (jan.menzel@gmx.de)
Sun, 03 Oct 1999 14:21:29 +0200

# To subscribers of the xforms list from Jan Menzel <jan.menzel@gmx.de> :

Hello,
there is a little problem within fdesign when C-code is emitted for more
then one menu using fl_set_menu_entries(). fdesign correctly creates all structures
(individual callback set to 0) but named them all "__". If you try using more then
one menu with menu entries listed in structures that can't be compiled because of
more then one definition of "__". It would be nice to fix that, if it is a bug. I
would suggest using the menus name if assigned or a combination of letters like
sprintf( stuct_name, "__%c", 'a'+<number of menu> ). That should name the first menus
structures __a, the second menus one __b, ... (not that there is any useful information
in the names anymore...).

Cheers Jan

------------------------------------------------
Dipl.Phys. | email: jan.menzel@gmx.de
Jan Menzel | http://nummer1.saw.rwth-aachen.de
------------------------------------------------

_________________________________________________
To unsubscribe, send the message "unsubscribe" to
xforms-request@bob.usuhs.mil or see
http://bob.usuhs.mil/mailserv/xforms.html
XForms Home Page: http://bragg.phys.uwm.edu/xforms
List Archive: http://bob.usuhs.mil/mailserv/list-archives/