MCPcopy Create free account
hub / github.com/cmauri/eviacam / HotKeyCommandEnable

Method HotKeyCommandEnable

src/hotkeymanager.cpp:38–39  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

36class HotKeyCommandEnable : public HotKey {
37public:
38 HotKeyCommandEnable(int id)
39 : HotKey(id, _T("hotKeyEnable"), _("Enable eViacam"), KeyboardCode::FromWXK(WXK_F11)) {}
40
41 void Command() override {
42 wxGetApp().GetController().SetEnabled(!wxGetApp().GetController().GetEnabled(), true);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected