[ScreenWithMenuElements] Added IsTransitioning() Lua binding (from sm-ssc v2)
This commit is contained in:
@@ -368,11 +368,11 @@ class LunaScreenWithMenuElements: public Luna<ScreenWithMenuElements>
|
||||
{
|
||||
public:
|
||||
static int Cancel( T* p, lua_State *L ) { p->Cancel( SM_GoToPrevScreen ); return 0; }
|
||||
|
||||
static int IsTransitioning( T* p, lua_State *L ) { lua_pushboolean( L, p->IsTransitioning() ); return 1; }
|
||||
LunaScreenWithMenuElements()
|
||||
{
|
||||
ADD_METHOD( Cancel );
|
||||
}
|
||||
ADD_METHOD( IsTransitioning ); }
|
||||
};
|
||||
|
||||
LUA_REGISTER_DERIVED_CLASS( ScreenWithMenuElements, Screen )
|
||||
|
||||
Reference in New Issue
Block a user