mirror of
				https://github.com/Drezil/imgui.git
				synced 2025-11-03 22:51:06 +01:00 
			
		
		
		
	Fixed missing IMGUI_API for IsMouseDragPastThreshold().
This commit is contained in:
		@@ -1579,7 +1579,7 @@ namespace ImGui
 | 
			
		||||
    IMGUI_API void          SetNavIDWithRectRel(ImGuiID id, int nav_layer, const ImRect& rect_rel);
 | 
			
		||||
 | 
			
		||||
    // Inputs
 | 
			
		||||
    inline bool             IsMouseDragPastThreshold(int button, float lock_threshold = -1.0f);
 | 
			
		||||
    IMGUI_API bool          IsMouseDragPastThreshold(int button, float lock_threshold = -1.0f);
 | 
			
		||||
    inline bool             IsKeyPressedMap(ImGuiKey key, bool repeat = true)           { const int key_index = GImGui->IO.KeyMap[key]; return (key_index >= 0) ? IsKeyPressed(key_index, repeat) : false; }
 | 
			
		||||
    inline bool             IsNavInputDown(ImGuiNavInput n)                             { return GImGui->IO.NavInputs[n] > 0.0f; }
 | 
			
		||||
    inline bool             IsNavInputPressed(ImGuiNavInput n, ImGuiInputReadMode mode) { return GetNavInputAmount(n, mode) > 0.0f; }
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user