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_, 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 26 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_,
byte  press_,
byte  release_ 
)
inline

Definition at line 30 of file Trackball.cc.

References TrackballState().

Referenced by TrackballState().

Member Function Documentation

◆ getDeltaX()

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

Definition at line 35 of file Trackball.cc.

◆ getDeltaY()

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

Definition at line 36 of file Trackball.cc.

◆ getPress()

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

Definition at line 37 of file Trackball.cc.

◆ getRelease()

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

Definition at line 38 of file Trackball.cc.

◆ serialize()

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

Definition at line 40 of file Trackball.cc.


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