From f7a194270e25deeb3ce9c9b9fbce0da8b6be71ca Mon Sep 17 00:00:00 2001 From: Fox Caminiti Date: Sun, 5 Mar 2023 13:29:14 -0500 Subject: v4.6 --- src/include/main.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/include/main.h') diff --git a/src/include/main.h b/src/include/main.h index 8debbb0..375d8da 100644 --- a/src/include/main.h +++ b/src/include/main.h @@ -441,6 +441,7 @@ struct gl_viewport_data ImVec2 UIPos; ImVec2 UIZoom; real32 UIScale; + v4 BGColor; gl_data *LayerEntry[MAX_LAYERS]; int LayerCount; }; @@ -563,6 +564,7 @@ struct project_state selection_type RecentSelectionType = selection_type_none; interact_transform Interact_Transform; + interact_transform Interact_Transform_Prev; interact_type Interact_Active; int32 Interact_Modifier; bool32 Interact_OutOfDrag; // TODO(fox): replace this @@ -612,6 +614,7 @@ struct project_state focused_window FocusedWindow; // Convenience for adding window-specific hotkeys. bool32 SetFocus; v2 LastClickedPoint = V2(1, 1); + }; // UI info that's saved to the file and is not part of the history tree @@ -632,6 +635,7 @@ struct ui v4 Color = {1, 1, 1, 1}; v4 AltColor = {0, 0, 0, 1}; bool32 IsPrimary; + v4 BGColor = {0, 0, 0, 1}; #if STABLE sd_state SD; -- cgit v1.2.3