summaryrefslogtreecommitdiff
path: root/main.h
diff options
context:
space:
mode:
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.
};