From 8abcbf3fb08fbca6f0cfdb9eabd22cf56e83b440 Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Sun, 11 May 2014 18:08:31 -0400 Subject: MADS: Refactoring of dialog classes, more implementation of PictureDialog --- engines/mads/nebular/dialogs_nebular.h | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'engines/mads/nebular/dialogs_nebular.h') diff --git a/engines/mads/nebular/dialogs_nebular.h b/engines/mads/nebular/dialogs_nebular.h index fd4d6e706e..60a215197f 100644 --- a/engines/mads/nebular/dialogs_nebular.h +++ b/engines/mads/nebular/dialogs_nebular.h @@ -89,17 +89,14 @@ private: byte _palette[PALETTE_SIZE]; uint32 _palFlags[PALETTE_COUNT]; RGBList _rgbList; +protected: + virtual void save(); - /** - * Sets up the palette and fades the screen to gray - */ - void setupPalette(); + virtual void restore(); public: PictureDialog(MADSEngine *vm, const Common::Point &pos, int maxChars, int objectId); virtual ~PictureDialog(); - - virtual void show(); }; enum DialogTextAlign { ALIGN_CENTER = -1, ALIGN_AT_CENTER = -2, ALIGN_RIGHT = -3 }; -- cgit v1.2.3