diff options
| author | Tim Redfern <tim@getdrop.com> | 2018-04-24 22:32:17 +0100 |
|---|---|---|
| committer | Tim Redfern <tim@getdrop.com> | 2018-04-24 22:32:17 +0100 |
| commit | c0e32ef7278e108614186ff51f8e4260313a0e9e (patch) | |
| tree | 7777c8f98da5f204e56b938d7ba1740994ae6850 /gui/src/main.cpp | |
| parent | 82f4504bb849a60a74df906064a426b1c5759f09 (diff) | |
bugfix
Diffstat (limited to 'gui/src/main.cpp')
| -rw-r--r-- | gui/src/main.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gui/src/main.cpp b/gui/src/main.cpp index 14f4f21..a171351 100644 --- a/gui/src/main.cpp +++ b/gui/src/main.cpp @@ -68,6 +68,9 @@ int main(int argc, char *argv[]){ #ifdef PREVIEW_WINDOW ofAddListener(previewWindow->events().draw,mainApp.get(),&ofApp::draw); #endif + ofAddListener(guiWindow->events().mousePressed,mainApp.get(),&ofApp::guiMousePressed); + ofAddListener(guiWindow->events().mouseDragged,mainApp.get(),&ofApp::guiMouseDragged); + ofAddListener(guiWindow->events().mouseReleased,mainApp.get(),&ofApp::guiMouseReleased); ofRunApp(mainWindow, mainApp); ofRunMainLoop(); |
