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

Public Member Functions

 TouchpadState ()=default
 
 TouchpadState (EmuTime::param time_, byte x_, byte y_, bool touch_, bool button_)
 
byte getX () const
 
byte getY () const
 
bool getTouch () const
 
bool getButton () 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 Touchpad.cc.

Constructor & Destructor Documentation

◆ TouchpadState() [1/2]

openmsx::TouchpadState::TouchpadState ( )
default

◆ TouchpadState() [2/2]

openmsx::TouchpadState::TouchpadState ( EmuTime::param  time_,
byte  x_,
byte  y_,
bool  touch_,
bool  button_ 
)
inline

Definition at line 32 of file Touchpad.cc.

Member Function Documentation

◆ getButton()

bool openmsx::TouchpadState::getButton ( ) const
inline

Definition at line 39 of file Touchpad.cc.

◆ getTouch()

bool openmsx::TouchpadState::getTouch ( ) const
inline

Definition at line 38 of file Touchpad.cc.

◆ getX()

byte openmsx::TouchpadState::getX ( ) const
inline

Definition at line 36 of file Touchpad.cc.

◆ getY()

byte openmsx::TouchpadState::getY ( ) const
inline

Definition at line 37 of file Touchpad.cc.

◆ serialize()

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

Definition at line 41 of file Touchpad.cc.


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