mirror of
				https://github.com/ocornut/imgui.git
				synced 2025-10-26 12:27:30 +00:00 
			
		
		
		
	Merge branch 'master' into viewport
# Conflicts: # examples/imgui_impl_glfw.cpp # examples/imgui_impl_win32.cpp
This commit is contained in:
		| @@ -33,7 +33,7 @@ | ||||
| static HWND                 g_hWnd = 0; | ||||
| static INT64                g_Time = 0; | ||||
| static INT64                g_TicksPerSecond = 0; | ||||
| static ImGuiMouseCursor     g_LastMouseCursor = ImGuiMouseCursor_Count_; | ||||
| static ImGuiMouseCursor     g_LastMouseCursor = ImGuiMouseCursor_COUNT; | ||||
| static bool                 g_WantUpdateMonitors = true; | ||||
|  | ||||
| // Forward Declarations | ||||
| @@ -222,7 +222,7 @@ void    ImGui_ImplWin32_NewFrame() | ||||
| // Generally you may always pass all inputs to dear imgui, and hide them from your application based on those two flags. | ||||
| // PS: In this Win32 handler, we use the capture API (GetCapture/SetCapture/ReleaseCapture) to be able to read mouse coordinations when dragging mouse outside of our window bounds. | ||||
| // PS: We treat DBLCLK messages as regular mouse down messages, so this code will work on windows classes that have the CS_DBLCLKS flag set. Our own example app code doesn't set this flag. | ||||
| IMGUI_API LRESULT ImGui_ImplWin32_WndProcHandler(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam) | ||||
| IMGUI_IMPL_API LRESULT ImGui_ImplWin32_WndProcHandler(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam) | ||||
| { | ||||
|     if (ImGui::GetCurrentContext() == NULL) | ||||
|         return 0; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 omar
					omar