mirror of https://github.com/bsnes-emu/bsnes.git
25 lines
420 B
C++
Executable File
25 lines
420 B
C++
Executable File
class OamViewer : public Window {
|
|
Q_OBJECT
|
|
|
|
public:
|
|
QHBoxLayout *layout;
|
|
QTreeWidget *list;
|
|
QVBoxLayout *controlLayout;
|
|
struct Canvas : public QWidget {
|
|
QImage *image;
|
|
void paintEvent(QPaintEvent*);
|
|
Canvas();
|
|
} *canvas;
|
|
QCheckBox *autoUpdateBox;
|
|
QPushButton *refreshButton;
|
|
|
|
void autoUpdate();
|
|
OamViewer();
|
|
|
|
public slots:
|
|
void show();
|
|
void refresh();
|
|
};
|
|
|
|
extern OamViewer *oamViewer;
|