ScummVM API documentation
complete.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  * Additional copyright for this file:
8  * Copyright (C) 1995 Presto Studios, Inc.
9  *
10  * This program is free software: you can redistribute it and/or modify
11  * it under the terms of the GNU General Public License as published by
12  * the Free Software Foundation, either version 3 of the License, or
13  * (at your option) any later version.
14 
15  * This program is distributed in the hope that it will be useful,
16  * but WITHOUT ANY WARRANTY; without even the implied warranty of
17  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18  * GNU General Public License for more details.
19 
20  * You should have received a copy of the GNU General Public License
21  * along with this program. If not, see <http://www.gnu.org/licenses/>.
22  *
23  */
24 
25 #ifndef BURIED_COMPLETE_H
26 #define BURIED_COMPLETE_H
27 
28 #include "buried/global_flags.h"
29 #include "buried/window.h"
30 
31 namespace Graphics {
32 class Font;
33 struct Surface;
34 }
35 
36 namespace Buried {
37 
38 class VideoWindow;
39 class AgentEvaluation;
40 
41 class CompletionWindow : public Window {
42 public:
43  CompletionWindow(BuriedEngine *vm, Window *parent, GlobalFlags globalFlags);
45 
46  void onPaint();
47  bool onEraseBackground();
48  void onTimer(uint timer);
49  void onLButtonUp(const Common::Point &point, uint flags);
50 
51 private:
52  int _status;
53  uint _timer;
54  Graphics::Surface *_background;
55  int _currentSoundEffectID;
56 
57  GlobalFlags _globalFlags;
58  Graphics::Font *_textFontA;
59  Graphics::Font *_textFontB;
60  int _fontHeightA, _fontHeightB;
61  bool _walkthroughMode;
62  AgentEvaluation *_agentEvaluation;
63 
64  VideoWindow *_gageVideo;
65 };
66 
67 } // End of namespace Buried
68 
69 #endif
Definition: window.h:37
Definition: font.h:83
Definition: surface.h:67
Definition: global_flags.h:35
Definition: buried.h:67
Definition: agent_evaluation.h:31
Definition: video_window.h:37
Definition: formatinfo.h:28
Definition: rect.h:45
Definition: complete.h:41
Definition: agent_evaluation.h:35