1
0
Fork 0
mirror of https://github.com/ocornut/imgui.git synced 2026-01-11 00:04:24 +00:00

IO: Added GetPlatformIO(), ImGuiPlatformIO, currently empty.

This commit is contained in:
ocornut 2024-08-22 16:31:10 +02:00
parent 8e40104795
commit e6460722ea
4 changed files with 32 additions and 6 deletions

View file

@ -1994,6 +1994,7 @@ struct ImGuiContext
bool Initialized;
bool FontAtlasOwnedByContext; // IO.Fonts-> is owned by the ImGuiContext and will be destructed along with it.
ImGuiIO IO;
ImGuiPlatformIO PlatformIO;
ImGuiStyle Style;
ImFont* Font; // (Shortcut) == FontStack.empty() ? IO.Font : FontStack.back()
float FontSize; // (Shortcut) == FontBaseSize * g.CurrentWindow->FontWindowScale == window->FontSize(). Text height for current window.