2016-03-11 05:32:18 +00:00
|
|
|
#include "CGuiFrame.hpp"
|
2016-03-11 22:50:15 +00:00
|
|
|
#include "CGuiWidget.hpp"
|
|
|
|
#include "CGuiSys.hpp"
|
|
|
|
#include "zeus/CColor.hpp"
|
2016-03-11 05:32:18 +00:00
|
|
|
|
|
|
|
namespace urde
|
|
|
|
{
|
|
|
|
|
2016-03-11 22:50:15 +00:00
|
|
|
CGuiFrame::CGuiFrame(u32 id, const std::string& name, CGuiSys& sys, int a, int b, int c)
|
|
|
|
: x4_name(name), x14_id(id), x1c_transitionOpts(EFrameTransitionOptions::Zero),
|
|
|
|
x3c_guiSys(sys), xb0_a(a), xb4_b(b), xb8_c(c), xbc_24_flag1(false)
|
2016-03-11 05:32:18 +00:00
|
|
|
{
|
2016-03-11 22:50:15 +00:00
|
|
|
xa0_.resize(8);
|
|
|
|
x48_rootWidget.reset(new CGuiWidget(
|
|
|
|
CGuiWidget::CGuiWidgetParms(this, false, 0, 0, false, false, false, zeus::CColor::skWhite,
|
|
|
|
CGuiWidget::EGuiModelDrawFlags::Two, false,
|
|
|
|
x3c_guiSys.x2c_mode != CGuiSys::EUsageMode::Zero)));
|
2016-03-11 05:32:18 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
}
|