mirror of
https://github.com/love2d/love.git
synced 2026-08-18 19:54:22 +02:00
Make love.mouse.isDown accept a list too
Credits go to Boolsheet for making this patch (imported unmodified!)
This commit is contained in:
@@ -43,7 +43,7 @@ namespace sdl
|
||||
void getPosition(int & x, int & y) const;
|
||||
void setPosition(int x, int y);
|
||||
void setVisible(bool visible);
|
||||
bool isDown(Button button) const;
|
||||
bool isDown(Button * buttonlist) const;
|
||||
bool isVisible() const;
|
||||
void setGrab(bool grab);
|
||||
bool isGrabbed() const;
|
||||
@@ -59,4 +59,4 @@ namespace sdl
|
||||
} // mouse
|
||||
} // love
|
||||
|
||||
#endif // LOVE_MOUSE_SDL_MOUSE_H
|
||||
#endif // LOVE_MOUSE_SDL_MOUSE_H
|
||||
|
||||
Reference in New Issue
Block a user