all repos — mgba @ 618092a5f6b5ed1501e361b4c7c2f390f4967d66

mGBA Game Boy Advance Emulator

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

 1/* Copyright (c) 2013-2015 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_SENSOR_VIEW
 7#define QGBA_SENSOR_VIEW
 8
 9#include <QWidget>
10
11#include "ui_SensorView.h"
12
13namespace QGBA {
14
15class ConfigController;
16class GameController;
17
18class SensorView : public QWidget {
19Q_OBJECT
20
21public:
22	SensorView(GameController* controller, QWidget* parent = nullptr);
23
24private slots:
25	void setLuminanceValue(int);
26
27private:
28	Ui::SensorView m_ui;
29
30	GameController* m_controller;
31};
32
33}
34
35#endif