diff options
author | chai <chaifix@163.com> | 2019-01-12 21:48:33 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2019-01-12 21:48:33 +0800 |
commit | 8b00d67febf133e89f6a0bfabc41feed555dc4a9 (patch) | |
tree | fe48ef17c250afa40c2588300fcdb5920dba6951 /src/libjin/input/je_mouse.cpp | |
parent | a907c39756ef6b368d06643afa491c49a9044a8e (diff) |
*去掉文件前缀je_
Diffstat (limited to 'src/libjin/input/je_mouse.cpp')
-rw-r--r-- | src/libjin/input/je_mouse.cpp | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/src/libjin/input/je_mouse.cpp b/src/libjin/input/je_mouse.cpp deleted file mode 100644 index edd3cf5..0000000 --- a/src/libjin/input/je_mouse.cpp +++ /dev/null @@ -1,28 +0,0 @@ -#include "../core/je_configuration.h" -#if defined(jin_input) - -#include "SDL.h" - -#include "je_mouse.h" - -namespace JinEngine -{ - namespace Input - { - - void Mouse::getState(int* x, int* y) - { - #ifdef jin_input == jin_input_sdl - SDL_GetMouseState(x, y); - #endif - } - - void Mouse::setVisible(bool visible) - { - SDL_ShowCursor(visible ? SDL_ENABLE : SDL_DISABLE); - } - - } // namespace Input -} // namespace JinEngine - -#endif // defined(jin_input)
\ No newline at end of file |