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

33 lines
545 B
C++

#pragma once
#include <set>
#include <Windows.h>
#include <Config/ListSetting.h>
namespace Config
{
namespace Settings
{
class SupportedResolutions : public ListSetting
{
public:
static const SIZE NATIVE;
SupportedResolutions();
virtual std::string getValueStr() const override;
std::set<SIZE> get() const { return m_resolutions; }
private:
void setValues(const std::vector<std::string>& values) override;
std::set<SIZE> m_resolutions;
};
}
extern Settings::SupportedResolutions supportedResolutions;
}