mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 06:09:50 -06:00
UICommon: Move screensaver code to UICommon
This commit is contained in:
@ -4,11 +4,21 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#if defined(HAVE_XRANDR) && HAVE_XRANDR
|
||||
#include <X11/extensions/Xrandr.h>
|
||||
#endif
|
||||
|
||||
namespace UICommon
|
||||
{
|
||||
void Init();
|
||||
void Shutdown();
|
||||
|
||||
#if defined(HAVE_XRANDR) && HAVE_XRANDR
|
||||
void EnableScreenSaver(Display* display, Window win, bool enable);
|
||||
#else
|
||||
void EnableScreenSaver(bool enable);
|
||||
#endif
|
||||
|
||||
void CreateDirectories();
|
||||
void SetUserDirectory(const std::string& custom_path);
|
||||
|
||||
|
Reference in New Issue
Block a user