metaforce/Runtime/GuiSys/CGuiHeadWidget.hpp

19 lines
494 B
C++

#pragma once
#include "CGuiWidget.hpp"
namespace urde {
class CGuiHeadWidget : public CGuiWidget {
public:
FourCC GetWidgetTypeID() const override { return FOURCC('HWIG'); }
CGuiHeadWidget(const CGuiWidgetParms& parms);
static std::shared_ptr<CGuiWidget> Create(CGuiFrame* frame, CInputStream& in, CSimplePool* sp);
std::shared_ptr<CGuiHeadWidget> shared_from_this() {
return std::static_pointer_cast<CGuiHeadWidget>(CGuiObject::shared_from_this());
}
};
} // namespace urde