1
0
Fork 0
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:
jules 2007-07-30 14:17:44 +00:00
parent 2b245c6e8c
commit d8d176fa2d
4 changed files with 131 additions and 42 deletions

View file

@ -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()
{