2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-05-14 05:11:21 +00:00
metaforce/Runtime/GuiSys/CGuiModel.hpp
2016-04-14 11:42:47 -10:00

31 lines
730 B
C++

#ifndef __URDE_CGUIMODEL_HPP__
#define __URDE_CGUIMODEL_HPP__
#include "CGuiWidget.hpp"
#include "CToken.hpp"
#include "Graphics/CModel.hpp"
namespace urde
{
class CGuiModel : public CGuiWidget
{
TLockedToken<CModel> xf8_model;
ResId x108_modelId;
u32 x10c_lightMask;
public:
CGuiModel(const CGuiWidgetParms& parms, ResId modelId, u32 lightMask, bool flag);
FourCC GetWidgetTypeID() const {return FOURCC('MODL');}
std::vector<ResId> GetModelAssets() const;
bool GetIsFinishedLoadingWidgetSpecific() const;
void Touch() const;
void Draw(const CGuiWidgetDrawParms& parms) const;
static CGuiModel* Create(CGuiFrame* frame, CInputStream& in, bool);
};
}
#endif // __URDE_CGUIMODEL_HPP__