mirror of
https://github.com/hrydgard/ppsspp.git
synced 2024-11-27 07:20:49 +00:00
69b837f18b
New features : Breakpoint display, thread status, display list status Update translation and start french translation
42 lines
735 B
C++
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
|