summaryrefslogtreecommitdiffstats
Unidiff
-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)
22 glutPostRedisplay ();22 glutPostRedisplay ();
23 break;23 break;
2424
25 case 'd':
26 /*
27 * Toggle display of the datarose.
28 */
29 S.datarose = !S.datarose;
30 glutPostRedisplay ();
31 break;
32
25 case 'g':33 case 'g':
26 /*34 /*
27 * g has been pressed. This is used to load a selection from35 * g has been pressed. This is used to load a selection from

Valid XHTML 1.0 Strict

Copyright © 2009 Don Pellegrino All Rights Reserved.