Public Member Functions | |
ScalpelJournal (SherlockEngine *vm) | |
void | drawInterface () |
bool | handleEvents (int key) |
void | drawFrame () override |
void | resetPosition () override |
void | record (int converseNum, int statementNum, bool replyOnly=false) override |
Common::Rect | getButtonRect (JournalButton btn) |
Common::Point | getButtonTextPoint (JournalButton btn) |
Public Member Functions inherited from Sherlock::Journal | |
bool | drawJournal (int direction, int howFar) |
void | synchronize (Serializer &s) |
Public Attributes | |
Common::String | _fixedTextWatsonsJournal |
Common::String | _fixedTextExit |
Common::String | _fixedTextBack10 |
Common::String | _fixedTextUp |
Common::String | _fixedTextDown |
Common::String | _fixedTextAhead10 |
Common::String | _fixedTextSearch |
Common::String | _fixedTextFirstPage |
Common::String | _fixedTextLastPage |
Common::String | _fixedTextPrintText |
byte | _hotkeyExit |
byte | _hotkeyBack10 |
byte | _hotkeyUp |
byte | _hotkeyDown |
byte | _hotkeyAhead10 |
byte | _hotkeySearch |
byte | _hotkeyFirstPage |
byte | _hotkeyLastPage |
byte | _hotkeyPrintText |
Common::String | _fixedTextSearchExit |
Common::String | _fixedTextSearchBackward |
Common::String | _fixedTextSearchForward |
Common::String | _fixedTextSearchNotFound |
byte | _hotkeySearchExit |
byte | _hotkeySearchBackward |
byte | _hotkeySearchForward |
Additional Inherited Members | |
Static Public Member Functions inherited from Sherlock::Journal | |
static Journal * | init (SherlockEngine *vm) |
Protected Member Functions inherited from Sherlock::Journal | |
Journal (SherlockEngine *vm) | |
void | loadJournalFile (bool alreadyLoaded) |
bool | isPrintable (byte ch) const |
Protected Attributes inherited from Sherlock::Journal | |
SherlockEngine * | _vm |
Common::StringArray | _directory |
Common::StringArray | _locations |
Common::Array< JournalEntry > | _journal |
Common::StringArray | _lines |
bool | _up |
bool | _down |
int | _index |
int | _page |
int | _maxPage |
int | _sub |
Common::String | _find |
void Sherlock::Scalpel::ScalpelJournal::drawInterface | ( | ) |
Display the journal
bool Sherlock::Scalpel::ScalpelJournal::handleEvents | ( | int | key | ) |
Handle events whilst the journal is being displayed
|
overridevirtual |
Draw the journal background, frame, and interface buttons
Implements Sherlock::Journal.
|
overridevirtual |
Reset viewing position to the start of the journal
Reimplemented from Sherlock::Journal.
|
overridevirtual |
Records statements that are said, in the order which they are said. The player can then read the journal to review them
Reimplemented from Sherlock::Journal.