| 8609 | } |
| 8610 | |
| 8611 | void ImGui::SetNextWindowPos(const ImVec2& pos, ImGuiCond cond, const ImVec2& pivot) |
| 8612 | { |
| 8613 | ImGuiContext& g = *GImGui; |
| 8614 | IM_ASSERT(cond == 0 || ImIsPowerOfTwo(cond)); // Make sure the user doesn't attempt to combine multiple condition flags. |
| 8615 | g.NextWindowData.HasFlags |= ImGuiNextWindowDataFlags_HasPos; |
| 8616 | g.NextWindowData.PosVal = pos; |
| 8617 | g.NextWindowData.PosPivotVal = pivot; |
| 8618 | g.NextWindowData.PosCond = cond ? cond : ImGuiCond_Always; |
| 8619 | } |
| 8620 | |
| 8621 | void ImGui::SetNextWindowSize(const ImVec2& size, ImGuiCond cond) |
| 8622 | { |
nothing calls this directly
no test coverage detected