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
Collaboration diagram for openmsx::MouseButtonEvent:
Collaboration graph

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_)

Definition at line 144 of file Event.hh.

Member Function Documentation

◆ getButton()

unsigned openmsx::MouseButtonEvent::getButton ( ) const

Definition at line 141 of file Event.hh.

Member Data Documentation


constexpr unsigned openmsx::MouseButtonEvent::LEFT = 1

Definition at line 137 of file Event.hh.


constexpr unsigned openmsx::MouseButtonEvent::MIDDLE = 2

Definition at line 138 of file Event.hh.


constexpr unsigned openmsx::MouseButtonEvent::RIGHT = 3

Definition at line 139 of file Event.hh.

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