mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-09 13:07:42 +00:00
More GuiSys classes and fields
This commit is contained in:
19
Runtime/GuiSys/CGuiHeadWidget.cpp
Normal file
19
Runtime/GuiSys/CGuiHeadWidget.cpp
Normal file
@@ -0,0 +1,19 @@
|
||||
#include "CGuiHeadWidget.hpp"
|
||||
#include "CGuiFrame.hpp"
|
||||
|
||||
namespace urde
|
||||
{
|
||||
|
||||
CGuiHeadWidget::CGuiHeadWidget(const CGuiWidgetParms& parms)
|
||||
: CGuiWidget(parms) {}
|
||||
|
||||
CGuiHeadWidget* CGuiHeadWidget::Create(CGuiFrame* frame, CInputStream& in, bool flag)
|
||||
{
|
||||
CGuiWidgetParms parms = ReadWidgetHeader(frame, in, flag);
|
||||
CGuiHeadWidget* ret = new CGuiHeadWidget(parms);
|
||||
frame->SetHeadWidget(ret);
|
||||
ret->ParseBaseInfo(frame, in, parms);
|
||||
return ret;
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user