openMSX
|
#include <HotKey.hh>
Classes | |
struct | Data |
struct | HotKeyInfo |
Public Types | |
using | BindMap = std::vector< HotKeyInfo > |
using | KeySet = std::vector< Event > |
Public Member Functions | |
HotKey (RTScheduler &rtScheduler, GlobalCommandController &commandController, EventDistributor &eventDistributor) | |
void | loadInit () |
void | loadBind (const Data &data) |
void | loadUnbind (std::string_view key) |
template<typename XmlStream > | |
void | saveBindings (XmlStream &xml) const |
const auto & | getGlobalBindings () const |
Public Member Functions inherited from openmsx::RTSchedulable | |
RTSchedulable (const RTSchedulable &)=delete | |
RTSchedulable (RTSchedulable &&)=delete | |
RTSchedulable & | operator= (const RTSchedulable &)=delete |
RTSchedulable & | operator= (RTSchedulable &&)=delete |
void | scheduleRT (uint64_t delta) |
bool | cancelRT () |
bool | isPendingRT () const |
Additional Inherited Members | |
Protected Member Functions inherited from openmsx::RTSchedulable | |
RTSchedulable (RTScheduler &scheduler) | |
~RTSchedulable () | |
using openmsx::HotKey::BindMap = std::vector<HotKeyInfo> |
using openmsx::HotKey::KeySet = std::vector<Event> |
openmsx::HotKey::HotKey | ( | RTScheduler & | rtScheduler, |
GlobalCommandController & | commandController, | ||
EventDistributor & | eventDistributor | ||
) |
|
inline |
Definition at line 86 of file HotKey.hh.
Referenced by openmsx::getShortCutForCommand().
void openmsx::HotKey::loadBind | ( | const Data & | data | ) |
Definition at line 149 of file HotKey.cc.
References openmsx::HotKey::Data::cmd, openmsx::HotKey::Data::event, openmsx::GlobalCommandController::getInterpreter(), openmsx::HotKey::Data::key, openmsx::HotKey::Data::msx, and openmsx::HotKey::Data::repeat.
Referenced by openmsx::SettingsConfig::loadSetting().
void openmsx::HotKey::loadInit | ( | ) |
Definition at line 141 of file HotKey.cc.
Referenced by openmsx::SettingsConfig::loadSetting().
void openmsx::HotKey::loadUnbind | ( | std::string_view | key | ) |
Definition at line 155 of file HotKey.cc.
References openmsx::GlobalCommandController::getInterpreter().
Referenced by openmsx::SettingsConfig::loadSetting().
|
inline |
Definition at line 57 of file HotKey.hh.
References openmsx::HotKey::HotKeyInfo::event, find_unguarded(), and openmsx::toString().
Referenced by openmsx::SettingsConfig::saveSetting().