mirror of
https://github.com/libretro/scummvm.git
synced 2025-03-03 00:35:54 +00:00
PINK: Show message for unimplemented menu items. Addresses #11318
This commit is contained in:
parent
53c485d85b
commit
1f486c4442
1
engines/pink/POTFILES
Normal file
1
engines/pink/POTFILES
Normal file
@ -0,0 +1 @@
|
|||||||
|
engines/pink/gui.cpp
|
@ -21,10 +21,13 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include "common/config-manager.h"
|
#include "common/config-manager.h"
|
||||||
|
#include "common/translation.h"
|
||||||
|
|
||||||
#include "graphics/macgui/macwindowmanager.h"
|
#include "graphics/macgui/macwindowmanager.h"
|
||||||
#include "graphics/macgui/macmenu.h"
|
#include "graphics/macgui/macmenu.h"
|
||||||
|
|
||||||
|
#include "gui/message.h"
|
||||||
|
|
||||||
#include "pink/pink.h"
|
#include "pink/pink.h"
|
||||||
#include "pink/director.h"
|
#include "pink/director.h"
|
||||||
#include "pink/objects/actors/lead_actor.h"
|
#include "pink/objects/actors/lead_actor.h"
|
||||||
@ -213,7 +216,11 @@ void PinkEngine::executeMenuCommand(uint id) {
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
warning("Unprocessed command id %d", id);
|
{
|
||||||
|
GUI::MessageDialog dialog(_("This menu item is not yet implemented"));
|
||||||
|
dialog.runModal();
|
||||||
|
warning("Unprocessed command id %d", id);
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user