MCPcopy Create free account
hub / github.com/assaultcube/AC / key

Method key

source/src/menus.cpp:452–460  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

450 }
451
452 virtual void key(int code, bool isdown)
453 {
454 if(input.key(code)) modified = true;
455 if(action && code == SDLK_RETURN && modified && parent->items.find(this) != parent->items.length() - 1)
456 {
457 modified = false;
458 execaction(input.buf);
459 }
460 }
461
462 void say(const char *text)
463 {

Callers

nothing calls this directly

Calls 3

keyMethod · 0.45
findMethod · 0.45
lengthMethod · 0.45

Tested by

no test coverage detected