mirror of https://github.com/AxioDL/metaforce.git
21 lines
491 B
C++
21 lines
491 B
C++
#include "CGuiHeadWidget.hpp"
|
|
#include "CGuiFrame.hpp"
|
|
#include "CGuiAnimController.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;
|
|
}
|
|
|
|
}
|