metaforce/Runtime/GuiSys/CAuiEnergyBarT01.cpp

21 lines
454 B
C++
Raw Normal View History

#include "CAuiEnergyBarT01.hpp"
2016-03-14 00:58:19 +00:00
#include "CGuiAnimController.hpp"
#include "CGuiLogicalEventTrigger.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();
return new CAuiEnergyBarT01(parms, a);
}
}