mirror of
https://github.com/libretro/Mu.git
synced 2026-10-02 03:19:28 +00:00
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.
37 lines
621 B
C++
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
|