summaryrefslogtreecommitdiff
path: root/src/SFML/Window/WindowImpl.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/SFML/Window/WindowImpl.hpp')
-rw-r--r--src/SFML/Window/WindowImpl.hpp10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/SFML/Window/WindowImpl.hpp b/src/SFML/Window/WindowImpl.hpp
index 1e07a0f..1243506 100644
--- a/src/SFML/Window/WindowImpl.hpp
+++ b/src/SFML/Window/WindowImpl.hpp
@@ -1,7 +1,7 @@
////////////////////////////////////////////////////////////
//
// SFML - Simple and Fast Multimedia Library
-// Copyright (C) 2007-2015 Laurent Gomila (laurent@sfml-dev.org)
+// Copyright (C) 2007-2016 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.
@@ -187,6 +187,14 @@ public:
virtual void setMouseCursorVisible(bool visible) = 0;
////////////////////////////////////////////////////////////
+ /// \brief Grab or release the mouse cursor and keeps it from leaving
+ ///
+ /// \param grabbed True to enable, false to disable
+ ///
+ ////////////////////////////////////////////////////////////
+ virtual void setMouseCursorGrabbed(bool grabbed) = 0;
+
+ ////////////////////////////////////////////////////////////
/// \brief Enable or disable automatic key-repeat
///
/// \param enabled True to enable, false to disable