aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Sulfrian <alexander@sulfrian.net>2013-01-13 22:53:29 +0100
committerAlexander Sulfrian <alexander@sulfrian.net>2013-01-18 19:34:21 +0100
commite6ab9e205cee131f75ba2435b52c68ae765360b9 (patch)
tree7ea3e3ea92c723bc21b02e94e8df6f07f1e498d6
parent45637b81cfac4a630ebc5814a8a1498ac1a28529 (diff)
downloadusdx-e6ab9e205cee131f75ba2435b52c68ae765360b9.tar.gz
usdx-e6ab9e205cee131f75ba2435b52c68ae765360b9.tar.xz
usdx-e6ab9e205cee131f75ba2435b52c68ae765360b9.zip
menu/application: toggle debug boxes with d
-rw-r--r--src/menu/application.cpp5
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: