ScummVM API documentation
sysreel.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 TINSEL_SYSREEL_H // prevent multiple includes
23 #define TINSEL_SYSREEL_H
24 
25 #include "tinsel/dw.h"
26 
27 namespace Tinsel {
28 
29 enum class SysReel {
30  NOTEPAD_OPENING = 4,
31  NOTEPAD_OPEN = 5,
32  NOTEPAD_CLOSED = 6,
33  NOTEPAD_FLIPDOWN = 7,
34  NOTEPAD_FLIPUP = 8,
35  SCRIBBLES = 9,
36  CURSOR = 11,
37  INVMAIN = 15,
38  SLIDER = 16,
39  CONVERSATION_FRAME = 19,
40  OPTIONS_MENU = 21,
41  LOADSAVE_MENU = 22,
42  QUIT_MENU = 23,
43  SUBTITLES_MENU = 24,
44  SLIDER_BG = 25,
45  SLIDER_HI = 26,
46  LEFT = 29,
47  RIGHT = 30,
48  LOADSCREEN = 31
49 };
50 
51 class SystemReel {
52 public:
53  SystemReel() = default;
54 
55  SCNHANDLE get(SysReel index);
56  void set(int32 index, SCNHANDLE reel);
57 
58 private:
59  const static int32 MAX_SYSREELS = 0x28;
60 
61  SCNHANDLE _reels[MAX_SYSREELS];
62 };
63 
64 } // End of namespace Tinsel
65 
66 #endif
uint32 SCNHANDLE
Definition: dw.h:31
Definition: sysreel.h:51
Not a button at all.
Definition: dialogs.h:187
Definition: actors.h:36