mirror of
https://github.com/elasota/Aerofoil.git
synced 2025-12-14 12:09:36 +00:00
Alert skeleton
This commit is contained in:
@@ -10,6 +10,7 @@
|
||||
#include "PLPasStr.h"
|
||||
#include "PLStandardColors.h"
|
||||
#include "BitmapImage.h"
|
||||
#include "DialogManager.h"
|
||||
#include "Externs.h"
|
||||
#include "FontFamily.h"
|
||||
#include "House.h"
|
||||
@@ -477,7 +478,7 @@ Boolean QueryDeleteRoom (void)
|
||||
short hitWhat;
|
||||
|
||||
// CenterAlert(kDeleteRoomAlert);
|
||||
hitWhat = Alert(kDeleteRoomAlert, nil);
|
||||
hitWhat = PortabilityLayer::DialogManager::GetInstance()->DisplayAlert(kDeleteRoomAlert);
|
||||
if (hitWhat == kYesDoDeleteRoom)
|
||||
return (true);
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user