added imgui to the app

This commit is contained in:
MitchellHansen
2017-03-16 22:48:55 -07:00
parent 033e29d9b1
commit 394c9821fc
18 changed files with 38909 additions and 31 deletions

View File

@@ -1,6 +1,7 @@
#include "Input.h"
#include <iostream>
#include <memory>
#include "imgui/imgui-SFML.h"
Input::Input() :
@@ -21,6 +22,8 @@ void Input::consume_sf_events(sf::RenderWindow *window) {
sf::Event e;
while (window->pollEvent(e)) {
ImGui::SFML::ProcessEvent(e);
sf_event_queue.push_back(e);
}