1 /* ResidualVM - A 3D game interpreter 2 * 3 * ResidualVM is the legal property of its developers, whose names 4 * are too numerous to list here. Please refer to the AUTHORS 5 * file distributed with this source distribution. 6 * 7 * This program is free software; you can redistribute it and/or 8 * modify it under the terms of the GNU General Public License 9 * as published by the Free Software Foundation; either version 2 10 * of the License, or (at your option) any later version. 11 * 12 * This program is distributed in the hope that it will be useful, 13 * but WITHOUT ANY WARRANTY; without even the implied warranty of 14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 * GNU General Public License for more details. 16 * 17 * You should have received a copy of the GNU General Public License 18 * along with this program; if not, write to the Free Software 19 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 20 * 21 */ 22 23 #ifndef STARK_UI_MENU_DIARY_INDEX_H 24 #define STARK_UI_MENU_DIARY_INDEX_H 25 26 #include "engines/stark/ui/menu/locationscreen.h" 27 28 namespace Stark { 29 30 /** 31 * The diary index is the in-game menu 32 */ 33 class DiaryIndexScreen : public StaticLocationScreen { 34 public: 35 DiaryIndexScreen(Gfx::Driver *gfx, Cursor *cursor); 36 virtual ~DiaryIndexScreen(); 37 38 // StaticLocationScreen API 39 void open() override; 40 41 private: 42 void widgetTextColorHandler(StaticLocationWidget &widget, const Common::Point &mousePos); 43 void backHandler(); 44 void settingsHandler(); 45 void fmvHandler(); 46 void loadHandler(); 47 void saveHandler(); 48 void diaryHandler(); 49 void dialogHandler(); 50 void quitHandler(); 51 52 static const Color _textColorHovered; 53 static const Color _textColorDefault; 54 }; 55 56 } // End of namespace Stark 57 58 #endif // STARK_UI_MENU_DIARY_INDEX_H 59