mirror of
https://github.com/Kiritow/MiniEngine.git
synced 2024-03-22 13:11:22 +08:00
Add implements of some methods in class Cursor
This commit is contained in:
parent
bf3fc19eaa
commit
9e055884dc
|
@ -836,6 +836,22 @@ namespace MiniEngine
|
||||||
return ns;
|
return ns;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//static
|
||||||
|
Cursor Cursor::GetActiveCursor()
|
||||||
|
{
|
||||||
|
Cursor ns;
|
||||||
|
ns._set(SDL_GetCursor());
|
||||||
|
return ns;
|
||||||
|
}
|
||||||
|
|
||||||
|
//static
|
||||||
|
Cursor Cursor::GetDefaultCursor()
|
||||||
|
{
|
||||||
|
Cursor ns;
|
||||||
|
ns._set(SDL_GetDefaultCursor());
|
||||||
|
return ns;
|
||||||
|
}
|
||||||
|
|
||||||
//static
|
//static
|
||||||
bool Cursor::isShow()
|
bool Cursor::isShow()
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue
Block a user