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:
parent
5f553ebd2a
commit
0cef82d746
@ -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
|
||||
|
||||
@ -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);
|
||||
|
||||
@ -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:
|
||||
|
||||
@ -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);
|
||||
|
||||
@ -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);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user