Spectre/Display/Display: implement grabCursor()
This commit is contained in:
parent
e64d9cdce0
commit
0a5681c871
2 changed files with 7 additions and 0 deletions
|
|
@ -51,6 +51,8 @@ public :
|
|||
|
||||
void showCursor(bool value);
|
||||
|
||||
void grabCursor(bool value);
|
||||
|
||||
bool activate(bool value);
|
||||
|
||||
// Enable/Disable Vertical Sync.
|
||||
|
|
|
|||
|
|
@ -134,6 +134,11 @@ void Display::showCursor(bool value)
|
|||
m_impl->showCursor(value);
|
||||
}
|
||||
|
||||
void Display::grabCursor(bool value)
|
||||
{
|
||||
m_impl->grabCursor(value);
|
||||
}
|
||||
|
||||
bool Display::activate(bool value)
|
||||
{
|
||||
if (value) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue