mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-02-05 04:16:29 +01:00
4174f0063e
In older versions of Dolphin GraphicsBoolEx was used to create a pair of radio buttons selecting one of Virtual XFB and Real XFB, but this was removed with the introduction of Hybrid XFB in 65cd085f. In the meantime GraphicsRadioInt was introduced to allow for Graphics radio buttons with multiple options, so GraphicsBoolEx is now redundant.
26 lines
470 B
C++
26 lines
470 B
C++
// Copyright 2017 Dolphin Emulator Project
|
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
#pragma once
|
|
|
|
#include "DolphinQt/Config/ToolTipControls/ToolTipCheckBox.h"
|
|
|
|
namespace Config
|
|
{
|
|
template <typename T>
|
|
class Info;
|
|
}
|
|
|
|
class GraphicsBool : public ToolTipCheckBox
|
|
{
|
|
Q_OBJECT
|
|
public:
|
|
GraphicsBool(const QString& label, const Config::Info<bool>& setting, bool reverse = false);
|
|
|
|
private:
|
|
void Update();
|
|
|
|
const Config::Info<bool>& m_setting;
|
|
bool m_reverse;
|
|
};
|