mirror of
https://github.com/love2d/love.git
synced 2026-08-17 11:00:31 +02:00
Updated the new module changes to use more compile/link-time checking rather than runtime checking.
This commit is contained in:
@@ -49,9 +49,11 @@ public:
|
||||
BUTTON_MAX_ENUM
|
||||
};
|
||||
|
||||
Mouse();
|
||||
virtual ~Mouse() {}
|
||||
|
||||
// Implements Module.
|
||||
virtual ModuleType getModuleType() const { return M_MOUSE; }
|
||||
|
||||
virtual Cursor *newCursor(love::image::ImageData *data, int hotx, int hoty) = 0;
|
||||
virtual Cursor *getSystemCursor(Cursor::SystemCursor cursortype) = 0;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user