AppleWin/source/frontends/qapple/emulator.h
Andrea Odetti fe0730c4d3 Various improvements.
Rudimentary keyboard input.
Resize/Zoom video.

Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2017-10-14 19:18:44 +01:00

25 lines
438 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 = 0);
void redrawScreen();
void setZoom(QMdiSubWindow * window, int x);
void set43AspectRatio(QMdiSubWindow * window);
private:
void setVideoSize(QMdiSubWindow * window, const QSize & size);
};
#endif // EMULATOR_H