summaryrefslogtreecommitdiff
path: root/FL
diff options
context:
space:
mode:
authorManolo Gouy <Manolo>2016-03-31 19:55:03 +0000
committerManolo Gouy <Manolo>2016-03-31 19:55:03 +0000
commit519673a7761f0e43d926ea5dac43cda305fb089e (patch)
treee3d18b6b7916a09c9a224cfea9694641d68cabfe /FL
parent5d12ea5ab12d3b911777bb8cbdeb70c3d183267c (diff)
Move dnd and character-composition related functions from Fl_System_Driver to Fl_Screen_Driver
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11489 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
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;}