-rw-r--r-- | src/controller/callbacks/keyboard.c | 8 | ||||
-rw-r--r-- | src/controller/callbacks/reshape.c | 1 | ||||
-rw-r--r-- | src/model/state/state.h | 5 | ||||
-rw-r--r-- | src/view/geometry.c | 6 | ||||
-rw-r--r-- | src/view/init.c | 1 |
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; |
24 | 24 | ||
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 from | 35 | * g has been pressed. This is used to load a selection from |