dolphin/Source/Core/DolphinQt/TAS/TASCheckBox.h

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

25 lines
394 B
C
Raw Normal View History

2019-03-31 02:49:57 +00:00
// 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;
};