mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 22:29:39 -06:00
Qt/TAS: Implement turbo mode
This commit is contained in:
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;
|
||||
};
|
Reference in New Issue
Block a user