mirror of
https://github.com/ocornut/imgui.git
synced 2026-01-24 02:14:22 +00:00
Viewports: added GetWindowViewport() in imgui_internal.h to increase consistency with code using this public API in docking branch. (#9140)
This commit is contained in:
parent
3050f653cb
commit
b015acc464
1 changed files with 1 additions and 0 deletions
|
|
@ -3223,6 +3223,7 @@ namespace ImGui
|
|||
IMGUI_API void UpdateMouseMovingWindowEndFrame();
|
||||
|
||||
// Viewports
|
||||
inline ImGuiViewport* GetWindowViewport() { return GetMainViewport(); } // For code consistency. This is public API in docking branch.
|
||||
IMGUI_API void ScaleWindowsInViewport(ImGuiViewportP* viewport, float scale);
|
||||
IMGUI_API void SetWindowViewport(ImGuiWindow* window, ImGuiViewportP* viewport);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue