From b8e32a5b6fb07424b5dc6329ee72a83c710a11fb Mon Sep 17 00:00:00 2001 From: Max Horn Date: Sat, 14 Jun 2003 21:18:14 +0000 Subject: Patch #745843: Help Dialog; in addition, I moved the 'About' dialog button from the options dialog to the main save/load dialog and enlarged & rearranged that dialog svn-id: r8485 --- scumm/help.h | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 scumm/help.h (limited to 'scumm/help.h') diff --git a/scumm/help.h b/scumm/help.h new file mode 100644 index 0000000000..c4383ca31a --- /dev/null +++ b/scumm/help.h @@ -0,0 +1,38 @@ +/* ScummVM - Scumm Interpreter + * Copyright (C) 2002-2003 The ScummVM project + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + * + */ + +#ifndef SCUMM_HELP_H +#define SCUMM_HELP_H + +#include "common/str.h" + +#define HELP_NUM_LINES 14 + +class ScummHelp { +protected: + typedef ScummVM::String String; + +public: + static int numPages(byte gameId); + static void updateStrings(byte gameId, int page, String &title, + String *&key, String *&dsc); +}; + +#endif + -- cgit v1.2.3