mirror of
https://github.com/ocornut/imgui.git
synced 2026-02-06 04:20:08 +00:00
Minor popups comment tweak (#402)
This commit is contained in:
parent
f87deff0f3
commit
5549744e0f
2 changed files with 3 additions and 1 deletions
|
|
@ -3075,6 +3075,8 @@ static bool IsPopupOpen(ImGuiID id)
|
|||
return opened;
|
||||
}
|
||||
|
||||
// Mark popup as open. Popups are closed when user click outside, or activate a pressable item, or CloseCurrentPopup() is called within a BeginPopup()/EndPopup() block.
|
||||
// Popup identifiers are relative to the current ID-stack (so OpenPopup and BeginPopup needs to be at the same level).
|
||||
// One open popup per level of the popup hierarchy (NB: when assigning we reset the Window member of ImGuiPopupRef to NULL)
|
||||
void ImGui::OpenPopup(const char* str_id)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue