move logging to panel

This commit is contained in:
jacob 2026-04-03 13:09:53 -05:00
parent d7ecdfb950
commit 1a7794e81b
4 changed files with 1127 additions and 1226 deletions

File diff suppressed because it is too large Load Diff

View File

@ -315,9 +315,10 @@ Struct(V_Profiler)
Enum(V_PanelFlag) Enum(V_PanelFlag)
{ {
V_PanelFlag_None = 0, V_PanelFlag_None = 0,
V_PanelFlag_Spawn = (1 << 0), V_PanelFlag_Ignore = (1 << 0),
V_PanelFlag_Profiler = (1 << 1), V_PanelFlag_Spawn = (1 << 1),
V_PanelFlag_Console = (1 << 2), V_PanelFlag_Profiler = (1 << 2),
V_PanelFlag_Console = (1 << 3),
}; };
Struct(V_Panel) Struct(V_Panel)
@ -523,6 +524,11 @@ V_TextboxDeltaFlag V_ApplyTextboxDeltas(V_TextboxState *tb, V_TextboxDeltaList d
String V_StringFromTextbox(Arena *arena, V_TextboxState *tb); String V_StringFromTextbox(Arena *arena, V_TextboxState *tb);
String V_StringFromTextboxSelection(Arena *arena, V_TextboxState *tb); String V_StringFromTextboxSelection(Arena *arena, V_TextboxState *tb);
////////////////////////////////////////////////////////////
//~ Panel
b32 V_ShouldIgnorePanel(V_Panel *panel);
//////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////
//~ Timeline helpers //~ Timeline helpers

View File

@ -1012,7 +1012,8 @@ ComputeShader(V_CompositeCS)
Vec4 grid_color = 0; Vec4 grid_color = 0;
if (is_in_world) if (is_in_world)
{ {
b32 draw_grid = frame.show_console; // b32 draw_grid = frame.show_console;
b32 draw_grid = 0;
// Grid outline // Grid outline
if (draw_grid) if (draw_grid)

View File

@ -316,7 +316,6 @@ Struct(V_SharedFrame)
b32 is_editing; b32 is_editing;
b32 ui_debug; b32 ui_debug;
b32 show_console;
b32 is_selecting; b32 is_selecting;
b32 is_panning; b32 is_panning;
b32 has_mouse_focus; b32 has_mouse_focus;