2022-10-21 22:05:39 +02:00
|
|
|
#include "view_debug.hpp"
|
|
|
|
|
2023-03-01 21:27:15 +00:00
|
|
|
#include "services/gui/gui_service.hpp"
|
|
|
|
|
2022-10-21 22:05:39 +02:00
|
|
|
namespace big
|
|
|
|
{
|
|
|
|
void debug::main()
|
|
|
|
{
|
2023-03-04 12:13:13 +01:00
|
|
|
if (strcmp(g_gui_service->get_selected()->name, "GUI_TAB_DEBUG"))
|
2022-10-21 22:05:39 +02:00
|
|
|
return;
|
|
|
|
|
2023-02-01 19:46:33 +01:00
|
|
|
if (ImGui::Begin("DEBUG_WINDOW"_T.data()))
|
2022-10-21 22:05:39 +02:00
|
|
|
{
|
|
|
|
ImGui::BeginTabBar("debug_tabbar");
|
|
|
|
misc();
|
2022-10-21 23:47:50 +02:00
|
|
|
logs();
|
2022-10-21 22:05:39 +02:00
|
|
|
globals();
|
|
|
|
locals();
|
|
|
|
script_events();
|
2023-02-01 19:46:33 +01:00
|
|
|
scripts();
|
2023-02-13 20:38:30 +00:00
|
|
|
threads();
|
2023-05-10 23:29:40 +02:00
|
|
|
animations();
|
2022-10-21 22:05:39 +02:00
|
|
|
ImGui::EndTabBar();
|
|
|
|
}
|
|
|
|
ImGui::End();
|
|
|
|
}
|
|
|
|
}
|