dolphin/Source/Core/DolphinQt2/Config/Graphics
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
..
AdvancedWidget.cpp Qt/AdvancedWidget: Fix "Enable Progressive Scan" 2018-05-06 03:16:43 +02:00
AdvancedWidget.h UI: Add Disable EFB Copies to VRAM to Advanced Options 2018-05-03 14:31:04 +10:00
EnhancementsWidget.cpp Dolphin: Add disable copy filter to graphics options 2018-04-29 19:05:20 +10:00
EnhancementsWidget.h Dolphin: Add disable copy filter to graphics options 2018-04-29 19:05:20 +10:00
GeneralWidget.cpp Qt/GeneralWidget: Fix "No" response to backend switch confirmation 2018-05-10 12:08:23 +02:00
GeneralWidget.h Qt: Deduplicate settings 2018-04-22 22:26:28 +02:00
GraphicsBool.cpp Qt/GraphicsControls: Fix more random crashes 2018-05-04 13:51:55 +02:00
GraphicsBool.h General: Remove unnecessary semicolons 2017-07-30 16:39:53 -04:00
GraphicsChoice.cpp Qt/GraphicsControls: Fix more random crashes 2018-05-04 13:51:55 +02:00
GraphicsChoice.h Config: Add support for enums 2018-05-12 18:10:26 +02:00
GraphicsRadio.cpp Qt/GraphicsControls: Fix more random crashes 2018-05-04 13:51:55 +02:00
GraphicsRadio.h Config: Add support for enums 2018-05-12 18:10:26 +02:00
GraphicsSlider.cpp Qt/GraphicsSlider: Fix random crashes 2018-05-03 15:22:40 +02:00
GraphicsSlider.h General: Remove unnecessary semicolons 2017-07-30 16:39:53 -04:00
GraphicsWidget.cpp DolphinQt2: Remove unimplemented prototypes 2017-07-26 16:26:55 -04:00
GraphicsWidget.h DolphinQt2: Remove unimplemented prototypes 2017-07-26 16:26:55 -04:00
GraphicsWindow.cpp Qt/GraphicsWindow: Fix software renderer breaking layout 2018-05-10 12:08:23 +02:00
GraphicsWindow.h Qt/GraphicsWindow: Fix software renderer breaking layout 2018-05-10 12:08:23 +02:00
HacksWidget.cpp Qt/HacksWidget: Fix "Accuracy" slider 2018-05-02 16:36:15 +02:00
HacksWidget.h Qt/GraphicsWindow: Disable unsupported options 2018-04-28 00:01:26 +02:00
SoftwareRendererWidget.cpp Update Readme.md and various fixes 2017-12-20 10:54:51 +01:00
SoftwareRendererWidget.h Update Readme.md and various fixes 2017-12-20 10:54:51 +01:00