ScummVM API documentation
Sherlock::Tattoo::WidgetVerbs Class Reference
Inheritance diagram for Sherlock::Tattoo::WidgetVerbs:
Sherlock::Tattoo::WidgetBase

Public Member Functions

 WidgetVerbs (SherlockEngine *vm)
 
void load (bool objectsOn)
 
void handleEvents () override
 
- Public Member Functions inherited from Sherlock::Tattoo::WidgetBase
 WidgetBase (SherlockEngine *vm)
 
bool active () const
 
virtual void erase ()
 
virtual void draw ()
 
void checkTabbingKeys (int numOptions)
 
virtual void summonWindow ()
 
virtual void banishWindow ()
 

Public Attributes

Common::StringArray _verbCommands
 

Additional Inherited Members

- Protected Member Functions inherited from Sherlock::Tattoo::WidgetBase
Common::String splitLines (const Common::String &str, Common::StringArray &lines, int maxWidth, uint maxLines)
 
void restrictToScreen ()
 
void makeInfoArea (Surface &s)
 
void makeInfoArea ()
 
void drawDialogRect (const Common::Rect &r, bool raised=true)
 
virtual Common::Rect getScrollBarBounds () const
 
void drawScrollBar (int index, int pageSize, int count)
 
void handleScrollbarEvents (int index, int pageSize, int count)
 
void handleScrolling (int &scrollIndex, int pageSize, int max)
 
void close ()
 
virtual void drawBackground ()
 
- Protected Attributes inherited from Sherlock::Tattoo::WidgetBase
SherlockEngine_vm
 
Common::Rect _bounds
 
Common::Rect _oldBounds
 
Surface _surface
 
bool _outsideMenu
 
bool _scroll
 

Member Function Documentation

◆ load()

void Sherlock::Tattoo::WidgetVerbs::load ( bool  objectsOn)

Turns on the menu with all the verbs that are available for the given object

◆ handleEvents()

void Sherlock::Tattoo::WidgetVerbs::handleEvents ( )
overridevirtual

Process input for the dialog

Reimplemented from Sherlock::Tattoo::WidgetBase.


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