Public Member Functions | List of all members
openmsx::FocusEvent Class Referencefinal

#include <InputEvents.hh>

Inheritance diagram for openmsx::FocusEvent:
Inheritance graph
Collaboration diagram for openmsx::FocusEvent:
Collaboration graph

Public Member Functions

 FocusEvent (bool gain)
bool getGain () const
TclObject toTclList () const override
 Similar to toString(), but retains the structure of the event. More...
- Public Member Functions inherited from openmsx::Event
 Event (const Event &)=delete
Eventoperator= (const Event &)=delete
EventType getType () const
std::string toString () const
 Get a string representation of this event. More...
bool operator== (const Event &other) const
bool operator!= (const Event &other) const
virtual bool isRepeatStopper (const Event &) const
 Should 'bind -repeat' be stopped by 'other' event. More...
virtual bool matches (const Event &other) const
 Does this event 'match' the given event. More...

Additional Inherited Members

- Protected Member Functions inherited from openmsx::Event
 Event (EventType type_)
 ~Event ()=default

Detailed Description

Definition at line 212 of file InputEvents.hh.

Constructor & Destructor Documentation

◆ FocusEvent()

openmsx::FocusEvent::FocusEvent ( bool  gain)

Definition at line 272 of file

Member Function Documentation

◆ getGain()

bool openmsx::FocusEvent::getGain ( ) const

Definition at line 216 of file InputEvents.hh.

Referenced by toTclList().

◆ toTclList()

TclObject openmsx::FocusEvent::toTclList ( ) const

Similar to toString(), but retains the structure of the event.

Implements openmsx::Event.

Definition at line 277 of file

References getGain(), and openmsx::makeTclList().

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