| 9120e874 Andy McCall |
1 |
|
| 2 |
#include "debug_ui_panels.h" |
| 3 |
|
| 4 |
std::vector<DebugPanel> & |
| 5 |
debug_ui_panels() |
| 6 |
{ |
| 7 |
static std::vector<DebugPanel> panels; |
| 8 |
return panels; |
| 9 |
} |
| 10 |
|
| 11 |
DebugPanelRegistration::DebugPanelRegistration(const char *name, void (*render)(bool *p_open), bool open) |
| 12 |
{ |
| 13 |
debug_ui_panels().push_back(DebugPanel{name, render, open}); |
| 14 |
} |