Remove Fl_Window_Driver::current_cursor() and its platform-specific forms that are now unused.

This became unused when window scaling no longer involved window destruction/recreation.

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12668 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
Manolo Gouy 2018-02-16 16:24:32 +00:00
parent 5f553ebd2a
commit 0cef82d746
5 changed files with 0 additions and 12 deletions

View File

@ -160,7 +160,6 @@ public:
// --- window cursor stuff
virtual int set_cursor(Fl_Cursor);
virtual int set_cursor(const Fl_RGB_Image*, int, int);
virtual fl_uintptr_t current_cursor();
// --- window shape stuff
void shape_pixmap_(Fl_Image* pixmap); // platform-independent, support function

View File

@ -241,11 +241,6 @@ int Fl_Window_Driver::set_cursor(const Fl_RGB_Image*, int, int) {
return 0;
}
fl_uintptr_t Fl_Window_Driver::current_cursor() {
return 0;
}
void Fl_Window_Driver::wait_for_expose() {
if (!shown()) return;
Fl_X *i = Fl_X::i(pWindow);

View File

@ -2517,10 +2517,6 @@ int Fl_WinAPI_Window_Driver::set_cursor(const Fl_RGB_Image *image, int hotx, int
return 1;
}
fl_uintptr_t Fl_WinAPI_Window_Driver::current_cursor() {
return (fl_uintptr_t)cursor;
}
////////////////////////////////////////////////////////////////
// Implement the virtual functions for the base Fl_Window class:

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 fl_uintptr_t current_cursor();
virtual void shape(const Fl_Image* img);
virtual void icons(const Fl_RGB_Image *icons[], int count);

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 fl_uintptr_t current_cursor() {return current_cursor_;}
virtual void shape(const Fl_Image* img);
virtual void icons(const Fl_RGB_Image *icons[], int count);