Alert skeleton

This commit is contained in:
elasota
2020-01-24 02:09:19 -05:00
parent 928efdd527
commit 9e9a79c4b7
21 changed files with 127 additions and 58 deletions

View File

@@ -8,6 +8,7 @@
#include "PLToolUtils.h"
#include "PLDialogs.h"
#include "PLKeyEncoding.h"
#include "DialogManager.h"
#include "Externs.h"
#include "InputManager.h"
#include "MainWindow.h"
@@ -468,7 +469,7 @@ Boolean QuerySaveGame (void)
InitCursor();
FlushEvents(everyEvent, 0);
// CenterAlert(kSaveGameAlert);
hitWhat = Alert(kSaveGameAlert, nil);
hitWhat = PortabilityLayer::DialogManager::GetInstance()->DisplayAlert(kSaveGameAlert);
if (hitWhat == kYesSaveGameButton)
return (true);
else