mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2025-06-13 11:47:58 -05:00
settings: Define base renderer runtime modifiable settings
This commit is contained in:
@ -92,10 +92,11 @@ void SetPerGameSetting(QComboBox* combobox,
|
||||
void SetHighlight(QWidget* widget, bool highlighted);
|
||||
|
||||
// Sets up a QCheckBox like a tristate one, given a Setting
|
||||
template <bool ranged, bool save>
|
||||
void SetColoredTristate(QCheckBox* checkbox,
|
||||
const Settings::SwitchableSetting<bool, ranged, save>& setting,
|
||||
CheckState& tracker) {
|
||||
template <bool ranged, bool save, bool runtime_modifiable>
|
||||
void SetColoredTristate(
|
||||
QCheckBox* checkbox,
|
||||
const Settings::SwitchableSetting<bool, ranged, save, runtime_modifiable>& setting,
|
||||
CheckState& tracker) {
|
||||
if (setting.UsingGlobal()) {
|
||||
tracker = CheckState::Global;
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user