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;
|
|
|
|
};
|
|
|
|
}
|
2022-12-12 23:35:51 +01:00
|
|
|
|
|
|
|
extern Settings::SupportedResolutions supportedResolutions;
|
2021-06-30 23:42:27 +02:00
|
|
|
}
|