VideoCommon: Convert OptionType to enum class

This commit is contained in:
Dentomologist
2022-02-17 09:54:07 -08:00
parent d9e0bf72dc
commit edbe202aa3
3 changed files with 27 additions and 28 deletions

View File

@ -24,11 +24,11 @@ class PostProcessingConfiguration
public:
struct ConfigurationOption
{
enum OptionType
enum class OptionType
{
OPTION_BOOL = 0,
OPTION_FLOAT,
OPTION_INTEGER,
Bool = 0,
Float,
Integer,
};
bool m_bool_value = false;
@ -45,7 +45,7 @@ public:
std::vector<float> m_float_step_values;
std::vector<s32> m_integer_step_values;
OptionType m_type = OptionType::OPTION_BOOL;
OptionType m_type = OptionType::Bool;
std::string m_gui_name;
std::string m_option_name;