metaforce/Runtime/GuiSys/CAuiEnergyBarT01.cpp

21 lines
456 B
C++
Raw Normal View History

#include "CAuiEnergyBarT01.hpp"
namespace urde
{
CAuiEnergyBarT01::CAuiEnergyBarT01(const CGuiWidgetParms& parms, u32)
: CGuiWidget(parms)
{
}
CAuiEnergyBarT01* CAuiEnergyBarT01::Create(CGuiFrame* frame, CInputStream& in, bool flag)
{
CGuiWidgetParms parms = ReadWidgetHeader(frame, in, flag);
u32 a = in.readUint32Big();
2017-01-21 15:46:51 +00:00
CAuiEnergyBarT01* ret = new CAuiEnergyBarT01(parms, a);
ret->ParseBaseInfo(frame, in, parms);
return ret;
}
}