all repos — mgba @ f4fcdf35d4d88616a3bda9bce7384df0e83a6964

mGBA Game Boy Advance Emulator

src/platform/qt/GamePakView.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_GAMEPAK_VIEW
 7#define QGBA_GAMEPAK_VIEW
 8
 9#include <QWidget>
10
11#include "ui_GamePakView.h"
12
13struct GBAThread;
14
15namespace QGBA {
16
17class GameController;
18
19class GamePakView : public QWidget {
20Q_OBJECT
21
22public:
23	GamePakView(GameController* controller, QWidget* parent = nullptr);
24
25private slots:
26	void gameStarted(GBAThread*);
27	void gameStopped();
28	void setLuminanceValue(int);
29
30private:
31	Ui::GamePakView m_ui;
32
33	GameController* m_controller;
34};
35
36}
37
38#endif