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_, uint8_t x_, uint8_t y_, bool touch_, bool button_)
 
uint8_t getX () const
 
uint8_t 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 27 of file Touchpad.cc.

Constructor & Destructor Documentation

◆ TouchpadState() [1/2]

openmsx::TouchpadState::TouchpadState ( )
default

◆ TouchpadState() [2/2]

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

Definition at line 31 of file Touchpad.cc.

Member Function Documentation

◆ getButton()

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

Definition at line 38 of file Touchpad.cc.

◆ getTouch()

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

Definition at line 37 of file Touchpad.cc.

◆ getX()

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

Definition at line 35 of file Touchpad.cc.

◆ getY()

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

Definition at line 36 of file Touchpad.cc.

◆ serialize()

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

Definition at line 40 of file Touchpad.cc.


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