created default view for lumenarium

This commit is contained in:
Peter Slattery 2021-02-20 14:32:43 -08:00
parent 4deeb2470e
commit 0807abc08e
2 changed files with 21 additions and 2 deletions

View File

@ -10,7 +10,6 @@ enum panel_type {
PanelType_AnimationTimeline, PanelType_AnimationTimeline,
PanelType_DMXView, PanelType_DMXView,
PanelType_HierarchyView, PanelType_HierarchyView,
PanelType_NodeGraph,
PanelType_ProfilerView, PanelType_ProfilerView,
PanelType_AssemblyDebug, PanelType_AssemblyDebug,
}; };

View File

@ -61,7 +61,27 @@ INITIALIZE_APPLICATION(InitializeApplication)
GlobalDebugServices->Interface.RenderSculpture = true; GlobalDebugServices->Interface.RenderSculpture = true;
PanelSystem_Init(&State->PanelSystem, GlobalPanelDefs, GlobalPanelDefsCount, &State->Permanent); PanelSystem_Init(&State->PanelSystem, GlobalPanelDefs, GlobalPanelDefsCount, &State->Permanent);
PanelSystem_PushPanel(&State->PanelSystem, PanelType_SculptureView, State, Context); {
panel* RootPanel = PanelSystem_PushPanel(&State->PanelSystem, PanelType_SculptureView, State, Context);
SplitPanel(RootPanel, .25f, PanelSplit_Horizontal, &State->PanelSystem, State, Context);
panel* AnimPanel = RootPanel->Bottom;
Panel_SetType(AnimPanel, &State->PanelSystem, PanelType_AnimationTimeline, State, Context);
panel* TopPanel = RootPanel->Top;
SplitPanel(TopPanel, .5f, PanelSplit_Vertical, &State->PanelSystem, State, Context);
panel* LeftPanel = TopPanel->Left;
SplitPanel(LeftPanel, .5f, PanelSplit_Vertical, &State->PanelSystem, State, Context);
panel* Profiler = LeftPanel->Right;
Panel_SetType(Profiler, &State->PanelSystem, PanelType_ProfilerView, State, Context);
panel* Hierarchy = LeftPanel->Left;
Panel_SetType(Hierarchy, &State->PanelSystem, PanelType_HierarchyView, State, Context);
}
State->Modes = OperationModeSystemInit(&State->Permanent, Context.ThreadContext); State->Modes = OperationModeSystemInit(&State->Permanent, Context.ThreadContext);
State->UserSpaceDesc = BlumenLumen_UserSpaceCreate(); State->UserSpaceDesc = BlumenLumen_UserSpaceCreate();