diff OSWindow.cpp @ 2219:e6771956e74a

for mouse
author Ritor1
date Mon, 17 Feb 2014 17:28:06 +0600
parents 744ed51880ed
children 17bc3a1eb037
line wrap: on
line diff
--- a/OSWindow.cpp	Sun Feb 16 21:49:39 2014 +0600
+++ b/OSWindow.cpp	Mon Feb 17 17:28:06 2014 +0600
@@ -473,9 +473,15 @@
   GetCursorPos(&cursor_pos);
 
   if (!strcmp(cursor_name, "MICON1") )
+  {
     SetClassLongPtrW(api_handle, GCLP_HCURSOR, (LONG)LoadCursorW(GetModuleHandleW(nullptr), IDC_ARROW));
+    //AsyncMouse::LoadCursor(cursor_name)
+  }
   else if (!strcmp(cursor_name, "MICON2") )
+  {
     SetClassLongPtrW(api_handle, GCLP_HCURSOR, (LONG)LoadCursorW(GetModuleHandleW(nullptr), L"Target"));
+    //AsyncMouse::LoadCursor(cursor_name)
+  }
   else if (!strcmp(cursor_name, "MICON3") )
     SetClassLongPtrW(api_handle, GCLP_HCURSOR, (LONG)LoadCursorW(GetModuleHandleW(nullptr), IDC_WAIT));