FL_CURSOR_HAND should be IDC_HAND, not IDC_UPARROW.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@935 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
parent
08ed55a14b
commit
6ffdd70246
@ -1,5 +1,5 @@
|
||||
//
|
||||
// "$Id: fl_cursor.cxx,v 1.6 1999/01/07 19:17:37 mike Exp $"
|
||||
// "$Id: fl_cursor.cxx,v 1.6.2.1 1999/12/05 13:59:26 mike Exp $"
|
||||
//
|
||||
// Mouse cursor support for the Fast Light Tool Kit (FLTK).
|
||||
//
|
||||
@ -43,6 +43,10 @@ void fl_cursor(Fl_Cursor c, Fl_Color fg, Fl_Color bg) {
|
||||
|
||||
#ifdef WIN32
|
||||
|
||||
# ifndef IDC_HAND
|
||||
# define IDC_HAND MAKEINTRESOURCE(32649)
|
||||
# endif // !IDC_HAND
|
||||
|
||||
void Fl_Window::cursor(Fl_Cursor c, Fl_Color, Fl_Color) {
|
||||
if (!shown()) return;
|
||||
if (c > FL_CURSOR_NESW) {
|
||||
@ -57,7 +61,7 @@ void Fl_Window::cursor(Fl_Cursor c, Fl_Color, Fl_Color) {
|
||||
case FL_CURSOR_WAIT: n = IDC_WAIT; break;
|
||||
case FL_CURSOR_INSERT: n = IDC_IBEAM; break;
|
||||
case FL_CURSOR_HELP: n = IDC_HELP; break;
|
||||
case FL_CURSOR_HAND: n = IDC_UPARROW; break;
|
||||
case FL_CURSOR_HAND: n = IDC_HAND; break;
|
||||
case FL_CURSOR_MOVE: n = IDC_SIZEALL; break;
|
||||
case FL_CURSOR_N:
|
||||
case FL_CURSOR_S:
|
||||
@ -167,5 +171,5 @@ void Fl_Window::cursor(Fl_Cursor c, Fl_Color fg, Fl_Color bg) {
|
||||
#endif
|
||||
|
||||
//
|
||||
// End of "$Id: fl_cursor.cxx,v 1.6 1999/01/07 19:17:37 mike Exp $".
|
||||
// End of "$Id: fl_cursor.cxx,v 1.6.2.1 1999/12/05 13:59:26 mike Exp $".
|
||||
//
|
||||
|
Loading…
Reference in New Issue
Block a user