mirror of
				https://github.com/Drezil/imgui.git
				synced 2025-11-04 07:01:04 +01:00 
			
		
		
		
	Scrolling: Exposed SetNextWindowScroll() in public API. (#1526)
This commit is contained in:
		@@ -2724,7 +2724,6 @@ namespace ImGui
 | 
			
		||||
    IMGUI_API ImGuiSettingsHandler* FindSettingsHandler(const char* type_name);
 | 
			
		||||
 | 
			
		||||
    // Scrolling
 | 
			
		||||
    IMGUI_API void          SetNextWindowScroll(const ImVec2& scroll); // Use -1.0f on one axis to leave as-is
 | 
			
		||||
    IMGUI_API void          SetScrollX(ImGuiWindow* window, float scroll_x);
 | 
			
		||||
    IMGUI_API void          SetScrollY(ImGuiWindow* window, float scroll_y);
 | 
			
		||||
    IMGUI_API void          SetScrollFromPosX(ImGuiWindow* window, float local_x, float center_x_ratio);
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user