metaforce/Runtime/GuiSys/CGuiHeadWidget.hpp

19 lines
528 B
C++
Raw Normal View History

2018-10-06 20:42:33 -07:00
#pragma once
2016-03-11 14:50:15 -08:00
#include "Runtime/GuiSys/CGuiWidget.hpp"
2016-03-11 14:50:15 -08:00
2021-04-10 01:42:06 -07:00
namespace metaforce {
2016-03-11 14:50:15 -08:00
2018-12-07 21:30:43 -08:00
class CGuiHeadWidget : public CGuiWidget {
2016-03-11 14:50:15 -08:00
public:
FourCC GetWidgetTypeID() const override { return FOURCC('HWIG'); }
explicit CGuiHeadWidget(const CGuiWidgetParms& parms);
2018-12-07 21:30:43 -08:00
static std::shared_ptr<CGuiWidget> Create(CGuiFrame* frame, CInputStream& in, CSimplePool* sp);
2018-12-07 21:30:43 -08:00
std::shared_ptr<CGuiHeadWidget> shared_from_this() {
return std::static_pointer_cast<CGuiHeadWidget>(CGuiObject::shared_from_this());
}
2016-03-11 14:50:15 -08:00
};
2021-04-10 01:42:06 -07:00
} // namespace metaforce