summaryrefslogtreecommitdiff
path: root/FL
diff options
context:
space:
mode:
authorManolo Gouy <Manolo>2016-04-06 20:33:53 +0000
committerManolo Gouy <Manolo>2016-04-06 20:33:53 +0000
commit9fa4059f43194e5dd3331903be62148b21f16d65 (patch)
tree2486a796c48351310bc020c731be5dc0130b0d7a /FL
parentf3462a2abe3d0a09dcd4ed99f0fb1b3385200ffc (diff)
Rewrite Fl_get_key.cxx for the driver model - cont'd
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11546 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'FL')
-rw-r--r--FL/Fl_System_Driver.H3
1 files changed, 3 insertions, 0 deletions
diff --git a/FL/Fl_System_Driver.H b/FL/Fl_System_Driver.H
index 3c85d413d..9d5813e67 100644
--- a/FL/Fl_System_Driver.H
+++ b/FL/Fl_System_Driver.H
@@ -139,6 +139,9 @@ public:
virtual unsigned utf8from_mb(char* dst, unsigned dstlen, const char* src, unsigned srclen);
// implement to shield fprintf() from locale changes in decimal point
virtual int clocale_printf(FILE *output, const char *format, va_list args);
+ // implement functions telling whether a key is pressed
+ virtual int event_key(int k) {return 0;}
+ virtual int get_key(int k) {return 0;}
};
#endif // FL_SYSTEM_DRIVER_H