The zoominrefresh(int,int) and zoomoutrefresh(int,int) have wrong signatures 
and cannot
be directly invoked as Xt callbacks. They need shims that first get the mouse 
pointer position
and then invoke those.

There are possibly more problems like that, although only some of them result 
in wrong
application behavior, even if they all depend on unspecified behavior per the C 
standard.

It was generally a bad idea that there were function pointer coercions done in 
the [0,set,tool]action
macros in menus.h. This code should be cleanly compiling without any coercions; 
the function
signatures need fixing etc.

Cheers, Kuba
_______________________________________________
Xcircuit-dev mailing list
[email protected]
http://www.opencircuitdesign.com/mailman/listinfo/xcircuit-dev

Reply via email to