2018-10-07 03:42:33 +00:00
|
|
|
#pragma once
|
2016-03-11 22:50:15 +00:00
|
|
|
|
|
|
|
#include "CGuiWidget.hpp"
|
|
|
|
|
2018-12-08 05:30:43 +00:00
|
|
|
namespace urde {
|
2016-03-11 22:50:15 +00:00
|
|
|
|
2018-12-08 05:30:43 +00:00
|
|
|
class CGuiHeadWidget : public CGuiWidget {
|
2016-03-11 22:50:15 +00:00
|
|
|
public:
|
2019-08-09 12:45:18 +00:00
|
|
|
FourCC GetWidgetTypeID() const override { return FOURCC('HWIG'); }
|
2018-12-08 05:30:43 +00:00
|
|
|
CGuiHeadWidget(const CGuiWidgetParms& parms);
|
|
|
|
static std::shared_ptr<CGuiWidget> Create(CGuiFrame* frame, CInputStream& in, CSimplePool* sp);
|
2017-01-22 01:40:12 +00:00
|
|
|
|
2018-12-08 05:30:43 +00:00
|
|
|
std::shared_ptr<CGuiHeadWidget> shared_from_this() {
|
|
|
|
return std::static_pointer_cast<CGuiHeadWidget>(CGuiObject::shared_from_this());
|
|
|
|
}
|
2016-03-11 22:50:15 +00:00
|
|
|
};
|
|
|
|
|
2018-12-08 05:30:43 +00:00
|
|
|
} // namespace urde
|