diff options
author | Alexander Sulfrian <alexander@sulfrian.net> | 2013-01-13 22:53:29 +0100 |
---|---|---|
committer | Alexander Sulfrian <alexander@sulfrian.net> | 2013-01-18 19:34:21 +0100 |
commit | e6ab9e205cee131f75ba2435b52c68ae765360b9 (patch) | |
tree | 7ea3e3ea92c723bc21b02e94e8df6f07f1e498d6 /src | |
parent | 45637b81cfac4a630ebc5814a8a1498ac1a28529 (diff) | |
download | usdx-e6ab9e205cee131f75ba2435b52c68ae765360b9.tar.gz usdx-e6ab9e205cee131f75ba2435b52c68ae765360b9.tar.xz usdx-e6ab9e205cee131f75ba2435b52c68ae765360b9.zip |
menu/application: toggle debug boxes with d
Diffstat (limited to 'src')
-rw-r--r-- | src/menu/application.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
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: |