debug gui select/hide nodes
[laserbrain_demo] / src / dbg_gui.h
1 #ifndef DBG_GUI_H_
2 #define DBG_GUI_H_
3
4 #include "imgui/imgui.h"
5
6 class SceneNode;
7
8 extern bool debug_gui;
9 extern bool parent_expanded;
10 extern SceneNode *dbg_sel_node;
11
12 bool init_debug_gui();
13 void cleanup_debug_gui();
14
15 void debug_gui_reshape(int x, int y);
16 void debug_gui_key(int key, bool press, unsigned int modstate);
17 void debug_gui_mbutton(int bn, bool press, int x, int y);
18 void debug_gui_mmotion(int x, int y);
19 void debug_gui_wheel(int dir);
20
21 #endif  // DBG_GUI_H_