GM_setMouseMoveFunc

Sets the mouse move callback function

Declaration

void MGLAPI GM_setMouseMoveFunc(
    GM_mouseMoveFunc func)
typedef void (*GM_mouseMoveFunc)(
    event_t *evt)

Prototype In

gm/gm.h

Parameters

func

Mouse move callback function to register

 

Description

This function sets the mouse move 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 move events in the order that they are entered by the user.

See Also

GM_init, GM_setMouseDownFunc, GM_setMouseUpFunc

Copyright © 2002 SciTech Software, Inc. Visit our web site at http://www.scitechsoft.com