ScummVM API documentation
Titanic::CEventTarget Class Reference

#include <events.h>

Inheritance diagram for Titanic::CEventTarget:
Titanic::CContinueSaveDialog Titanic::CMainGameWindow Titanic::CPressTarget

Public Member Functions

virtual void onIdle ()
 
virtual void mouseMove (const Point &mousePos)
 
virtual void leftButtonDown (const Point &mousePos)
 
virtual void leftButtonUp (const Point &mousePos)
 
virtual void leftButtonDoubleClick (const Point &mousePos)
 
virtual void middleButtonDown (const Point &mousePos)
 
virtual void middleButtonUp (const Point &mousePos)
 
virtual void middleButtonDoubleClick (const Point &mousePos)
 
virtual void mouseWheel (const Point &mousePos, bool wheelUp)
 
virtual void keyDown (Common::KeyState keyState)
 
virtual void keyUp (Common::KeyState keyState)
 

Detailed Description

A base class for windows that can receive event messages

Member Function Documentation

◆ onIdle()

virtual void Titanic::CEventTarget::onIdle ( )
inlinevirtual

Called to handle any regular updates the game requires

Reimplemented in Titanic::CMainGameWindow.

◆ mouseMove()

virtual void Titanic::CEventTarget::mouseMove ( const Point mousePos)
inlinevirtual

Mouse/key event handlers

Reimplemented in Titanic::CMainGameWindow, and Titanic::CContinueSaveDialog.


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