Add implements of some methods in class Cursor

This commit is contained in:
Kirigaya Kazuto 2017-04-21 22:59:25 +08:00
parent bf3fc19eaa
commit 9e055884dc

View File

@ -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()
{ {