Public Types | |
enum | ScrollDirection { kScrollUp, kScrollDown } |
Public Types inherited from Scumm::MacGuiImpl | |
enum | MacStringIds { kMSISkip = -1, kMSIAboutGameName = 1, kMSIRoughCommandMsg, kMSIAreYouSureYouWantToQuit, kMSIAreYouSureYouWantToRestart, kMSIGameName, kMSIOpenGameFile, kMSISaveGameFileAs, kMSIGameFile, kMSIAboutString1, kMSIAboutString2, kMSIAboutString3, kMSIAboutString4, kMSIAboutString5, kMSIAboutString6, kMSIAboutString7, kMSIAboutString8, kMSIAboutString9, kMSIAboutString10, kMSIAboutString11, kMSIAboutString12, kMSIAboutString13, kMSIAboutString14, kMSIAboutString15, kMSIAboutString16, kMSIAboutString17, kMSIAboutString18, kMSIAboutString19, kMSIAboutString20, kMSIAboutString21, kMSIAboutString22, kMSIAboutString23, kMSIAboutString24, kMSIAboutString25, kMSIAboutString26, kMSIAboutString27, kMSIAboutString28, kMSIAboutString29, kMSIAboutString30, kMSIAboutString31, kMSIAboutString32, kMSIAboutString33, kMSIAboutString34, kMSIAboutString35, kMSIAboutString36, kMSIAboutString37, kMSIAboutString38, kMSIAboutString39, kMSIAboutString40 } |
enum | ParsingMethod { kStrC, kStrPascal } |
enum | MacWidgetType { kWidgetUnknown, kWidgetButton, kWidgetCheckbox, kWidgetStaticText, kWidgetEditText, kWidgetPicture, kWidgetSlider, kWidgetListBox, kWidgetPictureSlider } |
Public Member Functions | |
MacIndy3Gui (ScummEngine *vm, const Common::Path &resourceFile) | |
const Common::String | name () const override |
int | getNumColors () const override |
const Graphics::Font * | getFontByScummId (int32 id) override |
void | setupCursor (int &width, int &height, int &hotspotX, int &hotspotY, int &animate) override |
Graphics::Surface * | textArea () override |
void | clearTextArea () override |
void | initTextAreaForActor (Actor *a, byte color) override |
void | printCharToTextArea (int chr, int x, int y, int color) override |
bool | isVerbGuiActive () const override |
void | reset () override |
void | resetAfterLoad () override |
void | update (int delta) override |
bool | handleEvent (Common::Event event) override |
Public Member Functions inherited from Scumm::MacGuiImpl | |
MacGuiImpl (ScummEngine *vm, const Common::Path &resourceFile) | |
Graphics::Surface * | surface () |
uint32 | getBlack () const |
uint32 | getWhite () const |
Common::String | readCString (uint8 *&data) |
Common::String | readPascalString (uint8 *&data) |
int | toMacRoman (int unicode) const |
void | setPalette (const byte *palette, uint size) |
virtual void | initialize () |
void | updateWindowManager () |
const Graphics::Font * | getFont (FontId fontId) |
Graphics::Surface * | loadPict (int id) |
bool | runQuitDialog () |
bool | runRestartDialog () |
MacDialogWindow * | createWindow (Common::Rect bounds, MacDialogWindowStyle style=kWindowStyleNormal, MacDialogMenuStyle menuStyle=kMenuStyleDisabled) |
MacDialogWindow * | createDialog (int dialogId) |
void | drawBanner (char *message) |
void | undrawBanner () |
void | drawBitmap (Graphics::Surface *s, Common::Rect r, const uint16 *bitmap, uint32 color) const |
Public Attributes | |
Graphics::Surface | _textArea |
Public Attributes inherited from Scumm::MacGuiImpl | |
Graphics::MacWindowManager * | _windowManager = nullptr |
bool | _forceMenuClosed = false |
Protected Member Functions | |
bool | getFontParams (FontId fontId, int &id, int &size, int &slant) const override |
bool | handleMenu (int id, Common::String &name) override |
void | runAboutDialog () override |
bool | runOpenDialog (int &saveSlotToHandle) override |
bool | runSaveDialog (int &saveSlotToHandle, Common::String &saveName) override |
bool | runOptionsDialog () override |
bool | runIqPointsDialog () |
Protected Member Functions inherited from Scumm::MacGuiImpl | |
MacGuiImpl::DelayStatus | delay (uint32 ms=0) |
Common::String | getDialogString (Common::SeekableReadStream *res, int len) |
void | prepareSaveLoad (Common::StringArray &savegameNames, bool *availSlots, int *slotIds, int size) |
bool | runOkCancelDialog (Common::String text) |
void | readStrings () |
void | parseSTRSBlock (uint8 *strsData, MacSTRSParsingEntry *parsingTable, int parsingTableSize) |
void | drawFakePathList (MacDialogWindow *window, Common::Rect r, const char *text) |
void | drawFakeDriveLabel (MacDialogWindow *window, Common::Rect r, const char *text) |
Additional Inherited Members | |
Static Public Member Functions inherited from Scumm::MacGuiImpl | |
static void | menuCallback (int id, Common::String &name, void *data) |
Protected Types inherited from Scumm::MacGuiImpl | |
enum | DelayStatus { kDelayDone = 0, kDelayInterrupted = 1, kDelayAborted } |
enum | FontId { kSystemFont, kAboutFontRegular, kAboutFontBold, kAboutFontBold2, kAboutFontExtraBold, kAboutFontHeaderInside, kAboutFontHeaderOutside, kAboutFontHeader, kAboutFontHeaderSimple1, kAboutFontHeaderSimple2, kIndy3FontSmall, kIndy3FontMedium, kIndy3VerbFontRegular, kIndy3VerbFontBold, kIndy3VerbFontOutline, kLoomFontSmall, kLoomFontMedium, kLoomFontLarge } |
enum | TextStyle { kStyleHeader1, kStyleHeader2, kStyleHeaderSimple1, kStyleHeaderSimple2, kStyleBold, kStyleBold2, kStyleExtraBold, kStyleRegular } |
enum | MacDialogWindowStyle { kWindowStyleNormal, kWindowStyleRounded } |
enum | MacDialogMenuStyle { kMenuStyleNone, kMenuStyleDisabled, kMenuStyleApple } |
Protected Attributes inherited from Scumm::MacGuiImpl | |
ScummEngine * | _vm = nullptr |
OSystem * | _system = nullptr |
Graphics::Surface * | _surface = nullptr |
MacGuiImpl::MacDialogWindow * | _bannerWindow = nullptr |
Common::Path | _resourceFile |
bool | _menuIsActive = false |
bool | _cursorWasVisible = false |
Common::HashMap< int, const Graphics::Font * > | _fonts |
Common::Array< Common::String > | _strsStrings |
int | _gameFontId = -1 |
byte | _unicodeToMacRoman [96] |