|
SetNextWindowPos: added a ImVec2 pivot parameter for positioning a given a center, bottom-right position, etc. As a generalization of SetNextWindowPosCenter() which is now obsolete. This will be useful for combo-like popups as well.
Demo: Simple-overlay window uses the SetWindowPos pivot to select a corner to position itself at. |
|---|
|
|
| imgui.cpp |
|---|
| imgui.h |
|---|
| imgui_demo.cpp |
|---|
| imgui_internal.h |
|---|