openMSX
Public Member Functions | Static Public Attributes | Protected Member Functions | List of all members
openmsx::MouseButtonEvent Class Reference

#include <Event.hh>

Inheritance diagram for openmsx::MouseButtonEvent:
Inheritance graph
[legend]
Collaboration diagram for openmsx::MouseButtonEvent:
Collaboration graph
[legend]

Public Member Functions

unsigned getButton () const
 
- Public Member Functions inherited from openmsx::TimedEvent
uint64_t getRealTime () const
 

Static Public Attributes

static constexpr unsigned LEFT = 1
 
static constexpr unsigned MIDDLE = 2
 
static constexpr unsigned RIGHT = 3
 

Protected Member Functions

 MouseButtonEvent (unsigned button_)
 

Detailed Description

Definition at line 134 of file Event.hh.

Constructor & Destructor Documentation

◆ MouseButtonEvent()

openmsx::MouseButtonEvent::MouseButtonEvent ( unsigned  button_)
inlineexplicitprotected

Definition at line 144 of file Event.hh.

Member Function Documentation

◆ getButton()

unsigned openmsx::MouseButtonEvent::getButton ( ) const
inline

Definition at line 141 of file Event.hh.

Member Data Documentation

◆ LEFT

constexpr unsigned openmsx::MouseButtonEvent::LEFT = 1
staticconstexpr

Definition at line 137 of file Event.hh.

◆ MIDDLE

constexpr unsigned openmsx::MouseButtonEvent::MIDDLE = 2
staticconstexpr

Definition at line 138 of file Event.hh.

◆ RIGHT

constexpr unsigned openmsx::MouseButtonEvent::RIGHT = 3
staticconstexpr

Definition at line 139 of file Event.hh.


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