ScummVM API documentation
dossier_object.h
1
2
/* ScummVM - Graphic Adventure Engine
3
*
4
* ScummVM is the legal property of its developers, whose names
5
* are too numerous to list here. Please refer to the COPYRIGHT
6
* file distributed with this source distribution.
7
*
8
* This program is free software: you can redistribute it and/or modify
9
* it under the terms of the GNU General Public License as published by
10
* the Free Software Foundation, either version 3 of the License, or
11
* (at your option) any later version.
12
*
13
* This program is distributed in the hope that it will be useful,
14
* but WITHOUT ANY WARRANTY; without even the implied warranty of
15
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16
* GNU General Public License for more details.
17
*
18
* You should have received a copy of the GNU General Public License
19
* along with this program. If not, see <http://www.gnu.org/licenses/>.
20
*
21
*/
22
23
#ifndef BAGEL_BAGLIB_DOSSIER_OBJECT_H
24
#define BAGEL_BAGLIB_DOSSIER_OBJECT_H
25
26
#include "bagel/spacebar/baglib/text_object.h"
27
#include "bagel/spacebar/baglib/log_msg.h"
28
29
namespace
Bagel
{
30
namespace
SpaceBar {
31
32
class
CBagDossierObject
:
public
CBagTextObject
{
33
private
:
34
CBofString
_indexLine;
35
CBofRect
_indexRect;
36
CBofRect
_dossierRect;
37
CBagObject
*_residuePrintedObject;
38
39
bool
_dossierSetFl : 1;
40
bool
_notActiveFl : 1;
41
bool
_showIndexFl : 1;
42
bool
_dosRectInitFl : 1;
43
44
public
:
45
CBofString
_sSuspectVar;
46
47
public
:
48
CBagDossierObject
();
49
virtual
~
CBagDossierObject
();
50
55
ParseCodes
setInfo
(
CBagIfstream
&istr)
override
;
56
57
ErrorCode attach()
override
;
58
ErrorCode detach()
override
;
59
60
ErrorCode update(
CBofBitmap
*,
CBofPoint
,
CBofRect
* =
nullptr
,
int
= -1)
override
;
61
62
void
onLButtonUp(uint32
/*nFlags*/
,
CBofPoint
*
/*xPoint*/
,
void
* =
nullptr
)
override
;
// run menu if available
63
64
CBofRect
getRect()
override
;
65
66
void
setNotActive(
bool
b) {
67
_notActiveFl = b;
68
}
69
bool
getNotActive()
const
{
70
return
_notActiveFl;
71
}
72
73
void
activateDossierObject(
CBagLog
*logWld);
74
void
deactivateDossierObject(
CBagLog
*logWld);
75
76
void
setResiduePrintedObject(
CBagObject
*p) {
77
_residuePrintedObject = p;
78
};
79
80
static
void
deactivateCurDossier();
81
void
showDossierText();
82
83
static
void
initialize();
84
static
CBagDossierObject
*_curDossier;
85
};
86
87
}
// namespace SpaceBar
88
}
// namespace Bagel
89
90
#endif
Bagel::SpaceBar::CBagDossierObject
Definition:
dossier_object.h:32
Bagel::SpaceBar::CBagIfstream
Definition:
ifstream.h:32
Bagel::SpaceBar::CBagDossierObject::setInfo
ParseCodes setInfo(CBagIfstream &istr) override
Bagel::SpaceBar::CBagObject
Definition:
object.h:86
Bagel::CBofRect
Definition:
rect.h:35
Bagel::SpaceBar::CBagTextObject
Definition:
text_object.h:38
Bagel::CBofString
Definition:
string.h:38
Bagel::SpaceBar::CBagLog
Definition:
log_msg.h:156
Bagel
Definition:
afxwin.h:27
Bagel::CBofPoint
Definition:
point.h:32
Bagel::SpaceBar::CBofBitmap
Definition:
bitmap.h:57
engines
bagel
spacebar
baglib
dossier_object.h
Generated on Wed Dec 10 2025 09:12:07 for ScummVM API documentation by
1.8.13