From 8683ea2c810a3d689e436a8d13abbbba50efc4f5 Mon Sep 17 00:00:00 2001 From: Matthias Melcher Date: Wed, 23 Apr 2008 14:19:58 +0000 Subject: Adding keyboard shortcut to Fl_Value_Input and Fl_Text_Editor git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6111 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- FL/Fl_Value_Input.H | 3 +++ 1 file changed, 3 insertions(+) (limited to 'FL/Fl_Value_Input.H') diff --git a/FL/Fl_Value_Input.H b/FL/Fl_Value_Input.H index 5f29dd155..3e0110040 100644 --- a/FL/Fl_Value_Input.H +++ b/FL/Fl_Value_Input.H @@ -47,6 +47,9 @@ public: void soft(char s) {soft_ = s;} char soft() const {return soft_;} + int shortcut() const {return input.shortcut();} + void shortcut(int s) {input.shortcut(s);} + Fl_Font textfont() const {return input.textfont();} void textfont(uchar s) {input.textfont(s);} uchar textsize() const {return input.textsize();} -- cgit v1.2.3