Remove duplicate unused code.

This commit is contained in:
Alex Szpakowski
2016-10-10 09:33:10 -03:00
parent 03c38185f6
commit 42be56858b
3 changed files with 0 additions and 16 deletions
-10
View File
@@ -886,16 +886,6 @@ bool Window::isVisible() const
return window && (SDL_GetWindowFlags(window) & SDL_WINDOW_SHOWN) != 0;
}
void Window::setMouseVisible(bool visible)
{
SDL_ShowCursor(visible ? SDL_ENABLE : SDL_DISABLE);
}
bool Window::getMouseVisible() const
{
return (SDL_ShowCursor(SDL_QUERY) == SDL_ENABLE);
}
void Window::setMouseGrab(bool grab)
{
mouseGrabbed = grab;
-3
View File
@@ -83,9 +83,6 @@ public:
bool isVisible() const;
void setMouseVisible(bool visible);
bool getMouseVisible() const;
void setMouseGrab(bool grab);
bool isMouseGrabbed() const;