MCPcopy Create free account
hub / github.com/MrNeRF/LichtFeld-Studio / has_key

Function has_key

src/visualizer/gui/panels/python_console_panel.cpp:365–368  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

363 }
364
365 bool has_key(const lfs::vis::gui::PanelInputState& input, const int scancode) {
366 return std::find(input.keys_pressed.begin(), input.keys_pressed.end(), scancode) !=
367 input.keys_pressed.end();
368 }
369
370 void mark_dirty(RmlPythonConsolePane& pane) {
371 if (pane.host)

Callers 2

Calls 2

beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected