22#ifndef MADS_NEBULAR_MAC_MENUS_H
23#define MADS_NEBULAR_MAC_MENUS_H
25#include "common/rect.h"
26#include "common/scummsys.h"
37class MacWindowManager;
44class MacResourceProvider;
45class RexNebularEngine;
46class MacNebularDialog;
56 byte _palette[256 * 3] = {};
57 bool _paletteValid =
false;
58 bool _outerMenuActive =
false;
59 bool _aboutRequested =
false;
60 bool _preferencesRequested =
false;
61 uint32 _windowManagerMode = 0;
62 int _pendingCommand = -1;
64 static void menuCallback(
int commandId,
Common::String &name,
void *data);
65 bool initializeWindowManager();
66 bool loadMenuResource(uint16 resourceID,
72 void dispatchCommand(
int commandId);
85 void getMenuColors(
byte &menuBlack,
byte &menuWhite);
86 void setMenuBarHidden(
bool hidden);
87 bool takeAboutRequest();
88 void beginAboutPresentation(
bool &cursorWasVisible,
bool &cursorPushed);
89 void waitForAboutDismissal();
90 void endAboutPresentation(
bool cursorWasVisible,
bool cursorPushed);
91 bool takePreferencesRequest();
92 bool runPreferencesDialog(
bool startup);
94 void runSaveDialog(
bool saveAs);
95 int runPopupEditor(
const Common::Rect &bounds,
char *target,
99 char *target,
int maxLength);
100 bool runStoryPasswordDialog(
bool leavingLocked);
101 void setOuterMenuActive(
bool active) { _outerMenuActive = active; }
102 int runDifficultyDialog();
103 int selectResumeSlot();
107void macintoshGameMenu();
Definition: macwindowmanager.h:149
Definition: managed_surface.h:51
Definition: mac_dialogs.h:50
Definition: mac_resources.h:43
Definition: algorithm.h:29
Definition: formatinfo.h:28