Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/imgui/
H A Dimgui_demo.cpp1531 if (ImGui::BeginPopup("MyHelpMenu")) in ShowDemoWindowWidgets()
1712 if (ImGui::BeginPopup("mypicker")) in ShowDemoWindowWidgets()
3164 // if (ImGui::Button("Open")) ImGui::OpenPopup("MyPopup"); if (ImGui::BeginPopup("MyPopup") { [...] EndPopup(); } in ShowDemoWindowPopups()
3185 if (ImGui::BeginPopup("my_select_popup")) in ShowDemoWindowPopups()
3198 if (ImGui::BeginPopup("my_toggle_popup")) in ShowDemoWindowPopups()
3215 if (ImGui::BeginPopup("another popup")) in ShowDemoWindowPopups()
3224 if (ImGui::BeginPopup("another popup")) in ShowDemoWindowPopups()
3239 if (ImGui::BeginPopup("my_file_popup")) in ShowDemoWindowPopups()
3257 // return BeginPopup(id); in ShowDemoWindowPopups()
4827 if (ImGui::BeginPopup("MyPopu
[all...]
H A Dimgui_widgets.cpp4969 if (BeginPopup("picker"))
5585 if ((!allow_opt_inputs && !allow_opt_datatype) || !BeginPopup("context"))
5606 if (BeginPopup("Copy"))
5636 if ((!allow_opt_picker && !allow_opt_alpha_bar) || !BeginPopup("context"))
H A Dimgui.h332 // BeginPopup/EndPopup, etc. where the EndXXX call should only be called if the corresponding BeginXXX function
344 // BeginPopup/EndPopup, etc. where the EndXXX call should only be called if the corresponding BeginXXX function
676 // - IMPORTANT: Popup identifiers are relative to the current ID stack, so OpenPopup and BeginPopup generally needs to be at the same level of the stack.
680 // - BeginPopup(): query popup state, if open start appending into the window. Call EndPopup() afterwards. ImGuiWindowFlags are forwarded to the window.
682 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.
689 // - CloseCurrentPopup(): use inside the BeginPopup()/EndPopup() scope to close manually.
692 // - Use IsWindowAppearing() after BeginPopup() to tell if a window just opened.
699 // - Helpers to do OpenPopup+BeginPopup where the Open action is triggered by e.g. hovering an item and right-clicking.
701 // - IMPORTANT: Notice that BeginPopupContextXXX takes ImGuiPopupFlags just like OpenPopup() and unlike BeginPopup(). For full consistency, we may add ImGuiWindowFlags to the BeginPopupContextXXX functions in the future.
708 // - IsPopupOpen(): return true if the popup is open at the current BeginPopup() leve
[all...]
H A Dimgui.cpp438 - 2020/09/21 (1.79) - removed return value from OpenPopupOnItemClick() - returned true on mouse release on an item - because it is inconsistent with other popup APIs and makes others misleading. It's also and unnecessary: you can use IsWindowAppearing() after BeginPopup() for a similar result.
638 - 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.
4797 // NB: prefer to call right after BeginPopup(). At the time Selectable/MenuItem is activated, the popup is already closed!
6048 if ((flags & ImGuiWindowFlags_Popup) != 0 && !(flags & ImGuiWindowFlags_Modal) && !window_pos_set_by_api) // FIXME: BeginPopup() could use SetNextWindowPos() in Begin()
7441 IM_ASSERT(SizeOfBeginPopupStack == g.BeginPopupStack.Size && "BeginPopup/EndPopup or BeginMenu/EndMenu Mismatch!"); in CompareWithCurrentState()
8260 // Return true if any popup is open at the current BeginPopup() level of the popup stack in IsPopupOpen()
8280 // Return true if the popup is open at the current BeginPopup() level of the popup stack (this is the most-common query) in IsPopupOpen()
8317 // Popups are closed when user click outside, or activate a pressable item, or CloseCurrentPopup() is called within a BeginPopup()/EndPopup() block.
8318 // Popup identifiers are relative to the current ID-stack (so OpenPopup and BeginPopup need
8510 bool ImGui::BeginPopup(const char* str_id, ImGuiWindowFlags flags) BeginPopup() function in ImGui
[all...]
/third_party/mesa3d/src/imgui/
H A Dimgui_memory_editor.h452 if (ImGui::BeginPopup("context")) in DrawContents()
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.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.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() in CheckStacksSize()
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) in BeginPopup() function in ImGui
6969 IM_ASSERT(g.CurrentWindow->Flags & ImGuiWindowFlags_Popup); // Mismatched BeginPopup()/EndPopup() calls in EndPopup()

Completed in 78 milliseconds