summaryrefslogtreecommitdiff
path: root/inc/cad/debug.h
diff options
context:
space:
mode:
Diffstat (limited to 'inc/cad/debug.h')
-rw-r--r--inc/cad/debug.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/inc/cad/debug.h b/inc/cad/debug.h
index b08463f..cad9b3c 100644
--- a/inc/cad/debug.h
+++ b/inc/cad/debug.h
@@ -2,4 +2,15 @@
#include <stdint.h>
+#include <SDL2/SDL.h>
+
+#define igGetIO igGetIO_Nil
+
void print_subassemblies(struct constraints *c, struct subassembly *assemblies, size_t assemblies_num);
+
+struct gui {
+ SDL_Window *window;
+ SDL_GLContext gl_context;
+};
+
+void show_debug_ui(struct constraints *c, struct subassembly *assemblies, size_t assemblies_num, struct drawing* draw);