From Neil Hughes, "Please find attached two files that I've amended to add the IDC_HAND cursor for the windows platform."

This commit is contained in:
Robert Osfield 2009-04-22 11:20:19 +00:00
parent b6182a1239
commit 616a96343c
2 changed files with 4 additions and 0 deletions

View File

@ -106,6 +106,7 @@ class OSGVIEWER_EXPORT GraphicsWindow : public osg::GraphicsContext, public osgG
WaitCursor,
TextCursor,
CrosshairCursor,
HandCursor,
UpDownCursor,
LeftRightCursor,
TopSideCursor,

View File

@ -2033,6 +2033,9 @@ HCURSOR GraphicsWindowWin32::getOrCreateCursor(MouseCursor mouseCursor)
case BottomLeftCorner:
_mouseCursorMap[mouseCursor] = LoadCursor( NULL, IDC_SIZENESW );
break;
case HandCursor:
_mouseCursorMap[mouseCursor] = LoadCursor( NULL, IDC_HAND );
break;
default:
break;
}