From 3b8bd135662d99506e8a2ebb30b0d46b57861f74 Mon Sep 17 00:00:00 2001 From: Fox Caminiti Date: Thu, 29 Sep 2022 20:58:54 -0400 Subject: rewritten graph ui start --- main.cpp | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'main.cpp') diff --git a/main.cpp b/main.cpp index 866ef24..5d12d91 100644 --- a/main.cpp +++ b/main.cpp @@ -152,11 +152,11 @@ int main(int argc, char *argv[]) { project_data File = {}; File.Width = 1920; File.Height = 1080; - File.NumberOfFrames = 65; - File.FPS = 30; + File.NumberOfFrames = 120; + File.FPS = 24; File.CurrentFrame = 1; File.StartFrame = 0; - File.EndFrame = 65; + File.EndFrame = 100; #if DEBUG @@ -301,8 +301,8 @@ int main(int argc, char *argv[]) { // I'm loading the window positions from this convenient tool. ImGui by // default saves window position to an external .ini file, which can be // loaded from disk or memory. - io.IniFilename = NULL; - ImGui::LoadIniSettingsFromMemory(ImGuiPrefs); + // io.IniFilename = NULL; + // ImGui::LoadIniSettingsFromMemory(ImGuiPrefs); ImGui::StyleColorsDark(); @@ -360,11 +360,12 @@ int main(int argc, char *argv[]) { ImGui_PropertiesPanel(&File, &State, &UI, &Memory, io); ImGui_Timeline(&File, &State, &Memory, &UI, io); + // ImGui_Graph(&File, &State, &Memory, &UI, io); #if DEBUG ImGui_DebugUndoTree(&File, &Memory); if (Debug.ToggleWindow) { - // ImGui::ShowDemoWindow(); + ImGui::ShowDemoWindow(); ImGui_DebugMemoryViewer(&File, &Memory); } #endif -- cgit v1.2.3