ScummVM API documentation
credits.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_CREDITS_H
26
#define BURIED_CREDITS_H
27
28
#include "buried/window.h"
29
30
namespace
Graphics
{
31
struct
Surface;
32
}
33
34
namespace
Buried
{
35
36
class
AVIFrames;
37
38
class
CreditsWindow
:
public
Window
{
39
public
:
40
CreditsWindow
(
BuriedEngine
*vm,
Window
*parent);
41
~
CreditsWindow
();
42
43
bool
showCredits();
44
45
void
onPaint();
46
bool
onEraseBackground();
47
void
onLButtonDown(
const
Common::Point
&point, uint flags);
48
49
private
:
50
Graphics::Surface
*_normalImage;
51
Graphics::Surface
*_highlightedImage;
52
53
Common::Rect
_buttons[5];
54
Common::Rect
_returnButton;
55
56
int
_curButton;
57
int
_curPage;
58
59
AVIFrames
*_stillFrames;
60
};
61
62
}
// End of namespace Buried
63
64
#endif
Buried::Window
Definition:
window.h:37
Graphics::Surface
Definition:
surface.h:67
Buried::AVIFrames
Definition:
avi_frames.h:42
Common::Rect
Definition:
rect.h:144
Buried::BuriedEngine
Definition:
buried.h:67
Buried
Definition:
agent_evaluation.h:31
Graphics
Definition:
formatinfo.h:28
Common::Point
Definition:
rect.h:45
Buried::CreditsWindow
Definition:
credits.h:38
engines
buried
credits.h
Generated on Fri Nov 22 2024 09:13:39 for ScummVM API documentation by
1.8.13