diff options
| author | Manolo Gouy <Manolo> | 2016-03-28 17:36:07 +0000 |
|---|---|---|
| committer | Manolo Gouy <Manolo> | 2016-03-28 17:36:07 +0000 |
| commit | aacb5277e7499ed087cff495169484f6f6274d3c (patch) | |
| tree | 703bac8a791183522c88d13a6b1dfbfa0e6996a8 /FL/Fl_System_Driver.H | |
| parent | 4fbbab8b41f4775752587f18c7d1b32bbd947c27 (diff) | |
Rewrite Fl_dnd.cxx under the driver model.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11455 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'FL/Fl_System_Driver.H')
| -rw-r--r-- | FL/Fl_System_Driver.H | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/FL/Fl_System_Driver.H b/FL/Fl_System_Driver.H index 21726b8a4..6e3a92aee 100644 --- a/FL/Fl_System_Driver.H +++ b/FL/Fl_System_Driver.H @@ -90,6 +90,9 @@ public: virtual int compose(int &del) {del = 0; return 0;} // default implementation may be enough virtual void compose_reset() { Fl::compose_state = 0; } + // 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) {return 0;} }; #endif // FL_SYSTEM_DRIVER_H |
