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

#include <InputEvents.hh>

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

Public Member Functions

 MouseWheelEvent (int x, int y)
 
int getX () const
 
int getY () const
 
TclObject toTclList () const override
 Similar to toString(), but retains the structure of the event. More...
 
- 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

- 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 92 of file InputEvents.hh.

Constructor & Destructor Documentation

◆ MouseWheelEvent()

openmsx::MouseWheelEvent::MouseWheelEvent ( int  x,
int  y 
)

Definition at line 113 of file InputEvents.cc.

Member Function Documentation

◆ getX()

int openmsx::MouseWheelEvent::getX ( ) const
inline

Definition at line 96 of file InputEvents.hh.

Referenced by toTclList().

◆ getY()

int openmsx::MouseWheelEvent::getY ( ) const
inline

Definition at line 97 of file InputEvents.hh.

References openmsx::Event::toTclList().

Referenced by toTclList().

◆ toTclList()

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

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

Implements openmsx::Event.

Definition at line 119 of file InputEvents.cc.

References getX(), getY(), and openmsx::makeTclList().


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