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