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

33 lines
545 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();
2021-08-23 23:08:31 +02:00
virtual std::string getValueStr() const override;
2021-06-30 23:42:27 +02:00
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;
2021-06-30 23:42:27 +02:00
}