mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2026-02-20 07:13:49 -07:00
This makes it possible to use enums as the config type.
Default values are now clearer and there's no need for casts
when calling Config::Get/Set anymore.
In order to add support for enums, the common code was updated to
handle enums by using the underlying type when loading/saving settings.
A copy constructor is also provided for conversions from
`ConfigInfo<Enum>` to `ConfigInfo<underlying_type<Enum>>`
so that enum settings can still easily work with code that doesn't care
about the actual enum values (like Graphics{Choice,Radio} in DolphinQt2
which only treat the setting as an integer).
|
||
|---|---|---|
| .. | ||
| Graphics | ||
| Mapping | ||
| ARCodeWidget.cpp | ||
| ARCodeWidget.h | ||
| CheatCodeEditor.cpp | ||
| CheatCodeEditor.h | ||
| CheatWarningWidget.cpp | ||
| CheatWarningWidget.h | ||
| ControllersWindow.cpp | ||
| ControllersWindow.h | ||
| FilesystemWidget.cpp | ||
| FilesystemWidget.h | ||
| GameConfigWidget.cpp | ||
| GameConfigWidget.h | ||
| GeckoCodeWidget.cpp | ||
| GeckoCodeWidget.h | ||
| InfoWidget.cpp | ||
| InfoWidget.h | ||
| LogConfigWidget.cpp | ||
| LogConfigWidget.h | ||
| LogWidget.cpp | ||
| LogWidget.h | ||
| NewPatchDialog.cpp | ||
| NewPatchDialog.h | ||
| PatchesWidget.cpp | ||
| PatchesWidget.h | ||
| PropertiesDialog.cpp | ||
| PropertiesDialog.h | ||
| SettingsWindow.cpp | ||
| SettingsWindow.h | ||