summaryrefslogtreecommitdiff
path: root/gui/sheet.c
diff options
context:
space:
mode:
authorWerner Almesberger <werner@almesberger.net>2016-08-19 14:17:00 -0300
committerWerner Almesberger <werner@almesberger.net>2016-08-19 14:34:25 -0300
commitd65e236083da05aea35e5912d26423bdb9f2177e (patch)
treef75349bd72e1239b81fa0a2e10388b7c2db897f6 /gui/sheet.c
parent3c75e21c2b972d26f9dd4a2817302012d91b286a (diff)
downloadeeshow-d65e236083da05aea35e5912d26423bdb9f2177e.tar.gz
eeshow-d65e236083da05aea35e5912d26423bdb9f2177e.tar.bz2
eeshow-d65e236083da05aea35e5912d26423bdb9f2177e.zip
eeshow/: add online help with h or ? (WIP)
Diffstat (limited to 'gui/sheet.c')
-rw-r--r--gui/sheet.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/gui/sheet.c b/gui/sheet.c
index ae62b3a..111756b 100644
--- a/gui/sheet.c
+++ b/gui/sheet.c
@@ -24,6 +24,7 @@
#include "gui/aoi.h"
#include "gui/over.h"
#include "gui/input.h"
+#include "gui/help.h"
#include "gui/common.h"
@@ -515,6 +516,11 @@ static void sheet_key(void *user, int x, int y, int keyval)
redraw(ctx);
break;
+ case GDK_KEY_h:
+ case GDK_KEY_question:
+ help();
+ break;
+
case GDK_KEY_q:
gtk_main_quit();
}