mirror of https://github.com/AxioDL/metaforce.git
25 lines
595 B
C++
25 lines
595 B
C++
#include "CGuiPane.hpp"
|
|
#include "CGuiAnimController.hpp"
|
|
#include "CGuiLogicalEventTrigger.hpp"
|
|
|
|
namespace urde
|
|
{
|
|
|
|
CGuiPane::CGuiPane(const CGuiWidgetParms& parms, float a, float b, const zeus::CVector3f& vec)
|
|
: CGuiWidget(parms), xf8_a(a), xfc_b(b), x108_vec(vec)
|
|
{
|
|
InitializeBuffers();
|
|
}
|
|
|
|
CGuiPane* CGuiPane::Create(CGuiFrame* frame, CInputStream& in, bool flag)
|
|
{
|
|
CGuiWidgetParms parms = ReadWidgetHeader(frame, in, flag);
|
|
float a = in.readFloatBig();
|
|
float b = in.readFloatBig();
|
|
zeus::CVector3f vec;
|
|
vec.readBig(in);
|
|
return new CGuiPane(parms, a, b, vec);
|
|
}
|
|
|
|
}
|