damnit TortoiseMerge (fix newline and crap)
This commit is contained in:
@@ -369,10 +369,12 @@ class LunaScreenWithMenuElements: public Luna<ScreenWithMenuElements>
|
|||||||
public:
|
public:
|
||||||
static int Cancel( T* p, lua_State *L ) { p->Cancel( SM_GoToPrevScreen ); return 0; }
|
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; }
|
static int IsTransitioning( T* p, lua_State *L ) { lua_pushboolean( L, p->IsTransitioning() ); return 1; }
|
||||||
|
|
||||||
LunaScreenWithMenuElements()
|
LunaScreenWithMenuElements()
|
||||||
{
|
{
|
||||||
ADD_METHOD( Cancel );
|
ADD_METHOD( Cancel );
|
||||||
ADD_METHOD( IsTransitioning ); }
|
ADD_METHOD( IsTransitioning );
|
||||||
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
LUA_REGISTER_DERIVED_CLASS( ScreenWithMenuElements, Screen )
|
LUA_REGISTER_DERIVED_CLASS( ScreenWithMenuElements, Screen )
|
||||||
|
|||||||
Reference in New Issue
Block a user