MCPcopy Create free account
hub / github.com/LibreSprite/LibreSprite / onExecuteCommand

Method onExecuteCommand

src/app/ui/devconsole_view.cpp:139–144  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

137}
138
139void DevConsoleView::onExecuteCommand(const std::string& cmd)
140{
141 script::Engine::setDefault(m_language.getValue());
142 m_engine.printLastResult();
143 m_engine.eval(cmd);
144}
145
146void DevConsoleView::onConsolePrint(const char* text)
147{

Callers

nothing calls this directly

Calls 3

getValueMethod · 0.45
printLastResultMethod · 0.45
evalMethod · 0.45

Tested by

no test coverage detected