summaryrefslogtreecommitdiff
path: root/FL
diff options
context:
space:
mode:
Diffstat (limited to 'FL')
-rw-r--r--FL/Fl_System_Driver.H5
1 files changed, 5 insertions, 0 deletions
diff --git a/FL/Fl_System_Driver.H b/FL/Fl_System_Driver.H
index 469128206..bd73a96f9 100644
--- a/FL/Fl_System_Driver.H
+++ b/FL/Fl_System_Driver.H
@@ -213,6 +213,11 @@ public:
virtual void open_callback(void (*)(const char *));
// The default implementation may be enough.
virtual void gettime(time_t *sec, int *usec);
+ // The default implementation of the next 4 functions may be enough.
+ virtual const char *shift_name() { return "Shift"; }
+ virtual const char *meta_name() { return "Meta"; }
+ virtual const char *alt_name() { return "Alt"; }
+ virtual const char *control_name() { return "Ctrl"; }
};
#endif // FL_SYSTEM_DRIVER_H