summaryrefslogtreecommitdiff
path: root/include/SFML/Window/Mouse.hpp
diff options
context:
space:
mode:
authorJames Cowgill <james410@cowgill.org.uk>2015-05-08 21:14:39 +0100
committerJames Cowgill <james410@cowgill.org.uk>2015-05-08 21:14:39 +0100
commitebd1b636e5bf0f8fa6d210690582757e8b47f141 (patch)
tree02dc3aacf1c6f351154432247be0b4347fb14330 /include/SFML/Window/Mouse.hpp
parentfa21c65d0c764705cfc377bf0d0de08fac26874e (diff)
Imported Upstream version 2.3+dfsg
Diffstat (limited to 'include/SFML/Window/Mouse.hpp')
-rw-r--r--include/SFML/Window/Mouse.hpp12
1 files changed, 11 insertions, 1 deletions
diff --git a/include/SFML/Window/Mouse.hpp b/include/SFML/Window/Mouse.hpp
index 022ecc5..0056f8c 100644
--- a/include/SFML/Window/Mouse.hpp
+++ b/include/SFML/Window/Mouse.hpp
@@ -1,7 +1,7 @@
////////////////////////////////////////////////////////////
//
// SFML - Simple and Fast Multimedia Library
-// Copyright (C) 2007-2014 Laurent Gomila (laurent.gom@gmail.com)
+// Copyright (C) 2007-2015 Laurent Gomila (laurent@sfml-dev.org)
//
// This software is provided 'as-is', without any express or implied warranty.
// In no event will the authors be held liable for any damages arising from the use of this software.
@@ -60,6 +60,16 @@ public:
};
////////////////////////////////////////////////////////////
+ /// \brief Mouse wheels
+ ///
+ ////////////////////////////////////////////////////////////
+ enum Wheel
+ {
+ VerticalWheel, ///< The vertical mouse wheel
+ HorizontalWheel ///< The horizontal mouse wheel
+ };
+
+ ////////////////////////////////////////////////////////////
/// \brief Check if a mouse button is pressed
///
/// \param button Button to check