Debian Codegraph @

src/BitMapViewer.h

raw symbols SCIP
1 #ifndef BITMAPVIEWER_OPENMSX_H
2 #define BITMAPVIEWER_OPENMSX_H
3
4 #include "ui_BitMapViewer.h"
5 #include <QDialog>
6
7 class VramBitMappedView;
8
9 class BitMapViewer : public QDialog, private Ui::BitMapViewer
10 {
11 Q_OBJECT
12 public:
13 BitMapViewer(QWidget* parent = nullptr);
14 void refresh();
15
16 private:
17 void decodeVDPregs();
18 void setPages();
19 void updateDisplayAsFrame();
20
21 void on_screenMode_currentIndexChanged(int index);
22 void on_currentPage_currentIndexChanged(int index);
23 void on_linesVisible_currentIndexChanged(int index);
24 void on_bgColor_valueChanged(int value);
25
26 void on_useVDPRegisters_stateChanged(int state);
27
28 void on_saveImageButton_clicked(bool checked);
29 void on_editPaletteButton_clicked(bool checked);
30 void on_useVDPPalette_stateChanged(int state);
31 void on_zoomLevel_valueChanged(double d);
32
33 void updateImagePosition(int x, int y, int color, unsigned addr, int byteValue);
34
35 void VDPDataStoreDataRefreshed();
36
37 private:
38 VramBitMappedView* imageWidget;
39 unsigned pageSize;
40 int screenMod;
41 bool useVDP;
42 };
43
44 #endif /* BITMAPVIEWER_OPENMSX_H */