ScummVM API documentation
Sherlock::Scalpel::ScalpelJournal Class Reference
Inheritance diagram for Sherlock::Scalpel::ScalpelJournal:
Sherlock::Journal

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 Journalinit (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
 

Member Function Documentation

◆ drawInterface()

void Sherlock::Scalpel::ScalpelJournal::drawInterface ( )

Display the journal

◆ handleEvents()

bool Sherlock::Scalpel::ScalpelJournal::handleEvents ( int  key)

Handle events whilst the journal is being displayed

◆ drawFrame()

void Sherlock::Scalpel::ScalpelJournal::drawFrame ( )
overridevirtual

Draw the journal background, frame, and interface buttons

Implements Sherlock::Journal.

◆ resetPosition()

void Sherlock::Scalpel::ScalpelJournal::resetPosition ( )
overridevirtual

Reset viewing position to the start of the journal

Reimplemented from Sherlock::Journal.

◆ record()

void Sherlock::Scalpel::ScalpelJournal::record ( int  converseNum,
int  statementNum,
bool  replyOnly = false 
)
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.


The documentation for this class was generated from the following file: