ScummVM API documentation
Mohawk::CSTimeInterface Class Reference

Public Member Functions

 CSTimeInterface (MohawkEngine_CSTime *vm)
 
void cursorInstall ()
 
void cursorActivate (bool state)
 
bool cursorGetState ()
 
void cursorIdle ()
 
void cursorChangeShape (uint16 id)
 
uint16 cursorGetShape ()
 
void cursorSetShape (uint16 id, bool reset=true)
 
void cursorSetWaitCursor ()
 
void openResFile ()
 
void install ()
 
void draw ()
 
void idle ()
 
void mouseDown (Common::Point pos)
 
void mouseMove (Common::Point pos)
 
void mouseUp (Common::Point pos)
 
void cursorOverHotspot ()
 
void setCursorForCurrentPoint ()
 
void clearTextLine ()
 
void displayTextLine (Common::String text)
 
void clearDialogArea ()
 
void clearDialogLine (uint line)
 
void displayDialogLine (uint16 id, uint line, byte color=32)
 
void drawTextIdToBubble (uint16 id)
 
void drawTextToBubble (Common::String *text)
 
void closeBubble ()
 
void startDragging (uint16 id)
 
void stopDragging ()
 
void setGrabPoint ()
 
uint16 getDraggedNum ()
 
Common::Point getGrabPoint ()
 
bool grabbedFromInventory ()
 
void dropItemInInventory (uint16 id)
 
CSTimeInterfaceState getState ()
 
void setState (CSTimeInterfaceState state)
 
CSTimeHelpgetHelp ()
 
CSTimeInventoryDisplaygetInventoryDisplay ()
 
CSTimeBookgetBook ()
 
CSTimeCarmenNotegetCarmenNote ()
 
CSTimeOptionsgetOptions ()
 
const Common::StringgetRolloverText ()
 
const Common::StringgetDialogText ()
 
const Common::StringgetCurrBubbleText ()
 
const Common::Array< Common::String > & getDialogLines ()
 
const Common::Array< byte > & getDialogLineColors ()
 
const Graphics::FontgetNormalFont () const
 
const Graphics::FontgetDialogFont () const
 
const Graphics::FontgetRolloverFont () const
 

Public Attributes

Common::Rect _sceneRect
 
Common::Rect _uiRect
 
Common::Rect _dialogTextRect
 
Common::Rect _bookRect
 
Common::Rect _noteRect
 

Protected Attributes

MohawkEngine_CSTime_vm
 
Common::String _bubbleText
 
bool _mouseWasInScene
 
CSTimeInterfaceState _state
 
CSTimeHelp_help
 
CSTimeInventoryDisplay_inventoryDisplay
 
CSTimeBook_book
 
CSTimeCarmenNote_note
 
CSTimeOptions_options
 
Feature_uiFeature
 
Feature_dialogTextFeature
 
Feature_rolloverTextFeature
 
Feature_bubbleTextFeature
 
Common::String _rolloverText
 
Common::String _dialogText
 
Common::String _currentBubbleText
 
Common::Array< Common::String_dialogLines
 
Common::Array< byte > _dialogLineColors
 
uint16 _draggedItem
 
Common::Point _grabPoint
 
Graphics::WinFont _normalFont
 
Graphics::WinFont _dialogFont
 
Graphics::WinFont _rolloverFont
 
bool _cursorActive
 
uint16 _cursorShapes [3]
 
uint32 _cursorNextTime
 

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