(360) menu.h indenting nits

This commit is contained in:
Twinaphex 2012-04-14 05:36:54 +02:00
parent 499a22df72
commit 00a20e80aa
1 changed files with 67 additions and 67 deletions

View File

@ -22,119 +22,119 @@
enum enum
{ {
SETTING_EMU_REWIND_ENABLED = 0, SETTING_EMU_REWIND_ENABLED = 0,
SETTING_GAMMA_CORRECTION_ENABLED, SETTING_GAMMA_CORRECTION_ENABLED,
SETTING_HARDWARE_FILTERING SETTING_HARDWARE_FILTERING
}; };
class CSSNES : public CXuiModule class CSSNES : public CXuiModule
{ {
public: public:
HXUIOBJ hMainScene; HXUIOBJ hMainScene;
HXUIOBJ hFileBrowser; HXUIOBJ hFileBrowser;
HXUIOBJ hCoreBrowser; HXUIOBJ hCoreBrowser;
HXUIOBJ hQuickMenu; HXUIOBJ hQuickMenu;
HXUIOBJ hSSNESSettings; HXUIOBJ hSSNESSettings;
protected: protected:
/* Override so that Cssnes can register classes */ /* Override so that Cssnes can register classes */
virtual HRESULT RegisterXuiClasses(); virtual HRESULT RegisterXuiClasses();
/* Override so that Cssnes can unregister classes */ /* Override so that Cssnes can unregister classes */
virtual HRESULT UnregisterXuiClasses(); virtual HRESULT UnregisterXuiClasses();
}; };
class CSSNESMain: public CXuiSceneImpl class CSSNESMain: public CXuiSceneImpl
{ {
protected: protected:
CXuiControl m_filebrowser; CXuiControl m_filebrowser;
CXuiControl m_quick_menu; CXuiControl m_quick_menu;
CXuiControl m_controls; CXuiControl m_controls;
CXuiControl m_settings; CXuiControl m_settings;
CXuiControl m_change_libsnes_core; CXuiControl m_change_libsnes_core;
CXuiControl m_quit; CXuiControl m_quit;
CXuiTextElement m_title; CXuiTextElement m_title;
CXuiTextElement m_core; CXuiTextElement m_core;
public: public:
HRESULT OnInit( XUIMessageInit* pInitData, int & bHandled ); HRESULT OnInit( XUIMessageInit* pInitData, int & bHandled );
HRESULT OnNotifyPress( HXUIOBJ hObjPressed, int & bHandled ); HRESULT OnNotifyPress( HXUIOBJ hObjPressed, int & bHandled );
XUI_BEGIN_MSG_MAP() XUI_BEGIN_MSG_MAP()
XUI_ON_XM_INIT( OnInit) XUI_ON_XM_INIT( OnInit)
XUI_ON_XM_NOTIFY_PRESS( OnNotifyPress ) XUI_ON_XM_NOTIFY_PRESS( OnNotifyPress )
XUI_END_MSG_MAP(); XUI_END_MSG_MAP();
XUI_IMPLEMENT_CLASS(CSSNESMain, L"SSNESMain", XUI_CLASS_SCENE) XUI_IMPLEMENT_CLASS(CSSNESMain, L"SSNESMain", XUI_CLASS_SCENE)
}; };
class CSSNESFileBrowser: public CXuiSceneImpl class CSSNESFileBrowser: public CXuiSceneImpl
{ {
protected: protected:
CXuiList m_romlist; CXuiList m_romlist;
CXuiControl m_back; CXuiControl m_back;
CXuiControl m_dir_game; CXuiControl m_dir_game;
CXuiControl m_dir_cache; CXuiControl m_dir_cache;
CXuiTextElement m_rompathtitle; CXuiTextElement m_rompathtitle;
public: public:
HRESULT OnInit( XUIMessageInit* pInitData, int & bHandled ); HRESULT OnInit( XUIMessageInit* pInitData, int & bHandled );
HRESULT OnNotifyPress( HXUIOBJ hObjPressed, int & bHandled ); HRESULT OnNotifyPress( HXUIOBJ hObjPressed, int & bHandled );
XUI_BEGIN_MSG_MAP() XUI_BEGIN_MSG_MAP()
XUI_ON_XM_INIT( OnInit) XUI_ON_XM_INIT( OnInit)
XUI_ON_XM_NOTIFY_PRESS( OnNotifyPress ) XUI_ON_XM_NOTIFY_PRESS( OnNotifyPress )
XUI_END_MSG_MAP(); XUI_END_MSG_MAP();
XUI_IMPLEMENT_CLASS(CSSNESFileBrowser, L"SSNESFileBrowser", XUI_CLASS_SCENE) XUI_IMPLEMENT_CLASS(CSSNESFileBrowser, L"SSNESFileBrowser", XUI_CLASS_SCENE)
}; };
class CSSNESCoreBrowser: public CXuiSceneImpl class CSSNESCoreBrowser: public CXuiSceneImpl
{ {
protected: protected:
CXuiList m_romlist; CXuiList m_romlist;
CXuiControl m_back; CXuiControl m_back;
CXuiTextElement m_rompathtitle; CXuiTextElement m_rompathtitle;
public: public:
HRESULT OnInit( XUIMessageInit* pInitData, int & bHandled ); HRESULT OnInit( XUIMessageInit* pInitData, int & bHandled );
HRESULT OnNotifyPress( HXUIOBJ hObjPressed, int & bHandled ); HRESULT OnNotifyPress( HXUIOBJ hObjPressed, int & bHandled );
XUI_BEGIN_MSG_MAP() XUI_BEGIN_MSG_MAP()
XUI_ON_XM_INIT( OnInit) XUI_ON_XM_INIT( OnInit)
XUI_ON_XM_NOTIFY_PRESS( OnNotifyPress ) XUI_ON_XM_NOTIFY_PRESS( OnNotifyPress )
XUI_END_MSG_MAP(); XUI_END_MSG_MAP();
XUI_IMPLEMENT_CLASS(CSSNESCoreBrowser, L"SSNESCoreBrowser", XUI_CLASS_SCENE) XUI_IMPLEMENT_CLASS(CSSNESCoreBrowser, L"SSNESCoreBrowser", XUI_CLASS_SCENE)
}; };
class CSSNESQuickMenu: public CXuiSceneImpl class CSSNESQuickMenu: public CXuiSceneImpl
{ {
protected: protected:
CXuiList m_quickmenulist; CXuiList m_quickmenulist;
CXuiControl m_back; CXuiControl m_back;
public: public:
HRESULT OnInit( XUIMessageInit* pInitData, int & bHandled ); HRESULT OnInit( XUIMessageInit* pInitData, int & bHandled );
HRESULT OnNotifyPress( HXUIOBJ hObjPressed, int & bHandled ); HRESULT OnNotifyPress( HXUIOBJ hObjPressed, int & bHandled );
XUI_BEGIN_MSG_MAP() XUI_BEGIN_MSG_MAP()
XUI_ON_XM_INIT( OnInit) XUI_ON_XM_INIT( OnInit)
XUI_ON_XM_NOTIFY_PRESS( OnNotifyPress ) XUI_ON_XM_NOTIFY_PRESS( OnNotifyPress )
XUI_END_MSG_MAP(); XUI_END_MSG_MAP();
XUI_IMPLEMENT_CLASS(CSSNESQuickMenu, L"SSNESQuickMenu", XUI_CLASS_SCENE) XUI_IMPLEMENT_CLASS(CSSNESQuickMenu, L"SSNESQuickMenu", XUI_CLASS_SCENE)
}; };
class CSSNESSettings: public CXuiSceneImpl class CSSNESSettings: public CXuiSceneImpl
{ {
protected: protected:
CXuiList m_settingslist; CXuiList m_settingslist;
CXuiControl m_back; CXuiControl m_back;
public: public:
HRESULT OnInit( XUIMessageInit* pInitData, int & bHandled ); HRESULT OnInit( XUIMessageInit* pInitData, int & bHandled );
HRESULT OnNotifyPress( HXUIOBJ hObjPressed, int & bHandled ); HRESULT OnNotifyPress( HXUIOBJ hObjPressed, int & bHandled );
XUI_BEGIN_MSG_MAP() XUI_BEGIN_MSG_MAP()
XUI_ON_XM_INIT( OnInit) XUI_ON_XM_INIT( OnInit)
XUI_ON_XM_NOTIFY_PRESS( OnNotifyPress ) XUI_ON_XM_NOTIFY_PRESS( OnNotifyPress )
XUI_END_MSG_MAP(); XUI_END_MSG_MAP();
XUI_IMPLEMENT_CLASS(CSSNESSettings, L"SSNESSettings", XUI_CLASS_SCENE) XUI_IMPLEMENT_CLASS(CSSNESSettings, L"SSNESSettings", XUI_CLASS_SCENE)
}; };
int menu_init (void); int menu_init (void);