mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-19 01:04:20 +00:00
added a screensaver enablement method
This commit is contained in:
parent
2b245c6e8c
commit
d8d176fa2d
4 changed files with 131 additions and 42 deletions
|
|
@ -2562,6 +2562,18 @@ void Desktop::setMousePosition (int x, int y) throw()
|
|||
XWarpPointer (display, None, root, 0, 0, 0, 0, x, y);
|
||||
}
|
||||
|
||||
|
||||
//==============================================================================
|
||||
void Desktop::setScreenSaverEnabled (const bool isEnabled) throw()
|
||||
{
|
||||
jassertfalse // anyone know how to do this??
|
||||
}
|
||||
|
||||
bool Desktop::isScreenSaverEnabled() throw()
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
//==============================================================================
|
||||
void* juce_createMouseCursorFromImage (const Image& image, int hotspotX, int hotspotY) throw()
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue