2012-01-22 01:43:54 +01:00
|
|
|
#ifndef _MENU_XUI_H_
|
|
|
|
#define _MENU_XUI_H_
|
|
|
|
|
|
|
|
#include <xui.h>
|
|
|
|
#include <xuiapp.h>
|
|
|
|
|
|
|
|
class CSSNES : public CXuiModule
|
|
|
|
{
|
|
|
|
protected:
|
|
|
|
/* Override so that Cssnes can register classes */
|
|
|
|
virtual HRESULT RegisterXuiClasses();
|
|
|
|
/* Override so that Cssnes can unregister classes */
|
|
|
|
virtual HRESULT UnregisterXuiClasses();
|
|
|
|
};
|
|
|
|
|
2012-01-23 21:30:59 +01:00
|
|
|
class CMyMainScene: public CXuiSceneImpl
|
2012-01-22 01:43:54 +01:00
|
|
|
{
|
|
|
|
public:
|
2012-01-23 21:30:59 +01:00
|
|
|
XUI_IMPLEMENT_CLASS(CMyMainScene, L"MyMainScene", XUI_CLASS_SCENE)
|
2012-01-22 01:43:54 +01:00
|
|
|
};
|
|
|
|
|
2012-01-22 22:45:32 +01:00
|
|
|
int menu_init (void);
|
|
|
|
void menu_loop (void);
|
2012-01-22 21:47:34 +01:00
|
|
|
|
|
|
|
extern CSSNES app;
|
2012-01-22 01:43:54 +01:00
|
|
|
|
|
|
|
#endif
|