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

30 lines
474 B
C
Raw Normal View History

2021-06-30 23:42:27 +02:00
#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();
std::set<SIZE> get() const { return m_resolutions; }
private:
std::string getValueStr() const override;
void setValues(const std::vector<std::string>& values) override;
std::set<SIZE> m_resolutions;
};
}
}