diff options
author | Aki <please@ignore.pl> | 2022-12-17 21:41:22 +0100 |
---|---|---|
committer | Aki <please@ignore.pl> | 2022-12-17 21:41:22 +0100 |
commit | 34493a02b1cd2e7ec2e96192ce88ee00367dd366 (patch) | |
tree | 79d8a378610baf06c1f95db8a9b8d742aea17bd9 /kurator/src/Window.cpp | |
parent | 1482c7dbe3dd7de66ccffee9596dd42e12698b04 (diff) | |
download | kurator-34493a02b1cd2e7ec2e96192ce88ee00367dd366.zip kurator-34493a02b1cd2e7ec2e96192ce88ee00367dd366.tar.gz kurator-34493a02b1cd2e7ec2e96192ce88ee00367dd366.tar.bz2 |
Event log is now using ImGui
I don't like the fact that I put entire rlImGui and imgui into the project but
that's how they usually deal with the distribution and packaging...
Diffstat (limited to 'kurator/src/Window.cpp')
-rw-r--r-- | kurator/src/Window.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/kurator/src/Window.cpp b/kurator/src/Window.cpp index 5711243..a203e62 100644 --- a/kurator/src/Window.cpp +++ b/kurator/src/Window.cpp @@ -1,6 +1,8 @@ #include "Window.h" +#include <imgui.h> #include <raylib.h> +#include <rlImGui.h> namespace kurator @@ -12,11 +14,13 @@ Window::Window() InitWindow(800, 600, "Kurator"); SetWindowState(FLAG_WINDOW_RESIZABLE); SetTargetFPS(60); + rlImGuiSetup(true); } Window::~Window() { + rlImGuiShutdown(); CloseWindow(); } |