Use the default arrow cursor until we implement the cursor API
--HG-- extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403542
This commit is contained in:
parent
db32da3f78
commit
68e2c17401
1 changed files with 11 additions and 8 deletions
|
@ -524,15 +524,18 @@ WIN_WindowProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam)
|
||||||
|
|
||||||
case WM_SETCURSOR:
|
case WM_SETCURSOR:
|
||||||
{
|
{
|
||||||
/*
|
|
||||||
Uint16 hittest;
|
Uint16 hittest;
|
||||||
|
|
||||||
hittest = LOWORD(lParam);
|
hittest = LOWORD(lParam);
|
||||||
if (hittest == HTCLIENT) {
|
if (hittest == HTCLIENT) {
|
||||||
SetCursor(SDL_hcursor);
|
/* FIXME: Implement the cursor API */
|
||||||
|
static HCURSOR cursor;
|
||||||
|
if (!cursor) {
|
||||||
|
cursor = LoadCursor(NULL, IDC_ARROW);
|
||||||
|
}
|
||||||
|
SetCursor(cursor);
|
||||||
return (TRUE);
|
return (TRUE);
|
||||||
}
|
}
|
||||||
*/
|
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue