ImGuiIO used a legacy way to access the native struct through `ImGui::GetIO()`. Refactored to use ImGuiStruct, so to make API consistent.
ImGuiIO used a legacy way to access the native struct through `ImGui::GetIO()`. Refactored to use ImGuiStruct, so to make API consistent.