MCPcopy Create free account
hub / github.com/MyGUI/mygui / injectKeyPress

Method injectKeyPress

Demos/Demo_Console/DemoKeeper.cpp:60–69  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

58 }
59
60 void DemoKeeper::injectKeyPress(MyGUI::KeyCode _key, MyGUI::Char _text)
61 {
62 if (_key == MyGUI::KeyCode::Grave)
63 {
64 mConsole->setVisible(!mConsole->getVisible());
65 return;
66 }
67
68 base::BaseDemoManager::injectKeyPress(_key, _text);
69 }
70
71 void DemoKeeper::command(const MyGUI::UString& _key, const MyGUI::UString& _value)
72 {

Callers

nothing calls this directly

Calls 2

setVisibleMethod · 0.45
getVisibleMethod · 0.45

Tested by

no test coverage detected