Testing a thing

This commit is contained in:
Charles Dang 2020-12-14 07:56:04 +11:00
parent ccbb0de4e2
commit 36062ed61c
3 changed files with 4 additions and 5 deletions

View File

@ -112,7 +112,7 @@ void volume_setter_on_change(widget& w)
} // end anon namespace
using namespace preferences;
using avp = preferences::advanced_manager::option;
using avp = preferences::advanced_manager;
REGISTER_DIALOG(preferences_dialog)

View File

@ -25,7 +25,6 @@
#include <boost/dynamic_bitset.hpp>
class game_config_view;
// This file is not named preferences.hpp in order -I conflicts with
// src/preferences.hpp.

View File

@ -31,14 +31,14 @@ public:
~advanced_manager();
enum class type { TOGGLE, SLIDER, COMBO, SPECIAL };
struct option
{
option(const config& pref);
enum class type { TOGGLE, SLIDER, COMBO, SPECIAL };
/** The preference type. */
option::type type;
type type;
/** Displayed name. */
t_string name;