| 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 | { |