all repos — mgba @ f6a7fedb2813d070a07cd6da65e8ddd666cd41d1

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#ifndef QGBA_SAVESTATE_BUTTON
 7#define QGBA_SAVESTATE_BUTTON
 8
 9#include <QAbstractButton>
10
11namespace QGBA {
12
13class SavestateButton : public QAbstractButton {
14public:
15	SavestateButton(QWidget* parent = nullptr);
16
17protected:
18	virtual void paintEvent(QPaintEvent*) override;
19};
20
21}
22
23#endif