HostDisplay: Track mouse position

This commit is contained in:
Connor McLaughlin
2020-04-26 17:36:49 +10:00
parent 2502afc3f6
commit 1000cb30a9
6 changed files with 44 additions and 7 deletions

View File

@@ -21,7 +21,8 @@ Q_SIGNALS:
void windowRestoredEvent();
void windowClosedEvent();
void windowKeyEvent(int key_code, bool pressed);
void windowMouseEvent(int button, bool pressed);
void windowMouseMoveEvent(int x, int y);
void windowMouseButtonEvent(int button, bool pressed);
protected:
bool event(QEvent* event) override;