ppsspp/Qt/qtemugl.h
Xele02 69b837f18b Add debug dialogs (DisAsm, Memory, VFPU).
New features : Breakpoint display, thread status, display list status
Update translation and start french translation
2013-02-10 17:33:34 +01:00

42 lines
735 B
C++

#ifndef QTEMUGL_H
#define QTEMUGL_H
#include "gfx_es2/glsl_program.h"
#include <QGLWidget>
#include "EmuThread.h"
class QtEmuGL : public QGLWidget
{
Q_OBJECT
public:
explicit QtEmuGL(QWidget *parent = 0);
void init(InputState* inputState);
void SetRunning(bool value);
void start_rendering();
void stop_rendering();
void start_game(QString filename);
void stop_game();
void LockDraw(bool value);
signals:
void doubleClick();
protected:
void initializeGL();
void paintGL();
void resizeEvent(QResizeEvent *evt);
void paintEvent(QPaintEvent *);
void closeEvent(QCloseEvent *evt);
void mouseDoubleClickEvent(QMouseEvent *);
signals:
public slots:
private:
bool running_;
EmuThread thread;
};
#endif // QTEMUGL_H