mirror of
https://github.com/love2d/love.git
synced 2026-08-17 19:23:38 +02:00
Rename love.mouse.hasCursor to isCursorSupported (resolves issue #1309).
--HG-- branch : minor
This commit is contained in:
@@ -107,7 +107,7 @@ love::mouse::Cursor *Mouse::getCursor() const
|
||||
}
|
||||
|
||||
|
||||
bool Mouse::hasCursor() const
|
||||
bool Mouse::isCursorSupported() const
|
||||
{
|
||||
return SDL_GetDefaultCursor() != nullptr;
|
||||
}
|
||||
|
||||
@@ -53,7 +53,7 @@ public:
|
||||
|
||||
love::mouse::Cursor *getCursor() const override;
|
||||
|
||||
bool hasCursor() const override;
|
||||
bool isCursorSupported() const override;
|
||||
|
||||
double getX() const override;
|
||||
double getY() const override;
|
||||
|
||||
Reference in New Issue
Block a user