31 lines
774 B
C++
31 lines
774 B
C++
#pragma once
|
|
#include "wiLua.h"
|
|
#include "wiLuna.h"
|
|
#include "MainComponent.h"
|
|
|
|
class MainComponent_BindLua
|
|
{
|
|
private:
|
|
MainComponent* component = nullptr;
|
|
public:
|
|
static const char className[];
|
|
static Luna<MainComponent_BindLua>::FunctionType methods[];
|
|
static Luna<MainComponent_BindLua>::PropertyType properties[];
|
|
|
|
MainComponent_BindLua(MainComponent* component = nullptr);
|
|
MainComponent_BindLua(lua_State *L);
|
|
|
|
int GetActivePath(lua_State *L);
|
|
int SetActivePath(lua_State *L);
|
|
int SetFrameSkip(lua_State *L);
|
|
int SetTargetFrameRate(lua_State *L);
|
|
int SetFrameRateLock(lua_State *L);
|
|
int SetInfoDisplay(lua_State *L);
|
|
int SetWatermarkDisplay(lua_State *L);
|
|
int SetFPSDisplay(lua_State *L);
|
|
int SetResolutionDisplay(lua_State *L);
|
|
|
|
static void Bind();
|
|
};
|
|
|