ScummVM API documentation
Ultima::Shared::EventTarget Class Reference

#include <events.h>

Inheritance diagram for Ultima::Shared::EventTarget:
Ultima::Shared::CPressTarget Ultima::Shared::GameBase Ultima::Shared::Game Ultima::Ultima0::Ultima0Game Ultima::Ultima1::Ultima1Game

Public Member Functions

virtual void onIdle ()
 
virtual void mouseMove (const Common::Point &mousePos)
 
virtual void leftButtonDown (const Common::Point &mousePos)
 
virtual void leftButtonUp (const Common::Point &mousePos)
 
virtual void leftButtonDoubleClick (const Common::Point &mousePos)
 
virtual void middleButtonDown (const Common::Point &mousePos)
 
virtual void middleButtonUp (const Common::Point &mousePos)
 
virtual void middleButtonDoubleClick (const Common::Point &mousePos)
 
virtual void rightButtonDown (const Common::Point &mousePos)
 
virtual void rightButtonUp (const Common::Point &mousePos)
 
virtual void mouseWheel (const Common::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 Ultima::Shared::EventTarget::onIdle ( )
inlinevirtual

Called to handle any regular updates the game requires

Reimplemented in Ultima::Shared::GameBase.

◆ mouseMove()

virtual void Ultima::Shared::EventTarget::mouseMove ( const Common::Point mousePos)
inlinevirtual

Mouse/key event handlers

Reimplemented in Ultima::Shared::GameBase.


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