From e6ab9e205cee131f75ba2435b52c68ae765360b9 Mon Sep 17 00:00:00 2001 From: Alexander Sulfrian Date: Sun, 13 Jan 2013 22:53:29 +0100 Subject: menu/application: toggle debug boxes with d --- src/menu/application.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/menu/application.cpp b/src/menu/application.cpp index 6bad5324..28eaf480 100644 --- a/src/menu/application.cpp +++ b/src/menu/application.cpp @@ -119,6 +119,11 @@ namespace usdx break; } + if (event.key.keysym.sym == SDLK_d) { + config->set_debug_boxes(!config->get_debug_boxes()); + break; + } + /* fall throught */ default: -- cgit v1.2.3