| 8662 | } |
| 8663 | |
| 8664 | void ImGui::SetNextWindowPos(const ImVec2& pos, ImGuiCond cond, const ImVec2& pivot) |
| 8665 | { |
| 8666 | ImGuiContext& g = *GImGui; |
| 8667 | IM_ASSERT(cond == 0 || ImIsPowerOfTwo(cond)); // Make sure the user doesn't attempt to combine multiple condition flags. |
| 8668 | g.NextWindowData.HasFlags |= ImGuiNextWindowDataFlags_HasPos; |
| 8669 | g.NextWindowData.PosVal = pos; |
| 8670 | g.NextWindowData.PosPivotVal = pivot; |
| 8671 | g.NextWindowData.PosCond = cond ? cond : ImGuiCond_Always; |
| 8672 | } |
| 8673 | |
| 8674 | void ImGui::SetNextWindowSize(const ImVec2& size, ImGuiCond cond) |
| 8675 | { |
nothing calls this directly
no test coverage detected