mirror of https://github.com/AxioDL/metaforce.git
32 lines
803 B
C++
32 lines
803 B
C++
#ifndef __URDE_CGUIMODEL_HPP__
|
|
#define __URDE_CGUIMODEL_HPP__
|
|
|
|
#include "CGuiWidget.hpp"
|
|
#include "CToken.hpp"
|
|
#include "Graphics/CModel.hpp"
|
|
|
|
namespace urde
|
|
{
|
|
class CSimplePool;
|
|
|
|
class CGuiModel : public CGuiWidget
|
|
{
|
|
TLockedToken<CModel> xb8_model;
|
|
CAssetId xc8_modelId;
|
|
u32 xcc_lightMask;
|
|
public:
|
|
CGuiModel(const CGuiWidgetParms& parms, CSimplePool* sp, CAssetId modelId, u32 lightMask, bool flag);
|
|
FourCC GetWidgetTypeID() const { return FOURCC('MODL'); }
|
|
|
|
std::vector<CAssetId> GetModelAssets() const;
|
|
bool GetIsFinishedLoadingWidgetSpecific() const;
|
|
void Touch() const;
|
|
void Draw(const CGuiWidgetDrawParms& parms) const;
|
|
|
|
static std::shared_ptr<CGuiWidget> Create(CGuiFrame* frame, CInputStream& in, CSimplePool* sp);
|
|
};
|
|
|
|
}
|
|
|
|
#endif // __URDE_CGUIMODEL_HPP__
|