Qt/TAS: Implement turbo mode

This commit is contained in:
spycrab
2019-03-31 04:49:57 +02:00
parent 0bce1c509d
commit 039b1baa3a
10 changed files with 162 additions and 89 deletions

View File

@ -0,0 +1,24 @@
// Copyright 2019 Dolphin Emulator Project
// Licensed under GPLv2+
// Refer to the license.txt file included.
#pragma once
#include <QCheckBox>
class QMouseEvent;
class TASCheckBox : public QCheckBox
{
Q_OBJECT
public:
explicit TASCheckBox(const QString& text);
bool GetValue();
protected:
void mousePressEvent(QMouseEvent* event) override;
private:
bool m_trigger_on_odd;
};