2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-09 02:27:43 +00:00

Proper handling for persistently resident resources

This commit is contained in:
Jack Andersen
2019-03-09 23:37:36 -10:00
parent 2f963b9ce3
commit 52b36795ac
18 changed files with 69 additions and 17 deletions

View File

@@ -124,6 +124,10 @@ void CGuiFrame::SetMaxAspect(float c) {
CGuiSys::ViewportResizeFrame(this);
}
void CGuiFrame::Reset() {
x10_rootWidget->Reset(ETraversalMode::Children);
}
void CGuiFrame::Update(float dt) { xc_headWidget->Update(dt); }
void CGuiFrame::Draw(const CGuiWidgetDrawParms& parms) const {