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 void luminanceValueChanged(int);
27
28private:
29 Ui::SensorView m_ui;
30
31 GameController* m_controller;
32};
33
34}
35
36#endif