4792c2eeed
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
29 lines
552 B
C++
29 lines
552 B
C++
#ifndef EMULATOR_H
|
|
#define EMULATOR_H
|
|
|
|
#include "ui_emulator.h"
|
|
|
|
class QMdiSubWindow;
|
|
|
|
class Emulator : public QFrame, private Ui::Emulator
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
explicit Emulator(QWidget *parent = nullptr);
|
|
|
|
void updateVideo();
|
|
void repaintVideo();
|
|
|
|
bool saveScreen(const QString & filename) const;
|
|
void displayLogo();
|
|
|
|
void setZoom(QMdiSubWindow * window, const int x);
|
|
void set43AspectRatio(QMdiSubWindow * window);
|
|
|
|
private:
|
|
void setVideoSize(QMdiSubWindow * window, const QSize & size);
|
|
|
|
};
|
|
|
|
#endif // EMULATOR_H
|