openMSX
Public Member Functions | List of all members
openmsx::MouseState Class Referencefinal
Inheritance diagram for openmsx::MouseState:
Inheritance graph
[legend]
Collaboration diagram for openmsx::MouseState:
Collaboration graph
[legend]

Public Member Functions

 MouseState ()=default
 
 MouseState (EmuTime::param time_, int deltaX_, int deltaY_, byte press_, byte release_)
 
int getDeltaX () const
 
int getDeltaY () const
 
byte getPress () const
 
byte getRelease () const
 
template<typename Archive >
void serialize (Archive &ar, unsigned)
 
- Public Member Functions inherited from openmsx::StateChange
virtual ~StateChange ()=default
 
EmuTime::param getTime () const
 
template<typename Archive >
void serialize (Archive &ar, unsigned)
 

Additional Inherited Members

- Protected Member Functions inherited from openmsx::StateChange
 StateChange ()
 
 StateChange (EmuTime::param time_)
 

Detailed Description

Definition at line 28 of file Mouse.cc.

Constructor & Destructor Documentation

◆ MouseState() [1/2]

openmsx::MouseState::MouseState ( )
default

◆ MouseState() [2/2]

openmsx::MouseState::MouseState ( EmuTime::param  time_,
int  deltaX_,
int  deltaY_,
byte  press_,
byte  release_ 
)
inline

Definition at line 32 of file Mouse.cc.

Member Function Documentation

◆ getDeltaX()

int openmsx::MouseState::getDeltaX ( ) const
inline

Definition at line 37 of file Mouse.cc.

◆ getDeltaY()

int openmsx::MouseState::getDeltaY ( ) const
inline

Definition at line 38 of file Mouse.cc.

◆ getPress()

byte openmsx::MouseState::getPress ( ) const
inline

Definition at line 39 of file Mouse.cc.

◆ getRelease()

byte openmsx::MouseState::getRelease ( ) const
inline

Definition at line 40 of file Mouse.cc.

◆ serialize()

template<typename Archive >
void openmsx::MouseState::serialize ( Archive &  ar,
unsigned   
)
inline

Definition at line 41 of file Mouse.cc.


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