RetroArch/360/menu.h

40 lines
796 B
C
Raw Normal View History

#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 20:30:59 +00:00
class CMyMainScene: public CXuiSceneImpl
{
2012-01-23 23:02:02 +00:00
protected:
CXuiControl m_filebrowser;
CxuiControl m_settings;
CXuiControl m_quit;
CxuiTextElemet m_title;
public:
2012-01-23 23:02:02 +00:00
HRESULT OnInit( XUIMessageInit* pInitData, BOOL& bHandled );
XUI_BEGIN_MSG_MAP()
XUI_ON_XM_INIT( OnInit)
XUI_ON_XM_NOTIFY_PRESS( OnNotifyPress )
XUI_END_MSG_MAP();
2012-01-23 20:30:59 +00:00
XUI_IMPLEMENT_CLASS(CMyMainScene, L"MyMainScene", XUI_CLASS_SCENE)
};
int menu_init (void);
void menu_loop (void);
2012-01-22 20:47:34 +00:00
extern CSSNES app;
#endif