dolphin/Source/Core
Léo Lam 6763a3fce1 Config: Add support for enums
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).
2018-05-12 18:10:26 +02:00
..
AudioCommon Reformat all the things! 2018-04-12 21:28:39 +02:00
Common Config: Add support for enums 2018-05-12 18:10:26 +02:00
Core Config: Add support for enums 2018-05-12 18:10:26 +02:00
DiscIO NandPaths: Return paths that are relative to Wii NAND 2018-05-04 19:52:17 +02:00
DolphinNoGUI UICommon: Avoid including Xrandr.h 2018-04-14 17:14:38 +02:00
DolphinQt2 Config: Add support for enums 2018-05-12 18:10:26 +02:00
DolphinWX Config: Add support for enums 2018-05-12 18:10:26 +02:00
InputCommon THis fixes issue #08 and #16, the rumble test and slider 2018-04-19 17:48:55 -04:00
UICommon Qt: Allow custom stylesheets 2018-05-08 15:07:50 +02:00
Updater Updater: Show error when trying to launch directly 2018-05-05 23:32:08 +02:00
VideoBackends Config: Fix template deduction for implicit conversions 2018-05-12 14:30:18 +02:00
VideoCommon Config: Add support for enums 2018-05-12 18:10:26 +02:00
CMakeLists.txt Moved NoGUI out of DolphinWx. 2017-03-08 01:24:18 -08:00