summaryrefslogtreecommitdiff
path: root/main.h
diff options
context:
space:
mode:
authorFox Caminiti <fox@foxcam.net>2022-11-26 14:19:30 -0500
committerFox Caminiti <fox@foxcam.net>2022-11-26 14:29:18 -0500
commite9634a8763fef9c74d2bfeb349e10a43de45c0e1 (patch)
tree96da3e5e95e482649fc6412082f38d255e62b7a2 /main.h
parentfc4e97050aeb65ef89ba4cf0badd4cf9615d50fe (diff)
v1 release
Diffstat (limited to 'main.h')
-rw-r--r--main.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/main.h b/main.h
index f55e6fc..b4f5cb5 100644
--- a/main.h
+++ b/main.h
@@ -368,6 +368,12 @@ struct header_effect
uint32 GLShaderIndex;
};
+enum imgui_popups
+{
+ popup_none,
+ popup_saveas
+};
+
struct project_state
{
bool32 UpdateKeyframes = 0;
@@ -383,6 +389,7 @@ struct project_state
brush_state Brush;
#if STABLE
+ bool32 StableEnabled = 0;
sd_state SD;
char JSONPayload[1024*1024*4];
int32 CurlActive = 0;
@@ -427,6 +434,9 @@ struct project_state
int32 MsgTime; // currently in "frames"
char *Msg;
+ imgui_popups ImGuiPopups;
+ char Filename[512];
+
ImGuiTextFilter filter; // This filter API is pretty ballin'.
bool32 RerouteEffects; // Allows shift+space hotkey to gain focus on the effects panel.
};