MCPcopy Create free account
hub / github.com/IppClub/Dora-SSR / SetNextWindowPosCenter

Function SetNextWindowPosCenter

Source/GUI/ImGuiBinding.cpp:553–555  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

551}
552
553void SetNextWindowPosCenter(String setCond, const Vec2& pivot) {
554 ImGui::SetNextWindowPos(Vec2(ImGui::GetIO().DisplaySize) * 0.5f, SetCondFlag(setCond), pivot);
555}
556
557void SetNextWindowPosCenter(uint32_t setCond, const Vec2& pivot) {
558 ImGui::SetNextWindowPos(Vec2(ImGui::GetIO().DisplaySize) * 0.5f, setCond, pivot);

Calls 3

SetNextWindowPosFunction · 0.85
SetCondFlagFunction · 0.85
Vec2Class · 0.50

Tested by

no test coverage detected