Added touch support to emulator. Implemented basic touch function.

This commit is contained in:
t-moe
2015-04-27 01:39:02 +02:00
parent 6ad5766de4
commit 259d446888
11 changed files with 265 additions and 5 deletions

View File

@@ -25,11 +25,15 @@ public:
protected:
void paintEvent(QPaintEvent * evt);
void mousePressEvent(QMouseEvent* evt);
void mouseReleaseEvent(QMouseEvent* evt);
void mouseMoveEvent(QMouseEvent* evt);
~MainWindow();
private:
//QMutex render_mutex;
QImage image;
void checkAndSendEvent(QPoint pos, bool down);
Ui::MainWindow *ui;