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

Public Member Functions

 TrackballState ()=default
 
 TrackballState (EmuTime::param time_, int deltaX_, int deltaY_, uint8_t press_, uint8_t release_)
 
int getDeltaX () const
 
int getDeltaY () const
 
uint8_t getPress () const
 
uint8_t 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 22 of file Trackball.cc.

Constructor & Destructor Documentation

◆ TrackballState() [1/2]

openmsx::TrackballState::TrackballState ( )
default

◆ TrackballState() [2/2]

openmsx::TrackballState::TrackballState ( EmuTime::param  time_,
int  deltaX_,
int  deltaY_,
uint8_t  press_,
uint8_t  release_ 
)
inline

Definition at line 26 of file Trackball.cc.

Member Function Documentation

◆ getDeltaX()

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

Definition at line 31 of file Trackball.cc.

◆ getDeltaY()

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

Definition at line 32 of file Trackball.cc.

◆ getPress()

uint8_t openmsx::TrackballState::getPress ( ) const
inline

Definition at line 33 of file Trackball.cc.

◆ getRelease()

uint8_t openmsx::TrackballState::getRelease ( ) const
inline

Definition at line 34 of file Trackball.cc.

◆ serialize()

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

Definition at line 36 of file Trackball.cc.


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