mirror of
				https://github.com/Drezil/imgui.git
				synced 2025-10-30 20:51:06 +01:00 
			
		
		
		
	Shutdown: Unlock font atlas before destroying context, so we can destroy a context between NewFrame and EndFrame if we wait (facilitate main loop structures). Internals: GetWindowScrollMaxX(), GetWindowScrollMaxY()
This commit is contained in:
		| @@ -1125,6 +1125,8 @@ namespace ImGui | ||||
|     IMGUI_API bool          IsWindowNavFocusable(ImGuiWindow* window); | ||||
|     IMGUI_API void          SetWindowScrollX(ImGuiWindow* window, float new_scroll_x); | ||||
|     IMGUI_API void          SetWindowScrollY(ImGuiWindow* window, float new_scroll_y); | ||||
|     IMGUI_API float         GetWindowScrollMaxX(ImGuiWindow* window); | ||||
|     IMGUI_API float         GetWindowScrollMaxY(ImGuiWindow* window); | ||||
|     IMGUI_API ImRect        GetWindowAllowedExtentRect(ImGuiWindow* window); | ||||
|     IMGUI_API void          SetCurrentFont(ImFont* font); | ||||
|     inline ImFont*          GetDefaultFont() { ImGuiContext& g = *GImGui; return g.IO.FontDefault ? g.IO.FontDefault : g.IO.Fonts->Fonts[0]; } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user