openMSX
Public Member Functions | List of all members
openmsx::MouseButtonUpEvent Class Referencefinal

#include <InputEvents.hh>

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

Public Member Functions

 MouseButtonUpEvent (unsigned button)
 
TclObject toTclList () const override
 Similar to toString(), but retains the structure of the event. More...
 
- Public Member Functions inherited from openmsx::MouseButtonEvent
unsigned getButton () const
 
- Public Member Functions inherited from openmsx::TimedEvent
uint64_t getRealTime () const
 Query creation time. More...
 
- Public Member Functions inherited from openmsx::Event
 Event (const Event &)=delete
 
Eventoperator= (const Event &)=delete
 
EventType getType () const
 
std::string toString () const
 Get a string representation of this event. More...
 
bool operator< (const Event &other) const
 
bool operator> (const Event &other) const
 
bool operator<= (const Event &other) const
 
bool operator>= (const Event &other) const
 
bool operator== (const Event &other) const
 
bool operator!= (const Event &other) const
 
virtual bool isRepeatStopper (const Event &) const
 Should 'bind -repeat' be stopped by 'other' event. More...
 
virtual bool matches (const Event &other) const
 Does this event 'match' the given event. More...
 

Additional Inherited Members

- Static Public Attributes inherited from openmsx::MouseButtonEvent
static constexpr unsigned LEFT = 1
 
static constexpr unsigned MIDDLE = 2
 
static constexpr unsigned RIGHT = 3
 
- Protected Member Functions inherited from openmsx::MouseButtonEvent
 MouseButtonEvent (EventType type, unsigned button_)
 
 ~MouseButtonEvent ()=default
 
TclObject toTclHelper (std::string_view direction) const
 
- Protected Member Functions inherited from openmsx::TimedEvent
 TimedEvent (EventType type)
 
 ~TimedEvent ()=default
 
- Protected Member Functions inherited from openmsx::Event
 Event (EventType type_)
 
 ~Event ()=default
 

Detailed Description

Definition at line 78 of file InputEvents.hh.

Constructor & Destructor Documentation

◆ MouseButtonUpEvent()

openmsx::MouseButtonUpEvent::MouseButtonUpEvent ( unsigned  button)
explicit

Definition at line 86 of file InputEvents.cc.

Member Function Documentation

◆ toTclList()

TclObject openmsx::MouseButtonUpEvent::toTclList ( ) const
overridevirtual

Similar to toString(), but retains the structure of the event.

Implements openmsx::Event.

Definition at line 91 of file InputEvents.cc.

References openmsx::MouseButtonEvent::toTclHelper().


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