Lines Matching refs:str_id

474  - 2016/05/01 (1.49) - obsoleted old signature of CollapsingHeader(const char* label, const char* str_id = NULL, bool display_frame = true, bool default_open = false) as extra parameters were badly designed and rarely used. You can replace the "default_open = true" flag in new API with CollapsingHeader(label, ImGuiTreeNodeFlags_DefaultOpen).
4372 bool ImGui::BeginChild(const char* str_id, const ImVec2& size_arg, bool border, ImGuiWindowFlags extra_flags)
4375 return BeginChildEx(str_id, window->GetID(str_id), size_arg, border, extra_flags);
6480 void ImGui::PushID(const char* str_id)
6483 window->IDStack.push_back(window->GetIDNoKeepAlive(str_id));
6511 ImGuiID ImGui::GetID(const char* str_id)
6514 return window->GetID(str_id);
6730 bool ImGui::IsPopupOpen(const char* str_id)
6733 return g.OpenPopupStack.Size > g.BeginPopupStack.Size && g.OpenPopupStack[g.BeginPopupStack.Size].PopupId == g.CurrentWindow->GetID(str_id);
6746 void ImGui::OpenPopup(const char* str_id)
6749 OpenPopupEx(g.CurrentWindow->GetID(str_id));
6798 bool ImGui::OpenPopupOnItemClick(const char* str_id, int mouse_button)
6803 ImGuiID id = str_id ? window->GetID(str_id) : window->DC.LastItemId; // If user hasn't passed an ID, we can use the LastItemID. Using LastItemID as a Popup ID won't conflict!
6804 IM_ASSERT(id != 0); // You cannot pass a NULL str_id if the last item has no identifier (e.g. a Text() item)
6924 bool ImGui::BeginPopup(const char* str_id, ImGuiWindowFlags flags)
6933 return BeginPopupEx(g.CurrentWindow->GetID(str_id), flags);
6980 // You can pass a NULL str_id to use the identifier of the last item.
6981 bool ImGui::BeginPopupContextItem(const char* str_id, int mouse_button)
6984 ImGuiID id = str_id ? window->GetID(str_id) : window->DC.LastItemId; // If user hasn't passed an ID, we can use the LastItemID. Using LastItemID as a Popup ID won't conflict!
6985 IM_ASSERT(id != 0); // You cannot pass a NULL str_id if the last item has no identifier (e.g. a Text() item)
6991 bool ImGui::BeginPopupContextWindow(const char* str_id, int mouse_button, bool also_over_items)
6993 if (!str_id)
6994 str_id = "window_context";
6995 ImGuiID id = GImGui->CurrentWindow->GetID(str_id);
7002 bool ImGui::BeginPopupContextVoid(const char* str_id, int mouse_button)
7004 if (!str_id)
7005 str_id = "void_context";
7006 ImGuiID id = GImGui->CurrentWindow->GetID(str_id);
8321 void ImGui::BeginColumns(const char* str_id, int columns_count, ImGuiColumnsFlags flags)
8331 PushID(0x11223347 + (str_id ? 0 : columns_count));
8332 ImGuiID id = window->GetID(str_id ? str_id : "columns");