|
|
|
|
GM_setMouseUpFunc
Sets the mouse up callback function
Declaration
void MGLAPI GM_setMouseUpFunc(
GM_mouseUpFunc func)
typedef void (*GM_mouseUpFunc)(
event_t *evt)
Prototype In
gm/gm.h
Parameters
func |
Mouse up callback function to register |
Description
This function sets the mouse up callback function for your Game Framework game and is called by the Game Framework main loop (GM_mainLoop) multiple times per frame to process all mouse up events in the order that they are entered by the user. Note that your callback is passed a copy of the event that needs to be processed, so you can if you wish have a single handler for all mouse events, or one that handles both mouse down and mouse up events and register the same function with the Game Framework for both event types.
See Also
Copyright © 2002 SciTech Software, Inc. Visit our web site at http://www.scitechsoft.com