aboutsummaryrefslogtreecommitdiff
path: root/src/libjin/Input/Mouse.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/libjin/Input/Mouse.cpp')
-rw-r--r--src/libjin/Input/Mouse.cpp26
1 files changed, 13 insertions, 13 deletions
diff --git a/src/libjin/Input/Mouse.cpp b/src/libjin/Input/Mouse.cpp
index 31c29f9..3869337 100644
--- a/src/libjin/Input/Mouse.cpp
+++ b/src/libjin/Input/Mouse.cpp
@@ -6,22 +6,22 @@
namespace jin
{
-namespace input
-{
+ namespace input
+ {
- void Mouse::getState(int* x, int* y)
- {
- #ifdef LIBJIN_INPUT_SDL
- SDL_GetMouseState(x, y);
- #endif // LIBJIN_INPUT_SDL
- }
+ 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);
- }
+ void Mouse::setVisible(bool visible)
+ {
+ SDL_ShowCursor(visible ? SDL_ENABLE : SDL_DISABLE);
+ }
-} // input
+ } // input
} // jin
#endif // LIBJIN_MODULES_INPUT \ No newline at end of file