mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-28 05:06:42 +00:00
Qt/TAS: Implement turbo mode
This commit is contained in:
parent
0bce1c509d
commit
039b1baa3a
10 changed files with 162 additions and 89 deletions
24
Source/Core/DolphinQt/TAS/TASCheckBox.h
Normal file
24
Source/Core/DolphinQt/TAS/TASCheckBox.h
Normal 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;
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue