1
0
mirror of https://github.com/narzoul/DDrawCompat synced 2024-12-30 08:55:36 +01:00
DDrawCompat/DDrawCompat/Config/Settings/DisplayResolution.h
2023-11-05 14:21:18 +01:00

28 lines
472 B
C++

#pragma once
#include <Windows.h>
#include <Common/Comparison.h>
#include <Config/MappedSetting.h>
namespace Config
{
namespace Settings
{
class DisplayResolution : public MappedSetting<SIZE>
{
public:
static const SIZE APP;
static const SIZE DESKTOP;
DisplayResolution();
protected:
std::string getValueStr() const override;
void setValue(const std::string& value) override;
};
}
extern Settings::DisplayResolution displayResolution;
}