aboutsummaryrefslogtreecommitdiff
path: root/engines/sherlock/journal.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/sherlock/journal.h')
-rw-r--r--engines/sherlock/journal.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/engines/sherlock/journal.h b/engines/sherlock/journal.h
index 026579bac2..54bc9457cf 100644
--- a/engines/sherlock/journal.h
+++ b/engines/sherlock/journal.h
@@ -25,6 +25,7 @@
#include "common/scummsys.h"
#include "common/array.h"
+#include "common/rect.h"
#include "common/serializer.h"
#include "common/str-array.h"
#include "common/stream.h"
@@ -34,6 +35,12 @@ namespace Sherlock {
#define JOURNAL_MAX_WIDTH 230
#define JOURNAL_MAX_CHARS 80
+enum JournalButton {
+ BTN_NONE, BTN_EXIT, BTN_BACK10, BTN_UP, BTN_DOWN, BTN_AHEAD110, BTN_SEARCH,
+ BTN_FIRST_PAGE, BTN_LAST_PAGE, BTN_PRINT_TEXT
+};
+
+
struct JournalEntry {
int _converseNum;
bool _replyOnly;
@@ -71,6 +78,8 @@ private:
int getSearchString(bool printError);
void drawJournalFrame();
+
+ JournalButton getHighlightedButton(const Common::Point &pt);
public:
Journal(SherlockEngine *vm);