mirror of
https://github.com/Retropex/dolphin.git
synced 2025-05-20 07:10:43 +02:00

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;
|
|
};
|