all repos — mgba @ 38c8e4c4e1d04ef3a6d3439a9c0c55499dd9e701

mGBA Game Boy Advance Emulator

src/platform/qt/SavestateButton.h (view raw)

 1/* Copyright (c) 2013-2014 Jeffrey Pfau
 2 *
 3 * This Source Code Form is subject to the terms of the Mozilla Public
 4 * License, v. 2.0. If a copy of the MPL was not distributed with this
 5 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 6#pragma once
 7
 8#include <QAbstractButton>
 9
10namespace QGBA {
11
12class SavestateButton : public QAbstractButton {
13public:
14	SavestateButton(QWidget* parent = nullptr);
15
16protected:
17	virtual void paintEvent(QPaintEvent*) override;
18};
19
20}