Styles: Added ImGuiStyle::ScaleAllSizes(float) helper to make it easier to have application transition to e.g. High DPI with a matching style.

This commit is contained in:
omar
2017-10-04 18:13:57 -07:00
parent 89ab4b5e07
commit 67ac7da30f
2 changed files with 24 additions and 0 deletions

View File

@ -769,6 +769,7 @@ struct ImGuiStyle
ImVec4 Colors[ImGuiCol_COUNT];
IMGUI_API ImGuiStyle();
IMGUI_API void ScaleAllSizes(float scale_factor);
};
// This is where your app communicate with ImGui. Access via ImGui::GetIO().