2016-03-11 00:23:16 +00:00
|
|
|
#include "CGuiTableGroup.hpp"
|
|
|
|
|
|
|
|
namespace urde
|
|
|
|
{
|
|
|
|
|
2016-12-15 22:37:34 +00:00
|
|
|
CGuiTableGroup::CGuiTableGroup(const CGuiWidgetParms& parms, int a, int b, bool c)
|
2016-03-18 02:45:45 +00:00
|
|
|
: CGuiCompoundWidget(parms),
|
2016-12-15 22:37:34 +00:00
|
|
|
xc0_(a), xc4_(b),
|
|
|
|
xc8_(b), xcc_(b),
|
|
|
|
xd0_(c)
|
|
|
|
{}
|
2016-03-11 00:23:16 +00:00
|
|
|
|
2016-03-18 02:45:45 +00:00
|
|
|
CGuiTableGroup* CGuiTableGroup::Create(CGuiFrame* frame, CInputStream& in, bool flag)
|
|
|
|
{
|
|
|
|
CGuiWidgetParms parms = ReadWidgetHeader(frame, in, flag);
|
|
|
|
|
|
|
|
int a = in.readInt16Big();
|
2016-12-15 22:37:34 +00:00
|
|
|
in.readInt16Big();
|
|
|
|
in.readUint32Big();
|
2016-03-18 02:45:45 +00:00
|
|
|
int b = in.readInt16Big();
|
2016-12-15 22:37:34 +00:00
|
|
|
in.readInt16Big();
|
|
|
|
bool c = in.readBool();
|
|
|
|
in.readBool();
|
|
|
|
in.readFloatBig();
|
|
|
|
in.readFloatBig();
|
|
|
|
in.readBool();
|
|
|
|
in.readFloatBig();
|
|
|
|
in.readInt16Big();
|
|
|
|
in.readInt16Big();
|
|
|
|
in.readInt16Big();
|
|
|
|
in.readInt16Big();
|
|
|
|
|
|
|
|
CGuiTableGroup* ret = new CGuiTableGroup(parms, a, b, c);
|
2016-03-18 02:45:45 +00:00
|
|
|
ret->ParseBaseInfo(frame, in, parms);
|
|
|
|
return ret;
|
|
|
|
}
|
|
|
|
|
2016-03-11 00:23:16 +00:00
|
|
|
}
|