2023-01-02 13:17:18 -06:00
|
|
|
#ifndef UI_C_SIMPLE_MODEL_FFX_HPP
|
|
|
|
|
#define UI_C_SIMPLE_MODEL_FFX_HPP
|
|
|
|
|
|
|
|
|
|
#include "ui/CSimpleModel.hpp"
|
|
|
|
|
|
|
|
|
|
class CSimpleFrame;
|
|
|
|
|
|
|
|
|
|
class CSimpleModelFFX : public CSimpleModel {
|
|
|
|
|
public:
|
|
|
|
|
// Static variables
|
|
|
|
|
static int32_t s_metatable;
|
|
|
|
|
|
|
|
|
|
// Static functions
|
2023-01-04 17:25:03 -06:00
|
|
|
static CSimpleFrame* Create(CSimpleFrame* parent);
|
|
|
|
|
static void CreateScriptMetaTable();
|
|
|
|
|
static void RegisterScriptMethods(lua_State* L);
|
|
|
|
|
static void Render(void* arg);
|
2023-01-02 13:17:18 -06:00
|
|
|
|
|
|
|
|
// Virtual member functions
|
2023-01-04 17:25:03 -06:00
|
|
|
virtual int32_t GetScriptMetaTable();
|
|
|
|
|
virtual void OnFrameRender(CRenderBatch* batch, uint32_t layer);
|
2023-01-02 13:17:18 -06:00
|
|
|
|
|
|
|
|
// Member functions
|
2023-01-04 17:25:03 -06:00
|
|
|
CSimpleModelFFX(CSimpleFrame* parent);
|
2023-01-02 13:17:18 -06:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
#endif
|