move logging to panel
This commit is contained in:
parent
d7ecdfb950
commit
1a7794e81b
File diff suppressed because it is too large
Load Diff
@ -315,9 +315,10 @@ Struct(V_Profiler)
|
||||
Enum(V_PanelFlag)
|
||||
{
|
||||
V_PanelFlag_None = 0,
|
||||
V_PanelFlag_Spawn = (1 << 0),
|
||||
V_PanelFlag_Profiler = (1 << 1),
|
||||
V_PanelFlag_Console = (1 << 2),
|
||||
V_PanelFlag_Ignore = (1 << 0),
|
||||
V_PanelFlag_Spawn = (1 << 1),
|
||||
V_PanelFlag_Profiler = (1 << 2),
|
||||
V_PanelFlag_Console = (1 << 3),
|
||||
};
|
||||
|
||||
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_StringFromTextboxSelection(Arena *arena, V_TextboxState *tb);
|
||||
|
||||
////////////////////////////////////////////////////////////
|
||||
//~ Panel
|
||||
|
||||
b32 V_ShouldIgnorePanel(V_Panel *panel);
|
||||
|
||||
////////////////////////////////////////////////////////////
|
||||
//~ Timeline helpers
|
||||
|
||||
|
||||
@ -1012,7 +1012,8 @@ ComputeShader(V_CompositeCS)
|
||||
Vec4 grid_color = 0;
|
||||
if (is_in_world)
|
||||
{
|
||||
b32 draw_grid = frame.show_console;
|
||||
// b32 draw_grid = frame.show_console;
|
||||
b32 draw_grid = 0;
|
||||
|
||||
// Grid outline
|
||||
if (draw_grid)
|
||||
|
||||
@ -316,7 +316,6 @@ Struct(V_SharedFrame)
|
||||
|
||||
b32 is_editing;
|
||||
b32 ui_debug;
|
||||
b32 show_console;
|
||||
b32 is_selecting;
|
||||
b32 is_panning;
|
||||
b32 has_mouse_focus;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user