Suggest new callback routines with user-supplied argument

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Suggest new callback routines with user-supplied argument

tennesseephil
The mouse and trackbar callback routines are easy to use and very
useful.  But it would really be nice to add another way to set up a
callback that would pass a user-supplied argument pointer to the
callback routine. This would make it possible to pass a pointer to a
parameter block which could contain pointers to objects and other
items.  This would eliminate the use of ugly global variables.