mirror of
https://github.com/libretro/scummvm.git
synced 2025-03-02 08:19:19 +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/translation.h"
|
||||
|
||||
#include "graphics/macgui/macwindowmanager.h"
|
||||
#include "graphics/macgui/macmenu.h"
|
||||
|
||||
#include "gui/message.h"
|
||||
|
||||
#include "pink/pink.h"
|
||||
#include "pink/director.h"
|
||||
#include "pink/objects/actors/lead_actor.h"
|
||||
@ -213,7 +216,11 @@ void PinkEngine::executeMenuCommand(uint id) {
|
||||
break;
|
||||
|
||||
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;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user