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:
parent
225c3d6da3
commit
9c47bc322c
@ -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
|
||||
|
@ -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;
|
||||
}
|
||||
|
@ -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;
|
||||
}
|
||||
|
@ -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 '/'
|
||||
|
@ -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);
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user