From 38bf0102300c97335d8e78b4683cb9b9476dcde0 Mon Sep 17 00:00:00 2001 From: Fox Caminiti Date: Thu, 10 Nov 2022 22:34:17 -0500 Subject: graph implementation --- main.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'main.h') diff --git a/main.h b/main.h index 1b386ce..096107a 100644 --- a/main.h +++ b/main.h @@ -119,7 +119,6 @@ enum focused_window struct sorted_comp_info { uint32 LayerCount; - uint32 CurrentSortIndex; }; struct sorted_layer @@ -145,6 +144,9 @@ struct ui ImVec2 TimelinePercentZoomed; ImVec2 TimelinePercentOffset; + ImVec2 GraphZoomSize; + ImVec2 GraphMoveSize; + uint32 InteractTransformMode; // Whether a drag on the Shift+T UI is scale (1), rotation (2), or position (3). timeline_mode TimelineMode; @@ -374,9 +376,11 @@ struct property_info }; struct property_channel { + uint8 Occupied; char *Name; uint16 Block_Bezier_Index[MAX_KEYFRAME_BLOCKS]; uint16 Block_Bezier_Count; + uint16 Keyframe_Count; real32 CurrentValue; real32 MaxVal; -- cgit v1.2.3