| 265 | void CMainMenu::IR_OnMouseStop(int x, int y){}; |
| 266 | |
| 267 | void CMainMenu::IR_OnKeyboardPress(int dik) |
| 268 | { |
| 269 | if (!IsActive()) |
| 270 | return; |
| 271 | |
| 272 | if (is_binded(kCONSOLE, dik)) |
| 273 | { |
| 274 | Console->Show(); |
| 275 | return; |
| 276 | } |
| 277 | if (DIK_F12 == dik) |
| 278 | { |
| 279 | Render->Screenshot(); |
| 280 | return; |
| 281 | } |
| 282 | |
| 283 | if (MainInputReceiver()) |
| 284 | MainInputReceiver()->IR_OnKeyboardPress(dik); |
| 285 | }; |
| 286 | |
| 287 | void CMainMenu::IR_OnKeyboardRelease(int dik) |
| 288 | { |
nothing calls this directly
no test coverage detected