summaryrefslogtreecommitdiff
path: root/ui/imgui_wrap.h
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2024-06-05 02:21:00 +0100
committerDan Goodliffe <dan@randomdan.homeip.net>2024-06-05 02:21:00 +0100
commite4ed331cea817e55956200c9c116f8d11b54c86b (patch)
treeff152032ea715d1dbac39904c154baae6e9202d1 /ui/imgui_wrap.h
parentBuild and link imgui with sdl2 and opengl2 backends (diff)
downloadilt-e4ed331cea817e55956200c9c116f8d11b54c86b.tar.bz2
ilt-e4ed331cea817e55956200c9c116f8d11b54c86b.tar.xz
ilt-e4ed331cea817e55956200c9c116f8d11b54c86b.zip
Add imgui init and shutdown to appbase and gamemainwindow
Diffstat (limited to 'ui/imgui_wrap.h')
-rw-r--r--ui/imgui_wrap.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/ui/imgui_wrap.h b/ui/imgui_wrap.h
new file mode 100644
index 0000000..1d619a4
--- /dev/null
+++ b/ui/imgui_wrap.h
@@ -0,0 +1,6 @@
+#pragma once
+
+#pragma GCC diagnostic push
+#pragma GCC diagnostic ignored "-Wold-style-cast"
+#include "imgui.h" // IWYU pragma: export
+#pragma GCC diagnostic pop