MCPcopy Create free account
hub / github.com/codereader/DarkRadiant / parseSetFocusStatement

Method parseSetFocusStatement

plugins/dm.gui/gui/GuiScript.cpp:112–121  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

110}
111
112void GuiScript::parseSetFocusStatement(parser::DefTokeniser& tokeniser)
113{
114 // Prototype: setFocus <window>
115 StatementPtr st(new Statement(Statement::ST_SET_FOCUS));
116
117 st->args.push_back(_owner.parseString(tokeniser)); // window
118 tokeniser.assertNextToken(";");
119
120 pushStatement(st);
121}
122
123void GuiScript::parseEndGameStatement(parser::DefTokeniser& tokeniser)
124{

Callers

nothing calls this directly

Calls 3

parseStringMethod · 0.80
push_backMethod · 0.45
assertNextTokenMethod · 0.45

Tested by

no test coverage detected