From 7d5f055547e70fa93ee9ac944e62f8d657b9dc55 Mon Sep 17 00:00:00 2001 From: chai Date: Fri, 19 Oct 2018 08:36:44 +0800 Subject: =?UTF-8?q?*=E4=BF=AE=E6=94=B9=E6=96=87=E4=BB=B6=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/libjin/Input/Mouse.cpp | 27 --------------------------- 1 file changed, 27 deletions(-) delete mode 100644 src/libjin/Input/Mouse.cpp (limited to 'src/libjin/Input/Mouse.cpp') diff --git a/src/libjin/Input/Mouse.cpp b/src/libjin/Input/Mouse.cpp deleted file mode 100644 index dcaa771..0000000 --- a/src/libjin/Input/Mouse.cpp +++ /dev/null @@ -1,27 +0,0 @@ -#include "../configuration.h" -#ifdef LIBJIN_MODULES_INPUT - -#include "SDL.h" -#include "Mouse.h" - -namespace jin -{ - namespace input - { - - void Mouse::getState(int* x, int* y) - { - #ifdef LIBJIN_INPUT_SDL - SDL_GetMouseState(x, y); - #endif // LIBJIN_INPUT_SDL - } - - void Mouse::setVisible(bool visible) - { - SDL_ShowCursor(visible ? SDL_ENABLE : SDL_DISABLE); - } - - } // namespace input -} // namespace jin - -#endif // LIBJIN_MODULES_INPUT \ No newline at end of file -- cgit v1.1-26-g67d0