Etterna 0.75.1
Loading...
Searching...
No Matches
LunaThemeManager Class Reference

Allow Lua to have access to the ThemeManager. More...

Inheritance diagram for LunaThemeManager:
Collaboration diagram for LunaThemeManager:

Public Member Functions

 GENERAL_GET_PATH (GetPathF)
 GENERAL_GET_PATH (GetPathG)
 GENERAL_GET_PATH (GetPathB)
 GENERAL_GET_PATH (GetPathS)
 GENERAL_GET_PATH (GetPathO)
 DEFINE_METHOD (GetCurrentThemeDirectory, GetCurThemeDir())
 DEFINE_METHOD (GetCurLanguage, GetCurLanguage())
 DEFINE_METHOD (DoesThemeExist, DoesThemeExist(SArg(1)))
 DEFINE_METHOD (IsThemeSelectable, IsThemeSelectable(SArg(1)))
 DEFINE_METHOD (DoesLanguageExist, DoesLanguageExist(SArg(1)))
 DEFINE_METHOD (GetCurThemeName, GetCurThemeName())
 DEFINE_METHOD (GetRealCurThemeName, GetRealCurThemeName())
Public Member Functions inherited from Luna< ThemeManager >
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 ReloadMetrics (T *p, lua_State *L)
static int HasMetric (T *p, lua_State *L)
static int GetMetric (T *p, lua_State *L)
static int HasString (T *p, lua_State *L)
static int GetString (T *p, lua_State *L)
static int GetPathInfoB (T *p, lua_State *L)
static int RunLuaScripts (T *p, lua_State *L)
static int GetSelectableThemeNames (T *p, lua_State *L)
static int GetNumSelectableThemes (T *p, lua_State *L)
static int GetLanguages (T *p, lua_State *L)
static int GetThemeDisplayName (T *p, lua_State *L)
static int GetRealThemeDisplayName (T *p, lua_State *L)
static int GetThemeAuthor (T *p, lua_State *L)
static void PushMetricNamesInGroup (IniFile const &ini, lua_State *L)
static int GetMetricNamesInGroup (T *p, lua_State *L)
static int GetStringNamesInGroup (T *p, lua_State *L)
static int SetTheme (T *p, lua_State *L)
static int SwitchThemeAndLanguage (T *p, lua_State *L)
Static Public Member Functions inherited from Luna< ThemeManager >
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< ThemeManager >
static std::string m_sClassName
static std::string m_sBaseClassName
Protected Types inherited from Luna< ThemeManager >
using T
using binding_t
Protected Member Functions inherited from Luna< ThemeManager >
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 the ThemeManager.


The documentation for this class was generated from the following file:
  • /home/runner/work/etterna/etterna/src/Etterna/Singletons/ThemeManager.cpp