summaryrefslogtreecommitdiff
path: root/src/Fl_x.cxx
diff options
context:
space:
mode:
authorManolo Gouy <Manolo>2016-04-15 14:18:37 +0000
committerManolo Gouy <Manolo>2016-04-15 14:18:37 +0000
commit7508a033c508bb05b315bcb701941f35f8f9a764 (patch)
tree25b23a94fabe9b0bbfac058f2a19107c6a5b56f1 /src/Fl_x.cxx
parent3f64e2b28d3556a1ea316fe6ae73eabf454f1fa8 (diff)
Continue moving to Fl_System_Driver the platform_dependent implementations of member functions of the Fl class.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11614 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/Fl_x.cxx')
-rw-r--r--src/Fl_x.cxx7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/Fl_x.cxx b/src/Fl_x.cxx
index 387459f6b..3c7245efc 100644
--- a/src/Fl_x.cxx
+++ b/src/Fl_x.cxx
@@ -39,6 +39,7 @@
# include "flstring.h"
# include "drivers/X11/Fl_X11_Screen_Driver.H"
# include "drivers/X11/Fl_X11_Window_Driver.H"
+# include "drivers/X11/Fl_X11_System_Driver.H"
# include <unistd.h>
# include <time.h>
# include <sys/time.h>
@@ -787,7 +788,7 @@ void fl_close_display() {
}
-void Fl::get_mouse(int &xx, int &yy) {
+void Fl_X11_Screen_Driver::get_mouse(int &xx, int &yy) {
fl_open_display();
Window root = RootWindow(fl_display, fl_screen);
Window c; int mx,my,cx,cy; unsigned int mask;
@@ -940,7 +941,7 @@ static int get_xwinprop(Window wnd, Atom prop, long max_length,
////////////////////////////////////////////////////////////////
// Code for copying to clipboard and DnD out of the program:
-void Fl::copy(const char *stuff, int len, int clipboard, const char *type) {
+void Fl_X11_System_Driver::copy(const char *stuff, int len, int clipboard, const char *type) {
if (!stuff || len<0) return;
if (clipboard >= 2) {
@@ -2844,7 +2845,7 @@ int Fl_X::set_cursor(const Fl_RGB_Image *image, int hotx, int hoty) {
////////////////////////////////////////////////////////////////
// returns pointer to the filename, or null if name ends with '/'
-const char *fl_filename_name(const char *name) {
+const char *Fl_X11_System_Driver::filename_name(const char *name) {
const char *p,*q;
if (!name) return (0);
for (p=q=name; *p;) if (*p++ == '/') q = p;