mirror of
https://github.com/ocornut/imgui.git
synced 2026-01-11 00:04:24 +00:00
Added GetContentRegionMax() supporting columns. Some bug fixes with using columns.
This commit is contained in:
parent
78645a7dba
commit
6c192f3221
2 changed files with 49 additions and 10 deletions
3
imgui.h
3
imgui.h
|
|
@ -149,7 +149,8 @@ namespace ImGui
|
|||
void SetWindowSize(const ImVec2& size); // set to ImVec2(0,0) to force an auto-fit
|
||||
ImVec2 GetWindowPos(); // you should rarely need/care about the window position, but it can be useful if you want to use your own drawing.
|
||||
void SetWindowPos(const ImVec2& pos); // set current window pos.
|
||||
ImVec2 GetWindowContentRegionMin();
|
||||
ImVec2 GetContentRegionMax(); // window or current column boundaries
|
||||
ImVec2 GetWindowContentRegionMin(); // window boundaries
|
||||
ImVec2 GetWindowContentRegionMax();
|
||||
ImDrawList* GetWindowDrawList(); // get rendering command-list if you want to append your own draw primitives.
|
||||
ImFont GetWindowFont();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue