1
0
mirror of https://github.com/narzoul/DDrawCompat synced 2024-12-30 08:55:36 +01:00
DDrawCompat/DDrawCompat/Win32/FontSmoothing.h

27 lines
507 B
C++

#pragma once
#include <Windows.h>
namespace Win32
{
namespace FontSmoothing
{
struct SystemSettings
{
BOOL isEnabled;
UINT type;
UINT contrast;
UINT orientation;
bool operator==(const SystemSettings& rhs) const;
bool operator!=(const SystemSettings& rhs) const;
};
extern SystemSettings g_origSystemSettings;
SystemSettings getSystemSettings();
void setSystemSettings(const SystemSettings& settings);
void setSystemSettingsForced(const SystemSettings& settings);
}
}