mirror of
				https://github.com/ocornut/imgui.git
				synced 2025-10-26 12:27:30 +00:00 
			
		
		
		
	Merge remote-tracking branch 'origin' into 2015-04-indexed-rendering
This commit is contained in:
		| @@ -413,7 +413,7 @@ bool    ImGui_ImplDX11_Init(void* hwnd, ID3D11Device* device, ID3D11DeviceContex | ||||
|     io.KeyMap[ImGuiKey_LeftArrow] = VK_LEFT; | ||||
|     io.KeyMap[ImGuiKey_RightArrow] = VK_RIGHT; | ||||
|     io.KeyMap[ImGuiKey_UpArrow] = VK_UP; | ||||
|     io.KeyMap[ImGuiKey_DownArrow] = VK_UP; | ||||
|     io.KeyMap[ImGuiKey_DownArrow] = VK_DOWN; | ||||
|     io.KeyMap[ImGuiKey_Home] = VK_HOME; | ||||
|     io.KeyMap[ImGuiKey_End] = VK_END; | ||||
|     io.KeyMap[ImGuiKey_Delete] = VK_DELETE; | ||||
| @@ -469,6 +469,9 @@ void ImGui_ImplDX11_NewFrame() | ||||
|     // io.MouseDown : filled by WM_*BUTTON* events | ||||
|     // io.MouseWheel : filled by WM_MOUSEWHEEL events | ||||
|  | ||||
|     // Hide OS mouse cursor if ImGui is drawing it | ||||
|     SetCursor(io.MouseDrawCursor ? NULL : LoadCursor(NULL, IDC_ARROW)); | ||||
|  | ||||
|     // Start the frame | ||||
|     ImGui::NewFrame(); | ||||
| } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 ocornut
					ocornut