Etterna 0.74.4
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | List of all members
LunaScreenOptions Class Reference

Allow Lua to have access to ScreenOptions. More...

Inheritance diagram for LunaScreenOptions:
Inheritance graph
[legend]
Collaboration diagram for LunaScreenOptions:
Collaboration graph
[legend]

Public Member Functions

 DEFINE_METHOD (GetNumRows, GetNumRows())
 
- Public Member Functions inherited from Luna< ScreenOptions >
auto GetClassName () const -> const std::string &override
 
auto GetBaseClassName () const -> const std::string &override
 
- Public Member Functions inherited from LuaBinding
void Register (lua_State *L)
 
auto IsDerivedClass () const -> bool
 

Static Public Member Functions

static int AllAreOnLastRow (T *p, lua_State *L)
 
static int FocusedItemEndsScreen (T *p, lua_State *L)
 
static int GetCurrentRowIndex (T *p, lua_State *L)
 
static int GetOptionRow (T *p, lua_State *L)
 
- Static Public Member Functions inherited from Luna< ScreenOptions >
static auto check (lua_State *L, int narg, bool bIsSelf=false) -> T *
 
static auto get (lua_State *L, int narg) -> T *
 
static void PushObject (Lua *L, const std::string &sDerivedClassName, T *p)
 
- Static Public Member Functions inherited from LuaBinding
static void RegisterTypes (lua_State *L)
 
static void ApplyDerivedType (Lua *L, const std::string &sClassname, void *pSelf)
 
static auto CheckLuaObjectType (lua_State *L, int narg, std::string const &szType) -> bool
 

Additional Inherited Members

- Static Public Attributes inherited from Luna< ScreenOptions >
static std::string m_sClassName
 
static std::string m_sBaseClassName
 
- Protected Types inherited from Luna< ScreenOptions >
using T = ScreenOptions
 
using binding_t = int(T *, lua_State *)
 
- Protected Member Functions inherited from Luna< ScreenOptions >
void Register (Lua *L, int iMethods, int iMetatable) override
 
void AddMethod (std::string const &regName, int(*pFunc)(T *p, lua_State *L))
 
- Static Protected Member Functions inherited from LuaBinding
static void CreateMethodsTable (lua_State *L, const std::string &szName)
 
static auto GetPointerFromStack (Lua *L, const std::string &sType, int iArg) -> void *
 
static auto Equal (lua_State *L) -> bool
 
static auto PushEqual (lua_State *L) -> int
 

Detailed Description

Allow Lua to have access to ScreenOptions.


The documentation for this class was generated from the following file: