IMGUI_APIvoidOpenPopup(constchar*str_id);// mark popup as open. close childs popups if any. will close popup when user click outside, or activate menu items, or CloseCurrentPopup() is called within a BeginPopup/EndPopup block.
IMGUI_APIboolBeginPopup(constchar*str_id);// return true if popup if opened and start outputting to it. only call EndPopup() if BeginPopup() returned true!
IMGUI_APIvoidEndPopup();
IMGUI_APIvoidCloseCurrentPopup();
IMGUI_APIvoidCloseCurrentPopup();// close the popup we have begin-ed into
// Layout
IMGUI_APIvoidBeginGroup();// once closing a group it is seen as a single item (so you can use IsItemHovered() on a group, SameLine() between groups, etc.
@ -301,11 +301,11 @@ namespace ImGui
// Widgets: Menus
// FIXME-WIP: v1.39 in development, API *WILL* change
IMGUI_APIboolBeginMainMenuBar();// create and append to a fullscreen menu-bar
IMGUI_APIboolBeginMainMenuBar();// create and append to a fullscreen menu-bar. only call EndMainMenuBar() if this returns true!
IMGUI_APIvoidEndMainMenuBar();
IMGUI_APIboolBeginMenuBar();// append to menu-bar of current window
IMGUI_APIboolBeginMenuBar();// append to menu-bar of current window. only call EndMenuBar() if this returns true!
IMGUI_APIvoidEndMenuBar();
IMGUI_APIboolBeginMenu(constchar*label);
IMGUI_APIboolBeginMenu(constchar*label);// create a sub-menu entry. only call EndMenu() if this returns true!