diff options
Diffstat (limited to 'src/libjin/input/je_mouse.cpp')
-rw-r--r-- | src/libjin/input/je_mouse.cpp | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/src/libjin/input/je_mouse.cpp b/src/libjin/input/je_mouse.cpp index 476b1a2..edd3cf5 100644 --- a/src/libjin/input/je_mouse.cpp +++ b/src/libjin/input/je_mouse.cpp @@ -7,22 +7,22 @@ namespace JinEngine { - namespace Input - { + namespace Input + { - void Mouse::getState(int* x, int* y) - { - #ifdef jin_input == jin_input_sdl - SDL_GetMouseState(x, y); - #endif - } + 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); - } + void Mouse::setVisible(bool visible) + { + SDL_ShowCursor(visible ? SDL_ENABLE : SDL_DISABLE); + } - } // namespace Input + } // namespace Input } // namespace JinEngine #endif // defined(jin_input)
\ No newline at end of file |