chore: fix settings ui focus, w64 compile & update xzp

This commit is contained in:
str1k3r committed 2026-10-08 20:31:48 -04:00
1 parent be14897736
commit 7c6ed9dbcb
10 files changed
+223 -350

No files matched your search

@@ -3,11 +3,11 @@
#include "../Media/XUI/xuiscene_helpandoptions.h"
#include "XUI_CustomMessages.h"
#define BUTTON_HAO_CHANGESKIN 0
#define BUTTON_HAO_HOWTOPLAY 1
#define BUTTON_HAO_CONTROLS 2
#define BUTTON_HAO_SETTINGS 3
#define BUTTON_HAO_CREDITS 4
#define BUTTON_HAO_HOWTOPLAY 0
#define BUTTON_HAO_CONTROLS 1
#define BUTTON_HAO_SETTINGS 2
#define BUTTON_HAO_CREDITS 3
#define BUTTON_HAO_RESETTODEFAULTS 4
#define BUTTON_HAO_REINSTALL 5
#define BUTTON_HAO_DEBUG 6
#define BUTTONS_HAO_MAX BUTTON_HAO_DEBUG + 1
@@ -37,11 +37,11 @@ protected:
// Control mapping to objects
BEGIN_CONTROL_MAP()
MAP_CONTROL(IDC_XuiButton1, m_Buttons[BUTTON_HAO_CHANGESKIN])
MAP_CONTROL(IDC_XuiButton2, m_Buttons[BUTTON_HAO_HOWTOPLAY ])
MAP_CONTROL(IDC_XuiButton3, m_Buttons[BUTTON_HAO_CONTROLS ])
MAP_CONTROL(IDC_XuiButton4, m_Buttons[BUTTON_HAO_SETTINGS ])
MAP_CONTROL(IDC_XuiButton5, m_Buttons[BUTTON_HAO_CREDITS])
MAP_CONTROL(IDC_XuiButton1, m_Buttons[BUTTON_HAO_HOWTOPLAY ])
MAP_CONTROL(IDC_XuiButton2, m_Buttons[BUTTON_HAO_CONTROLS ])
MAP_CONTROL(IDC_XuiButton3, m_Buttons[BUTTON_HAO_SETTINGS ])
MAP_CONTROL(IDC_XuiButton4, m_Buttons[BUTTON_HAO_CREDITS])
MAP_CONTROL(IDC_XuiButton5, m_Buttons[BUTTON_HAO_RESETTODEFAULTS])
MAP_CONTROL(IDC_XuiButton6, m_Buttons[BUTTON_HAO_REINSTALL])
MAP_CONTROL(IDC_XuiButton7, m_Buttons[BUTTON_HAO_DEBUG])
MAP_CONTROL(IDC_Timer, m_Timer)
@@ -55,7 +55,8 @@ protected:
HRESULT OnCustomMessage_Splitscreenplayer(bool bJoining, BOOL& bHandled);
HRESULT OnTransitionStart( XUIMessageTransition *pTransition, BOOL& bHandled );
HRESULT OnControlNavigate(XUIMessageControlNavigate *pControlNavigateData, BOOL& bHandled);
//HRESULT OnTMSDLCFileRetrieved( );
static int ResetDefaultsDialogReturned(void *pParam,int iPad,C4JStorage::EMessageResult result);
public:
// Define the class. The class name must match the ClassOverride property