Files
Mu/tools/BufferGraphViewer/mainwindow.h
meepingsnesroms 64ceb7695c Add buffer graph viewer and fix some style nits
The analog resistance values per pixel can now be seen.
The raw RGB16 display mode does have an issue when transitioning from red to green and green to blue where the pixel is almost black though.
2018-07-26 16:18:10 -07:00

37 lines
621 B
C++

#ifndef MAINWINDOW_H
#define MAINWINDOW_H
#include <QMainWindow>
#include <QByteArray>
#include <stdint.h>
namespace Ui {
class MainWindow;
}
class MainWindow : public QMainWindow{
Q_OBJECT
public:
explicit MainWindow(QWidget* parent = nullptr);
~MainWindow();
private:
void refreshOnscreenData();
private slots:
void on_loadData_clicked();
void on_width_valueChanged(int arg1);
void on_interlacedSegments_valueChanged(int arg1);
void on_segment_valueChanged(int arg1);
private:
uint16_t* imageData;
QByteArray fileData;
Ui::MainWindow* ui;
};
#endif // MAINWINDOW_H