diff options
Diffstat (limited to 'src/libjin/input')
-rw-r--r-- | src/libjin/input/je_keyboard.h | 12 | ||||
-rw-r--r-- | src/libjin/input/je_mouse.cpp | 26 | ||||
-rw-r--r-- | src/libjin/input/je_mouse.h | 18 |
3 files changed, 28 insertions, 28 deletions
diff --git a/src/libjin/input/je_keyboard.h b/src/libjin/input/je_keyboard.h index 25cfd5d..ffaad66 100644 --- a/src/libjin/input/je_keyboard.h +++ b/src/libjin/input/je_keyboard.h @@ -3,18 +3,18 @@ namespace JinEngine { - namespace Input - { + namespace Input + { /// /// /// - class Keyboard - { + class Keyboard + { - }; + }; - } // namespace Input + } // namespace Input } // namespace JinEngine #endif // __JE_KEYBOARD_H__ 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 diff --git a/src/libjin/input/je_mouse.h b/src/libjin/input/je_mouse.h index d129a07..f05f3bf 100644 --- a/src/libjin/input/je_mouse.h +++ b/src/libjin/input/je_mouse.h @@ -7,15 +7,15 @@ namespace JinEngine { - namespace Input - { + namespace Input + { /// /// /// - class Mouse : public Singleton<Mouse> - { - public: + class Mouse : public Singleton<Mouse> + { + public: /// /// /// @@ -29,16 +29,16 @@ namespace JinEngine /// /// /// - void getState(int* x, int* y); + void getState(int* x, int* y); /// /// /// - void setVisible(bool visible); + void setVisible(bool visible); - }; + }; - } // namespace Input + } // namespace Input } // namespace JinEngine #endif // defined(jin_input) |