Unified mouse movement handling

This commit is contained in:
saschawillems 2017-11-02 13:40:27 +01:00
parent 09dae4ee0b
commit 97975a314d
2 changed files with 44 additions and 87 deletions

View file

@ -69,6 +69,7 @@ private:
vks::UIOverlay *UIOverlay = nullptr;
// Called if the window is resized and some resources have to be recreatesd
void windowResize();
void handleMouseMove(int32_t x, int32_t y);
protected:
// Frame counter to display fps
uint32_t frameCounter = 0;