2016-03-12 04:58:56 +00:00
|
|
|
#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;
|
2016-03-12 04:58:56 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
}
|