Searched refs:BeginPopupContextItem (Results 1 - 5 of 5) sorted by relevance

/xsrc/external/mit/MesaLib.old/dist/src/imgui/
H A Dimgui_demo.cpp1533 // This is useful in particular if you want to create a context menu (with BeginPopupContextItem) associated to the title bar of a window.
1539 if (ImGui::BeginPopupContextItem()) // <-- This is using IsItemHovered()
2133 // BeginPopupContextItem() is a helper to provide common/simple popup behavior of essentially doing:
2137 // For more advanced uses you may want to replicate and cuztomize this code. This the comments inside BeginPopupContextItem() implementation.
2140 if (ImGui::BeginPopupContextItem("item context menu"))
2150 // We can also use OpenPopupOnItemClick() which is the same as BeginPopupContextItem() but without the Begin call.
2155 // When used after an item that has an ID (here the Button), we can skip providing an ID to BeginPopupContextItem().
2156 // BeginPopupContextItem() will use the last item ID as the popup ID.
2161 if (ImGui::BeginPopupContextItem())
3186 if (ImGui::BeginPopupContextItem())
[all...]
H A Dimgui.h544 IMGUI_API bool BeginPopupContextItem(const char* str_id = NULL, int mouse_button = 1); // helper to open and begin popup when clicked on last item. if you can pass a NULL str_id only if the previous item had an id. If you want to use that on a non-interactive item such as Text() you need to pass in an explicit ID here. read comments in .cpp!
H A Dimgui.cpp6981 bool ImGui::BeginPopupContextItem(const char* str_id, int mouse_button) function in class:ImGui
/xsrc/external/mit/MesaLib/dist/src/imgui/
H A Dimgui.h544 IMGUI_API bool BeginPopupContextItem(const char* str_id = NULL, int mouse_button = 1); // helper to open and begin popup when clicked on last item. if you can pass a NULL str_id only if the previous item had an id. If you want to use that on a non-interactive item such as Text() you need to pass in an explicit ID here. read comments in .cpp!
H A Dimgui.cpp6981 bool ImGui::BeginPopupContextItem(const char* str_id, int mouse_button) function in class:ImGui

Completed in 97 milliseconds