metaforce/Runtime/GuiSys/CGuiHeadWidget.cpp

21 lines
491 B
C++
Raw Normal View History

2016-03-11 22:50:15 +00:00
#include "CGuiHeadWidget.hpp"
#include "CGuiFrame.hpp"
2016-03-14 00:58:19 +00:00
#include "CGuiAnimController.hpp"
2016-03-11 22:50:15 +00:00
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;
}
}