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, kWidgetIcon, kWidgetImage, kWidgetSlider, kWidgetListBox, kWidgetImageSlider, kWidgetPopUpMenu } |
| enum | MacDialogEventType { kDialogClick, kDialogValueChange, kDialogKeyDown } |
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 | |
| virtual void | onMenuOpen () |
| virtual void | onMenuClose () |
| MacGuiImpl (ScummEngine *vm, const Common::Path &resourceFile) | |
| Graphics::Surface * | surface () |
| virtual uint32 | getBlack () const |
| virtual uint32 | getWhite () const |
| Common::String | readCString (uint8 *&data) |
| Common::String | readPascalString (uint8 *&data) |
| int | toMacRoman (int unicode) const |
| void | setPaletteDirty () |
| void | updatePalette () |
| virtual bool | initialize () |
| virtual void | updateWindowManager () |
| const Graphics::Font * | getFont (FontId fontId) |
| bool | loadIcon (int id, Graphics::Surface **icon, Graphics::Surface **mask) |
| Graphics::Surface * | loadPict (int id) |
| virtual bool | runQuitDialog () |
| virtual bool | runRestartDialog () |
| void | setMacGuiColors (Graphics::Palette &palette) |
| MacDialogWindow * | createWindow (Common::Rect bounds, MacDialogWindowStyle style=kWindowStyleNormal, MacDialogMenuStyle menuStyle=kMenuStyleDisabled) |
| MacDialogWindow * | createDialog (int dialogId) |
| MacDialogWindow * | createDialog (int dialogId, Common::Rect bounds) |
| 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 |
| uint32 | _macWhite |
| uint32 | _macBlack |
Protected Member Functions | |
| bool | getFontParams (FontId fontId, int &id, int &size, int &slant) const override |
| void | updateMenus () 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) |
| virtual void | saveScreen () |
| virtual void | restoreScreen () |
| void | prepareSaveLoad (Common::StringArray &savegameNames, bool *availSlots, int *slotIds, int size) |
| bool | runOkCancelDialog (Common::String text) |
| virtual bool | readStrings () |
| void | parseSTRSBlock (uint8 *strsData, const MacSTRSParsingEntry *parsingTable, int parsingTableSize) |
| void | addMenu (Graphics::MacMenu *menu, int menuId) |
| void | drawFakePathList (MacDialogWindow *window, Common::Rect r, const char *text) |
| void | drawFakeDriveLabel (MacDialogWindow *window, Common::Rect r, const char *text) |
| Graphics::Surface * | createRemappedSurface (const Graphics::Surface *surface, const byte *palette, uint colorCount) |
| bool | setupResourceCursor (int id, int &width, int &height, int &hotspotX, int &hotspotY, int &animate) |
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 | _paletteDirty = false |
| bool | _suspendPaletteUpdates = false |
| bool | _menuIsActive = false |
| bool | _cursorWasVisible = false |
| Common::HashMap< int, const Graphics::Font * > | _fonts |
| Common::Array< Common::String > | _strsStrings |
| int | _gameFontId = -1 |
| byte | _unicodeToMacRoman [96] |