2017-06-15 17:42:12 -06:00
|
|
|
// Copyright 2017 Dolphin Emulator Project
|
2021-07-04 19:22:19 -06:00
|
|
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
2017-06-15 17:42:12 -06:00
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
2020-10-16 23:05:43 -06:00
|
|
|
#include "DolphinQt/Config/ToolTipControls/ToolTipSlider.h"
|
2017-06-15 17:42:12 -06:00
|
|
|
|
|
|
|
namespace Config
|
|
|
|
{
|
|
|
|
template <typename T>
|
2020-09-20 05:58:17 -06:00
|
|
|
class Info;
|
2017-07-30 13:56:12 -06:00
|
|
|
}
|
2017-06-15 17:42:12 -06:00
|
|
|
|
2020-10-16 23:05:43 -06:00
|
|
|
class GraphicsSlider : public ToolTipSlider
|
2017-06-15 17:42:12 -06:00
|
|
|
{
|
2018-05-13 14:16:20 -06:00
|
|
|
Q_OBJECT
|
2017-06-15 17:42:12 -06:00
|
|
|
public:
|
2020-05-02 06:39:40 -06:00
|
|
|
GraphicsSlider(int minimum, int maximum, const Config::Info<int>& setting, int tick = 0);
|
2017-06-15 17:42:12 -06:00
|
|
|
void Update(int value);
|
|
|
|
|
|
|
|
private:
|
2020-05-02 06:39:40 -06:00
|
|
|
const Config::Info<int>& m_setting;
|
2017-06-15 17:42:12 -06:00
|
|
|
};
|