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  {
  LEFT_BUTTON , RIGHT_BUTTON , UP_BUTTON , DOWN_BUTTON ,
  A_BUTTON , B_BUTTON
}
 

Public Member Functions

unsigned getButton () const
 

Protected Member Functions

 OsdControlEvent (unsigned 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 266 of file Event.hh.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
LEFT_BUTTON 
RIGHT_BUTTON 
UP_BUTTON 
DOWN_BUTTON 
A_BUTTON 
B_BUTTON 

Definition at line 269 of file Event.hh.

Constructor & Destructor Documentation

◆ OsdControlEvent()

openmsx::OsdControlEvent::OsdControlEvent ( unsigned  button_)
inlineprotected

Definition at line 275 of file Event.hh.

Member Function Documentation

◆ getButton()

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

Definition at line 272 of file Event.hh.


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