summaryrefslogtreecommitdiff
path: root/FL
diff options
context:
space:
mode:
Diffstat (limited to 'FL')
-rw-r--r--FL/Fl_Screen_Driver.H7
-rw-r--r--FL/Fl_System_Driver.H7
2 files changed, 7 insertions, 7 deletions
diff --git a/FL/Fl_Screen_Driver.H b/FL/Fl_Screen_Driver.H
index cd847684e..752b701b2 100644
--- a/FL/Fl_Screen_Driver.H
+++ b/FL/Fl_Screen_Driver.H
@@ -98,6 +98,13 @@ public:
virtual int has_marked_text() { return 0; }
virtual void reset_marked_text() {}
virtual void insertion_point_location(int x, int y, int height) {}
+ // implement so text-editing widgets support dead keys
+ virtual int compose(int &del) {del = 0; return 0;}
+ // default implementation may be enough
+ virtual void compose_reset();
+ // 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;}
};
diff --git a/FL/Fl_System_Driver.H b/FL/Fl_System_Driver.H
index 9c28bbb82..c946f6836 100644
--- a/FL/Fl_System_Driver.H
+++ b/FL/Fl_System_Driver.H
@@ -97,13 +97,6 @@ public:
static void fatal(const char* format, ...);
// implement to set the default effect of Fl::error()
virtual void fatal(const char* format, va_list args);
- // implement so text-editing widgets support dead keys
- virtual int compose(int &del) {del = 0; return 0;}
- // default implementation may be enough
- virtual void compose_reset();
- // 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;}
// implement these to support cross-platform file operations
virtual char *utf2mbcs(const char *s) {return (char*)s;}