GrAPiC
Graphics for Algo/Prog in C/C++

◆ isMousePressed()

bool grapic::isMousePressed ( int  button)
inline

return true if the mouse button 'button' is pressed

if (isMousePressed(SDL_BUTTON_LEFT)) { ... } // test if the left button of the mouse is pressed
bool isMousePressed(int button)
return true if the mouse button 'button' is pressed
Definition: Grapic.h:486