AppleWin/source/frontends/qapple/emulator.h
Andrea Odetti 0eaeaf60f8 To get decent benchmark results we need to force video repainting.
But it does not work with OpenGL.


Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2017-10-15 21:08:08 +01:00

26 lines
468 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 updateVideo();
void repaintVideo();
void setZoom(QMdiSubWindow * window, const int x);
void set43AspectRatio(QMdiSubWindow * window);
private:
void setVideoSize(QMdiSubWindow * window, const QSize & size);
};
#endif // EMULATOR_H