mirror of
				https://github.com/Drezil/imgui.git
				synced 2025-11-03 22:51:06 +01:00 
			
		
		
		
	Merge branch 'master' into docking. Remove Platform_SetImeInputPos. Remove backend-side IME implementation. Rrevert removal of MouseDragMaxDistanceAbs in 206b9ea. (#2589, #3113)
				
					
				
			# Conflicts: # backends/imgui_impl_glfw.cpp # backends/imgui_impl_sdl.cpp # backends/imgui_impl_win32.cpp # imgui.cpp # imgui.h # imgui_internal.h # imgui_widgets.cpp
This commit is contained in:
		@@ -1890,9 +1890,9 @@ struct ImGuiContext
 | 
			
		||||
    ImVector<ImGuiID>       MenusIdSubmittedThisFrame;          // A list of menu IDs that were rendered at least once
 | 
			
		||||
 | 
			
		||||
    // Platform support
 | 
			
		||||
    ImVec2                  PlatformImePos;                     // Cursor position request & last passed to the OS Input Method Editor
 | 
			
		||||
    ImVec2                  PlatformImeLastPos;
 | 
			
		||||
    ImGuiViewportP*         PlatformImePosViewport;
 | 
			
		||||
    ImGuiPlatformImeData    PlatformImeData;                    // Data updated by current frame
 | 
			
		||||
    ImGuiPlatformImeData    PlatformImeDataPrev;                // Previous frame data (when changing we will call io.SetPlatformImeDataFn
 | 
			
		||||
    ImGuiID                 PlatformImeViewport;
 | 
			
		||||
    char                    PlatformLocaleDecimalPoint;         // '.' or *localeconv()->decimal_point
 | 
			
		||||
 | 
			
		||||
    // Extensions
 | 
			
		||||
@@ -2068,8 +2068,9 @@ struct ImGuiContext
 | 
			
		||||
        TooltipOverrideCount = 0;
 | 
			
		||||
        TooltipSlowDelay = 0.50f;
 | 
			
		||||
 | 
			
		||||
        PlatformImePos = PlatformImeLastPos = ImVec2(FLT_MAX, FLT_MAX);
 | 
			
		||||
        PlatformImePosViewport = 0;
 | 
			
		||||
        PlatformImeData.InputPos = ImVec2(0.0f, 0.0f);
 | 
			
		||||
        PlatformImeDataPrev.InputPos = ImVec2(-1.0f, -1.0f); // Different to ensure initial submission
 | 
			
		||||
        PlatformImeViewport = 0;
 | 
			
		||||
        PlatformLocaleDecimalPoint = '.';
 | 
			
		||||
 | 
			
		||||
        SettingsLoaded = false;
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user