mirror of
https://github.com/4jcraft/4jcraft.git
synced 2026-05-07 04:17:15 +00:00
Use standard dialog ID arrays in common UI
This commit is contained in:
parent
fa90fa45e7
commit
1265358aec
|
|
@ -186,7 +186,7 @@ void UIScene_ConnectingProgress::handleTimerComplete(int id)
|
|||
}
|
||||
else
|
||||
{
|
||||
UINT uiIDA[1];
|
||||
unsigned int uiIDA[1];
|
||||
uiIDA[0]=IDS_CONFIRM_OK;
|
||||
ui.RequestMessageBox( IDS_CONNECTION_FAILED, exitReasonStringId, uiIDA,1,ProfileManager.GetPrimaryPad(),NULL,NULL, app.GetStringTable());
|
||||
exitReasonStringId = -1;
|
||||
|
|
|
|||
|
|
@ -189,7 +189,7 @@ void UIScene_FullscreenProgress::tick()
|
|||
pMinecraft->progressRenderer->progressStartNoAbort( exitReasonStringId );*/
|
||||
//app.NavigateBack(m_CompletionData->iPad);
|
||||
|
||||
UINT uiIDA[1];
|
||||
unsigned int uiIDA[1];
|
||||
uiIDA[0]=IDS_CONFIRM_OK;
|
||||
ui.RequestMessageBox( g_NetworkManager.CorrectErrorIDS(IDS_CONNECTION_FAILED), g_NetworkManager.CorrectErrorIDS(IDS_CONNECTION_LOST_SERVER), uiIDA,1, XUSER_INDEX_ANY,NULL,NULL, app.GetStringTable());
|
||||
|
||||
|
|
|
|||
|
|
@ -348,7 +348,7 @@ void UIScene_InGamePlayerOptionsMenu::handlePress(F64 controlId, F64 childId)
|
|||
{
|
||||
std::uint8_t *smallId = new std::uint8_t();
|
||||
*smallId = m_networkSmallId;
|
||||
UINT uiIDA[2];
|
||||
unsigned int uiIDA[2];
|
||||
uiIDA[0]=IDS_CONFIRM_OK;
|
||||
uiIDA[1]=IDS_CONFIRM_CANCEL;
|
||||
|
||||
|
|
|
|||
|
|
@ -226,7 +226,7 @@ void UIScene_LaunchMoreOptionsMenu::handleInput(int iPad, int key, bool repeat,
|
|||
UIControl_CheckBox *checkboxOnline = &m_checkboxes[eLaunchCheckbox_Online];
|
||||
if ( pressed && controlHasFocus( checkboxOnline->getId()) && !checkboxOnline->IsEnabled() )
|
||||
{
|
||||
UINT uiIDA[1] = { IDS_CONFIRM_OK };
|
||||
unsigned int uiIDA[1] = { IDS_CONFIRM_OK };
|
||||
ui.RequestMessageBox(IDS_PRO_NOTONLINE_TITLE, IDS_PRO_XBOXLIVE_NOTIFICATION, uiIDA, 1, iPad, NULL, NULL, app.GetStringTable());
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -156,7 +156,7 @@ void UIScene_SaveMessage::handleTimerComplete(int id)
|
|||
app.SetOptionsCallbackStatus(0,C4JStorage::eOptions_Callback_Read_CorruptDeletePending);
|
||||
m_bIgnoreInput=false;
|
||||
// give the option to delete the save
|
||||
UINT uiIDA[1];
|
||||
unsigned int uiIDA[1];
|
||||
uiIDA[0]=IDS_CONFIRM_OK;
|
||||
ui.RequestMessageBox(IDS_CORRUPT_FILE, IDS_CORRUPT_OPTIONS, uiIDA, 1,
|
||||
0,&UIScene_SaveMessage::DeleteOptionsDialogReturned,this, app.GetStringTable());
|
||||
|
|
|
|||
|
|
@ -138,7 +138,7 @@ void UIScene_SettingsMenu::handlePress(F64 controlId, F64 childId)
|
|||
case BUTTON_ALL_RESETTODEFAULTS:
|
||||
{
|
||||
// check they really want to do this
|
||||
UINT uiIDA[2];
|
||||
unsigned int uiIDA[2];
|
||||
uiIDA[0]=IDS_CONFIRM_CANCEL;
|
||||
uiIDA[1]=IDS_CONFIRM_OK;
|
||||
|
||||
|
|
|
|||
|
|
@ -53,7 +53,7 @@ void UIScene_TrialExitUpsell::handleInput(int iPad, int key, bool repeat, bool p
|
|||
ProfileManager.GetChatAndContentRestrictions(ProfileManager.GetPrimaryPad(),true,NULL,&bContentRestricted,NULL);
|
||||
if(bContentRestricted)
|
||||
{
|
||||
UINT uiIDA[1];
|
||||
unsigned int uiIDA[1];
|
||||
uiIDA[0]=IDS_CONFIRM_OK;
|
||||
ui.RequestMessageBox(IDS_ONLINE_SERVICE_TITLE, IDS_CONTENT_RESTRICTION, uiIDA, 1, ProfileManager.GetPrimaryPad(),NULL,this, app.GetStringTable());
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue