ScummVM API documentation
diaryindex.h
1 /* ScummVM - Graphic Adventure Engine
2  *
3  * ScummVM is the legal property of its developers, whose names
4  * are too numerous to list here. Please refer to the COPYRIGHT
5  * file distributed with this source distribution.
6  *
7  * This program is free software: you can redistribute it and/or modify
8  * it under the terms of the GNU General Public License as published by
9  * the Free Software Foundation, either version 3 of the License, or
10  * (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, see <http://www.gnu.org/licenses/>.
19  *
20  */
21 
22 #ifndef STARK_UI_MENU_DIARY_INDEX_H
23 #define STARK_UI_MENU_DIARY_INDEX_H
24 
25 #include "engines/stark/ui/menu/locationscreen.h"
26 
27 namespace Stark {
28 
33 public:
34  DiaryIndexScreen(Gfx::Driver *gfx, Cursor *cursor);
35  virtual ~DiaryIndexScreen();
36 
37  // StaticLocationScreen API
38  void open() override;
39 
40 private:
41  void widgetTextColorHandler(StaticLocationWidget &widget, const Common::Point &mousePos);
42  void backHandler();
43  void settingsHandler();
44  void fmvHandler();
45  void loadHandler();
46  void saveHandler();
47  void diaryHandler();
48  void dialogHandler();
49  void quitHandler();
50 
51  const Gfx::Color _textColorHovered = Gfx::Color(0x1E, 0x1E, 0x96);
52  const Gfx::Color _textColorDefault = Gfx::Color(0x00, 0x00, 0x00);
53 };
54 
55 } // End of namespace Stark
56 
57  #endif // STARK_UI_MENU_DIARY_INDEX_H
Definition: locationscreen.h:92
Definition: driver.h:44
Definition: cursor.h:45
Definition: diaryindex.h:32
Definition: locationscreen.h:46
Definition: console.h:27
Definition: rect.h:45
void open() override
Definition: color.h:30