openMSX
Public Types | Public Member Functions | Protected Member Functions | List of all members
openmsx::OsdControlEvent Class Reference

OSD events are triggered by other events. More...

#include <Event.hh>

Inheritance diagram for openmsx::OsdControlEvent:
Inheritance graph
[legend]
Collaboration diagram for openmsx::OsdControlEvent:
Collaboration graph
[legend]

Public Types

enum class  Button {
  LEFT , RIGHT , UP , DOWN ,
  A , B , NUM
}
 

Public Member Functions

Button getButton () const
 

Protected Member Functions

 OsdControlEvent (Button button_)
 

Detailed Description

OSD events are triggered by other events.

They aggregate keyboard and joystick events into one set of events that can be used to e.g. control OSD elements.

Definition at line 257 of file Event.hh.

Member Enumeration Documentation

◆ Button

Enumerator
LEFT 
RIGHT 
UP 
DOWN 
NUM 

Definition at line 260 of file Event.hh.

Constructor & Destructor Documentation

◆ OsdControlEvent()

openmsx::OsdControlEvent::OsdControlEvent ( Button  button_)
inlineexplicitprotected

Definition at line 265 of file Event.hh.

Member Function Documentation

◆ getButton()

Button openmsx::OsdControlEvent::getButton ( ) const
inline

Definition at line 262 of file Event.hh.


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