Searched refs:BeginPopup (Results 1 - 9 of 9) sorted by relevance

/xsrc/external/mit/MesaLib.old/dist/src/imgui/
H A Dimgui_demo.cpp1081 if (ImGui::BeginPopup("mypicker"))
2056 // if (ImGui::Button("Open")) ImGui::OpenPopup("MyPopup"); if (ImGui::BeginPopup("MyPopup") { [...] EndPopup(); }
2075 if (ImGui::BeginPopup("my_select_popup"))
2088 if (ImGui::BeginPopup("my_toggle_popup"))
2105 if (ImGui::BeginPopup("another popup"))
2122 if (ImGui::BeginPopup("my_file_popup"))
2136 // return BeginPopup(id);
3208 if (ImGui::BeginPopup("Options"))
3495 if (ImGui::BeginPopup("Options"))
H A Dimgui_memory_editor.h450 if (ImGui::BeginPopup("context"))
H A Dimgui.h237 // [this is due to legacy reason and is inconsistent with most other functions such as BeginMenu/EndMenu, BeginPopup/EndPopup, etc.
247 // Always call a matching EndChild() for each BeginChild() call, regardless of its return value [this is due to legacy reason and is inconsistent with most other functions such as BeginMenu/EndMenu, BeginPopup/EndPopup, etc. where the EndXXX call should only be called if the corresponding BeginXXX function returned true.]
542 IMGUI_API void OpenPopup(const char* str_id); // call to mark popup as open (don't call every frame!). popups are closed when user click outside, or if CloseCurrentPopup() is called within a BeginPopup()/EndPopup() block. By default, Selectable()/MenuItem() are calling CloseCurrentPopup(). Popup identifiers are relative to the current ID-stack (so OpenPopup and BeginPopup needs to be at the same level).
543 IMGUI_API bool BeginPopup(const char* str_id, ImGuiWindowFlags flags = 0); // return true if the popup is open, and you can start outputting to it. only call EndPopup() if BeginPopup() returns true!
657 IMGUI_API ImVec2 GetMousePosOnOpeningCurrentPopup(); // retrieve backup of mouse position at the time of opening popup we have BeginPopup() into
722 ImGuiWindowFlags_Popup = 1 << 26, // Don't use! For internal use by BeginPopup()
H A Dimgui_widgets.cpp3965 if (BeginPopup("picker"))
4529 if ((!allow_opt_inputs && !allow_opt_datatype) || !BeginPopup("context"))
4550 if (BeginPopup("Copy"))
4577 if ((!allow_opt_picker && !allow_opt_alpha_bar) || !BeginPopup("context"))
H A Dimgui.cpp511 - 2015/05/11 (1.40) - changed BeginPopup() API, takes a string identifier instead of a bool. ImGui needs to manage the open/closed state of popups. Call OpenPopup() to actually set the "open" state of a popup. BeginPopup() returns true if the popup is opened.
4143 // NB: prefer to call right after BeginPopup(). At the time Selectable/MenuItem is activated, the popup is already closed!
4451 { int current = g.BeginPopupStack.Size; if (write) *p_backup = (short)current; else IM_ASSERT(*p_backup == current && "BeginMenu/EndMenu or BeginPopup/EndPopup Mismatch"); p_backup++;}// Too few or too many EndMenu()/EndPopup()
6753 // Popups are closed when user click outside, or activate a pressable item, or CloseCurrentPopup() is called within a BeginPopup()/EndPopup() block.
6754 // Popup identifiers are relative to the current ID-stack (so OpenPopup and BeginPopup needs to be at the same level).
6924 bool ImGui::BeginPopup(const char* str_id, ImGuiWindowFlags flags) function in class:ImGui
6969 IM_ASSERT(g.CurrentWindow->Flags & ImGuiWindowFlags_Popup); // Mismatched BeginPopup()/EndPopup() calls
/xsrc/external/mit/MesaLib/dist/src/imgui/
H A Dimgui_memory_editor.h452 if (ImGui::BeginPopup("context"))
H A Dimgui.h237 // [this is due to legacy reason and is inconsistent with most other functions such as BeginMenu/EndMenu, BeginPopup/EndPopup, etc.
247 // Always call a matching EndChild() for each BeginChild() call, regardless of its return value [this is due to legacy reason and is inconsistent with most other functions such as BeginMenu/EndMenu, BeginPopup/EndPopup, etc. where the EndXXX call should only be called if the corresponding BeginXXX function returned true.]
542 IMGUI_API void OpenPopup(const char* str_id); // call to mark popup as open (don't call every frame!). popups are closed when user click outside, or if CloseCurrentPopup() is called within a BeginPopup()/EndPopup() block. By default, Selectable()/MenuItem() are calling CloseCurrentPopup(). Popup identifiers are relative to the current ID-stack (so OpenPopup and BeginPopup needs to be at the same level).
543 IMGUI_API bool BeginPopup(const char* str_id, ImGuiWindowFlags flags = 0); // return true if the popup is open, and you can start outputting to it. only call EndPopup() if BeginPopup() returns true!
657 IMGUI_API ImVec2 GetMousePosOnOpeningCurrentPopup(); // retrieve backup of mouse position at the time of opening popup we have BeginPopup() into
722 ImGuiWindowFlags_Popup = 1 << 26, // Don't use! For internal use by BeginPopup()
H A Dimgui_widgets.cpp3965 if (BeginPopup("picker"))
4529 if ((!allow_opt_inputs && !allow_opt_datatype) || !BeginPopup("context"))
4550 if (BeginPopup("Copy"))
4577 if ((!allow_opt_picker && !allow_opt_alpha_bar) || !BeginPopup("context"))
H A Dimgui.cpp511 - 2015/05/11 (1.40) - changed BeginPopup() API, takes a string identifier instead of a bool. ImGui needs to manage the open/closed state of popups. Call OpenPopup() to actually set the "open" state of a popup. BeginPopup() returns true if the popup is opened.
4143 // NB: prefer to call right after BeginPopup(). At the time Selectable/MenuItem is activated, the popup is already closed!
4451 { int current = g.BeginPopupStack.Size; if (write) *p_backup = (short)current; else IM_ASSERT(*p_backup == current && "BeginMenu/EndMenu or BeginPopup/EndPopup Mismatch"); p_backup++;}// Too few or too many EndMenu()/EndPopup()
6753 // Popups are closed when user click outside, or activate a pressable item, or CloseCurrentPopup() is called within a BeginPopup()/EndPopup() block.
6754 // Popup identifiers are relative to the current ID-stack (so OpenPopup and BeginPopup needs to be at the same level).
6924 bool ImGui::BeginPopup(const char* str_id, ImGuiWindowFlags flags) function in class:ImGui
6969 IM_ASSERT(g.CurrentWindow->Flags & ImGuiWindowFlags_Popup); // Mismatched BeginPopup()/EndPopup() calls

Completed in 294 milliseconds