diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2021-12-28 15:42:50 +0000 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2021-12-28 15:42:50 +0000 |
commit | de9909df038d1b6bb47bcc82fea5f8dc9dec2491 (patch) | |
tree | b1f1337603c1bda68760d3f5f5147bc345e3e77f /application/main.cpp | |
parent | Component position mouse click check should only match mouse button events (diff) | |
download | ilt-de9909df038d1b6bb47bcc82fea5f8dc9dec2491.tar.bz2 ilt-de9909df038d1b6bb47bcc82fea5f8dc9dec2491.tar.xz ilt-de9909df038d1b6bb47bcc82fea5f8dc9dec2491.zip |
Initial implementation for being able to click in the main window to select something
Diffstat (limited to 'application/main.cpp')
-rw-r--r-- | application/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/application/main.cpp b/application/main.cpp index 2053385..128c9c1 100644 --- a/application/main.cpp +++ b/application/main.cpp @@ -55,7 +55,7 @@ public: run() { Windows windows; - windows.create<GameMainWindow>(DISPLAY_WIDTH, DISPLAY_HEIGHT); + windows.create<GameMainWindow>(DISPLAY_WIDTH, DISPLAY_HEIGHT, this); world.create<Terrain>(); |