bind Cancel

This commit is contained in:
Glenn Maynard
2007-06-19 21:05:42 +00:00
parent 81ddeacb73
commit b37dddc1a9
+3
View File
@@ -335,8 +335,11 @@ void ScreenWithMenuElementsSimple::MenuBack( const InputEventPlus &input )
class LunaScreenWithMenuElements: public Luna<ScreenWithMenuElements>
{
public:
static int Cancel( T* p, lua_State *L ) { p->Cancel( SM_GoToPrevScreen ); return 0; }
LunaScreenWithMenuElements()
{
ADD_METHOD( Cancel );
}
};