BitMapViewer.h 1013 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. #ifndef BITMAPVIEWER_OPENMSX_H
  2. #define BITMAPVIEWER_OPENMSX_H
  3. #include "ui_BitMapViewer.h"
  4. #include <QDialog>
  5. class VramBitMappedView;
  6. class BitMapViewer : public QDialog, private Ui::BitMapViewer
  7. {
  8. Q_OBJECT
  9. public:
  10. BitMapViewer(QWidget* parent = 0);
  11. private:
  12. void decodeVDPregs();
  13. void setPages();
  14. VramBitMappedView* imageWidget;
  15. int screenMod;
  16. bool useVDP;
  17. private slots:
  18. void refresh();
  19. void on_screenMode_currentIndexChanged(const QString& text);
  20. void on_showPage_currentIndexChanged(int index);
  21. void on_linesVisible_currentIndexChanged(int index);
  22. void on_bgColor_valueChanged(int value);
  23. void on_useVDPRegisters_stateChanged(int state);
  24. void on_saveImageButton_clicked(bool checked);
  25. void on_editPaletteButton_clicked(bool checked);
  26. void on_useVDPPalette_stateChanged(int state);
  27. void on_zoomLevel_valueChanged(double d);
  28. void imagePositionUpdate(int x, int y, int color, unsigned addr, int byteValue);
  29. void VDPDataStoreDataRefreshed();
  30. };
  31. #endif /* BITMAPVIEWER_OPENMSX_H */