diff options
| author | Manolo Gouy <Manolo> | 2016-04-01 14:49:29 +0000 |
|---|---|---|
| committer | Manolo Gouy <Manolo> | 2016-04-01 14:49:29 +0000 |
| commit | 20b00f29ce8097565e329638e19a25ab16a86e16 (patch) | |
| tree | dc8ec8a66f5ec9d428e21feb876e31f02e268ee5 /FL | |
| parent | 88ab084e9aea8fa2d5ceeab0b8bc030c02eedf1f (diff) | |
Rewrite Fl_Text_Editor.cxx under the driver model.
Fl_Cocoa_Screen_Driver contains the Mac OS-specific text editor key bindings.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11497 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'FL')
| -rw-r--r-- | FL/Fl_Screen_Driver.H | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/FL/Fl_Screen_Driver.H b/FL/Fl_Screen_Driver.H index 7804af6a9..e97a7fb21 100644 --- a/FL/Fl_Screen_Driver.H +++ b/FL/Fl_Screen_Driver.H @@ -22,6 +22,7 @@ #include <FL/Fl_Device.H> #include <FL/fl_types.h> #include <FL/Fl.H> // for Fl_Timeout_Handler +#include <FL/Fl_Text_Editor.H> // TODO: add text composition? @@ -107,6 +108,8 @@ public: // implement to support drag-n-drop. use_selection = 1 means the GUI is welcome to display // the selected text during the D&D operation virtual int dnd(int use_selection = 0) {return 0;} + // null means no platform-specific key bindings for Fl_Text_Editor + Fl_Text_Editor::Key_Binding *text_editor_extra_key_bindings; }; |
