2016-03-10 03:47:37 +00:00
|
|
|
#ifndef __URDE_CGUIMODEL_HPP__
|
|
|
|
#define __URDE_CGUIMODEL_HPP__
|
|
|
|
|
|
|
|
#include "CGuiWidget.hpp"
|
2016-03-12 04:58:56 +00:00
|
|
|
#include "CToken.hpp"
|
|
|
|
#include "Graphics/CModel.hpp"
|
2016-03-10 03:47:37 +00:00
|
|
|
|
|
|
|
namespace urde
|
|
|
|
{
|
|
|
|
|
2016-03-12 04:58:56 +00:00
|
|
|
class CGuiModel : public CGuiWidget
|
|
|
|
{
|
|
|
|
TLockedToken<CModel> xf8_model;
|
|
|
|
TResId x108_modelId;
|
|
|
|
u32 x10c_lightMode;
|
|
|
|
public:
|
|
|
|
CGuiModel(const CGuiWidgetParms& parms, TResId modelId, u32 lightMode, bool flag);
|
|
|
|
static CGuiModel* Create(CGuiFrame* frame, CInputStream& in, bool);
|
|
|
|
};
|
2016-03-10 03:47:37 +00:00
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif // __URDE_CGUIMODEL_HPP__
|