summaryrefslogtreecommitdiffstats
path: root/vncviewer/fltk_layout.h
diff options
context:
space:
mode:
authorPierre Ossman <ossman@cendio.se>2011-05-24 12:47:12 +0000
committerPierre Ossman <ossman@cendio.se>2011-05-24 12:47:12 +0000
commit4e7271e060c2b0c9be9649692f0c608604ea545a (patch)
treeb89ec5241c87683c4b67f816a4df0252515b1552 /vncviewer/fltk_layout.h
parentdf0ed9f731b2494677651ff5c0bebcf989cbb8b3 (diff)
downloadtigervnc-4e7271e060c2b0c9be9649692f0c608604ea545a.tar.gz
tigervnc-4e7271e060c2b0c9be9649692f0c608604ea545a.zip
Handling a full range of keys for the menu key is not as trivial in FLTK as
with raw X11, so do what the Windows client did and restrict the available keys to just the function keys. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4444 3789f03b-4d11-0410-bbf8-ca57d06f2519
Diffstat (limited to 'vncviewer/fltk_layout.h')
-rw-r--r--vncviewer/fltk_layout.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/vncviewer/fltk_layout.h b/vncviewer/fltk_layout.h
index 61dea211..c16a359f 100644
--- a/vncviewer/fltk_layout.h
+++ b/vncviewer/fltk_layout.h
@@ -99,6 +99,10 @@ static inline int fltk_escape(const char *in, char *out, size_t maxlen)
#define CHECK_MIN_WIDTH RADIO_MIN_WIDTH
#define CHECK_HEIGHT RADIO_HEIGHT
+/* Fl_Choice */
+
+#define CHOICE_HEIGHT INPUT_HEIGHT
+
/* Fl_Group */
#define GROUP_LABEL_OFFSET FL_NORMAL_SIZE
#define GROUP_MARGIN 12