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

#include <events.h>

Inheritance diagram for Ultima::Shared::CPressTarget:
Ultima::Shared::EventTarget

Public Member Functions

void leftButtonDown (const Common::Point &mousePos) override
 
void middleButtonDown (const Common::Point &mousePos) override
 
void rightButtonDown (const Common::Point &mousePos) override
 
void keyDown (Common::KeyState keyState) override
 
- Public Member Functions inherited from Ultima::Shared::EventTarget
virtual void onIdle ()
 
virtual void mouseMove (const Common::Point &mousePos)
 
virtual void leftButtonUp (const Common::Point &mousePos)
 
virtual void leftButtonDoubleClick (const Common::Point &mousePos)
 
virtual void middleButtonUp (const Common::Point &mousePos)
 
virtual void middleButtonDoubleClick (const Common::Point &mousePos)
 
virtual void rightButtonUp (const Common::Point &mousePos)
 
virtual void mouseWheel (const Common::Point &mousePos, bool wheelUp)
 
virtual void keyUp (Common::KeyState keyState)
 

Public Attributes

bool _pressed
 

Detailed Description

An eent target used for waiting for a mouse or keypress


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