Remove Fl_Window_Driver::reuse_cursor() that is no longer used since commit r12349.

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12350 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
Manolo Gouy 2017-07-25 11:31:19 +00:00
parent 225c3d6da3
commit 9c47bc322c
6 changed files with 0 additions and 18 deletions

View File

@ -157,7 +157,6 @@ public:
// --- window cursor stuff
virtual int set_cursor(Fl_Cursor);
virtual int set_cursor(const Fl_RGB_Image*, int, int);
virtual void reuse_cursor(fl_uintptr_t);
virtual fl_uintptr_t current_cursor();
// --- window shape stuff

View File

@ -239,9 +239,6 @@ int Fl_Window_Driver::set_cursor(const Fl_RGB_Image*, int, int) {
return 0;
}
void Fl_Window_Driver::reuse_cursor(fl_uintptr_t) {
}
fl_uintptr_t Fl_Window_Driver::current_cursor() {
return 0;
}

View File

@ -2362,11 +2362,6 @@ int Fl_WinAPI_Window_Driver::set_cursor(const Fl_RGB_Image *image, int hotx, int
return 1;
}
void Fl_WinAPI_Window_Driver::reuse_cursor(fl_uintptr_t c) {
cursor = (HCURSOR)c;
SetCursor((HCURSOR)c);
}
fl_uintptr_t Fl_WinAPI_Window_Driver::current_cursor() {
return (fl_uintptr_t)cursor;
}

View File

@ -2891,13 +2891,6 @@ int Fl_X11_Window_Driver::set_cursor(const Fl_RGB_Image *image, int hotx, int ho
#endif
}
void Fl_X11_Window_Driver::reuse_cursor(fl_uintptr_t c)
{
if (c) {
XDefineCursor(fl_display, fl_xid(pWindow), (Cursor)c);
}
}
////////////////////////////////////////////////////////////////
// returns pointer to the filename, or null if name ends with '/'

View File

@ -108,7 +108,6 @@ public:
// --- window cursor stuff
virtual int set_cursor(Fl_Cursor);
virtual int set_cursor(const Fl_RGB_Image*, int, int);
virtual void reuse_cursor(fl_uintptr_t);
virtual fl_uintptr_t current_cursor();
virtual void shape(const Fl_Image* img);

View File

@ -130,7 +130,6 @@ public:
// --- window cursor stuff
virtual int set_cursor(Fl_Cursor);
virtual int set_cursor(const Fl_RGB_Image*, int, int);
virtual void reuse_cursor(fl_uintptr_t);
virtual fl_uintptr_t current_cursor() {return current_cursor_;}
virtual void shape(const Fl_Image* img);