content-controlled panel parameters
This commit is contained in:
parent
988d39d241
commit
fb1a1572e6
File diff suppressed because it is too large
Load Diff
@ -313,11 +313,10 @@ Struct(V_Profiler)
|
||||
Enum(V_PanelFlag)
|
||||
{
|
||||
V_PanelFlag_None = 0,
|
||||
V_PanelFlag_Ignore = (1 << 0),
|
||||
V_PanelFlag_Screen = (1 << 1),
|
||||
V_PanelFlag_Spawn = (1 << 2),
|
||||
V_PanelFlag_Profiler = (1 << 3),
|
||||
V_PanelFlag_Console = (1 << 4),
|
||||
V_PanelFlag_Screen = (1 << 0),
|
||||
V_PanelFlag_Spawn = (1 << 1),
|
||||
V_PanelFlag_Profiler = (1 << 2),
|
||||
V_PanelFlag_Console = (1 << 3),
|
||||
};
|
||||
|
||||
Struct(V_Panel)
|
||||
@ -347,6 +346,12 @@ Struct(V_Panel)
|
||||
|
||||
V_PanelFlag flags;
|
||||
V_Profiler profiler;
|
||||
|
||||
//- Content-controlled parameters
|
||||
|
||||
Vec4 bg;
|
||||
Vec4 bd;
|
||||
f32 opacity;
|
||||
};
|
||||
|
||||
////////////////////////////////////////////////////////////
|
||||
@ -526,11 +531,6 @@ 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
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user