summaryrefslogtreecommitdiffstats
Side-by-side diff
-rw-r--r--src/controller/callbacks/keyboard.c8
-rw-r--r--src/controller/callbacks/reshape.c1
-rw-r--r--src/model/state/state.h5
-rw-r--r--src/view/geometry.c6
-rw-r--r--src/view/init.c1
5 files changed, 20 insertions, 1 deletions
diff --git a/src/controller/callbacks/keyboard.c b/src/controller/callbacks/keyboard.c
index a74ac7b..d657053 100644
--- a/src/controller/callbacks/keyboard.c
+++ b/src/controller/callbacks/keyboard.c
@@ -22,6 +22,14 @@ keyboard (unsigned char key, int x, int y)
glutPostRedisplay ();
break;
+ case 'd':
+ /*
+ * Toggle display of the datarose.
+ */
+ S.datarose = !S.datarose;
+ glutPostRedisplay ();
+ break;
+
case 'g':
/*
* g has been pressed. This is used to load a selection from

Valid XHTML 1.0 Strict

Copyright © 2009 Don Pellegrino All Rights Reserved.