mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-28 19:58:53 +00:00
VideoCommon: Convert OptionType to enum class
This commit is contained in:
parent
d9e0bf72dc
commit
edbe202aa3
3 changed files with 27 additions and 28 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue