2022-11-07 17:06:11 +00:00
|
|
|
#ifndef _CGUIMODEL
|
|
|
|
#define _CGUIMODEL
|
|
|
|
|
|
|
|
#include "GuiSys/CGuiWidget.hpp"
|
|
|
|
|
|
|
|
#include "Kyoto/SObjectTag.hpp"
|
|
|
|
#include "Kyoto/TToken.hpp"
|
|
|
|
|
|
|
|
class CModel;
|
|
|
|
|
|
|
|
class CGuiModel : public CGuiWidget {
|
|
|
|
public:
|
|
|
|
CGuiModel(const CGuiWidgetParms& parms, CSimplePool* sp, CAssetId modelId, uint lightMask,
|
|
|
|
bool flag);
|
|
|
|
|
|
|
|
const TLockedToken< CModel >& GetModel() const { return xb8_model; }
|
2023-01-19 09:15:00 +00:00
|
|
|
bool GetIsFinishedLoadingWidgetSpecific() const override;
|
|
|
|
void Touch() const override;
|
|
|
|
void Draw(const CGuiWidgetDrawParms& parms) const override;
|
|
|
|
// bool TestCursorHit(const CMatrix4f& vp, const CVector2f& point) const override;
|
2022-11-07 17:06:11 +00:00
|
|
|
|
|
|
|
private:
|
|
|
|
TLockedToken< CModel > xb8_model;
|
|
|
|
CAssetId xc8_modelId;
|
|
|
|
uint xcc_lightMask;
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif // _CGUIMODEL
|