forked from rosebudai/OpenRCT2-Web
Co-authored-by: Aaron van Geffen <aaron@aaronweb.net> Co-authored-by: Hielke Morsink <hielke.morsink@gmail.com>
This commit is contained in:
9 files changed
+28
-1
No files matched your search
@@ -11,6 +11,7 @@
|
||||
|
||||
#include "Theme.h"
|
||||
|
||||
#include <SDL.h>
|
||||
#include <algorithm>
|
||||
#include <openrct2/Context.h>
|
||||
#include <openrct2/Input.h>
|
||||
@@ -537,6 +538,11 @@ void window_all_wheel_input()
|
||||
}
|
||||
}
|
||||
|
||||
void ApplyScreenSaverLockSetting()
|
||||
{
|
||||
gConfigGeneral.disable_screensaver ? SDL_DisableScreenSaver() : SDL_EnableScreenSaver();
|
||||
}
|
||||
|
||||
/**
|
||||
* Initialises scroll widgets to their virtual size.
|
||||
* rct2: 0x006EAEB8
|
||||
|
||||
Reference in new issue
Block a user