diff options
author | Nao Pross <naopross@thearcway.org> | 2018-02-16 21:11:12 +0100 |
---|---|---|
committer | Nao Pross <naopross@thearcway.org> | 2018-02-16 21:11:12 +0100 |
commit | eb74c43d4cd2526c513b1861d3daf01d12c63054 (patch) | |
tree | 41364f3aebb1834273a6fe483ca95bd7d4e21340 /src/main/cpp/Subconscious.cpp | |
parent | Add basic widget implementation (not usable) and configure cmake (diff) | |
parent | Add resources xml templates, call Scene::click on mouseclick (diff) | |
download | Subconscious-old-eb74c43d4cd2526c513b1861d3daf01d12c63054.tar.gz Subconscious-old-eb74c43d4cd2526c513b1861d3daf01d12c63054.zip |
Merge branch 'dev' of ssh://git.thearcway.org:2222/naopross/subconscious into dev
Diffstat (limited to 'src/main/cpp/Subconscious.cpp')
-rw-r--r-- | src/main/cpp/Subconscious.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/cpp/Subconscious.cpp b/src/main/cpp/Subconscious.cpp index 5d04e5c..f1d4e79 100644 --- a/src/main/cpp/Subconscious.cpp +++ b/src/main/cpp/Subconscious.cpp @@ -67,6 +67,7 @@ void Subconscious::run() /*** Mouse Events ***/ case sf::Event::MouseButtonPressed: + _currentScene->click(event.mouseButton); break; case sf::Event::MouseButtonReleased: |