Lines Matching refs:name

160    If a function/type has been renamed / or marked obsolete, try to fix the name in your code before it is permanently removed
161 from the public API. If you have a problem with a missing function/symbols, search for its name in the code, there will
364 When you are not sure about a old symbol or function name, try using the Search/Find function of your IDE to look for comments or references in all imgui files.
913 - tip: you can call Begin() multiple times with the same name during the same frame, it will keep appending to the same window.
995 static ImGuiWindow* CreateNewWindow(const char* name, ImVec2 size, ImGuiWindowFlags flags);
1005 static void* SettingsHandlerWindow_ReadOpen(ImGuiContext*, ImGuiSettingsHandler*, const char* name);
1016 static bool BeginChildEx(const char* name, ImGuiID id, const ImVec2& size_arg, bool border, ImGuiWindowFlags flags);
2495 ImGuiWindow::ImGuiWindow(ImGuiContext* context, const char* name)
2498 Name = ImStrdup(name);
2499 ID = ImHashStr(name, 0);
2508 NameBufLen = (int)strlen(name) + 1;
4321 static bool ImGui::BeginChildEx(const char* name, ImGuiID id, const ImVec2& size_arg, bool border, ImGuiWindowFlags flags)
4339 // Build up name. If you need to append to a same child from multiple location in the ID stack, use BeginChild(ImGuiID id) with a stable value.
4341 if (name)
4342 ImFormatString(title, IM_ARRAYSIZE(title), "%s/%s_%08X", parent_window->Name, name, id);
4472 ImGuiWindow* ImGui::FindWindowByName(const char* name)
4474 ImGuiID id = ImHashStr(name, 0);
4478 static ImGuiWindow* CreateNewWindow(const char* name, ImVec2 size, ImGuiWindowFlags flags)
4483 ImGuiWindow* window = IM_NEW(ImGuiWindow)(&g, name);
4861 // - Begin/End can be called multiple times during the frame with the same window name to append content.
4862 // - The window name is used as a unique identifier to preserve window information across frames (and save rudimentary information to the .ini file).
4866 bool ImGui::Begin(const char* name, bool* p_open, ImGuiWindowFlags flags)
4870 IM_ASSERT(name != NULL && name[0] != '\0'); // Window name required
4875 ImGuiWindow* window = FindWindowByName(name);
4880 window = CreateNewWindow(name, size_on_first_use, flags);
4991 // Update stored window name when it changes (which can _only_ happen with the "###" operator, so the ID would stay unchanged).
4992 // The title bar always display the 'name' parameter, so we only update the string storage if it needs to be visible to the end-user elsewhere.
4996 if (window_title_visible_elsewhere && !window_just_created && strcmp(name, window->Name) != 0)
4999 window->Name = ImStrdupcpy(window->Name, &buf_len, name);
5396 ImVec2 text_size = CalcTextSize(name, NULL, true) + ImVec2(marker_size_x, 0.0f);
5406 RenderTextClipped(text_r.Min, text_r.Max, name, NULL, &text_size, style.WindowTitleAlign, &clip_rect);
5489 bool ImGui::Begin(const char* name, bool* p_open, const ImVec2& size_first_use, float bg_alpha_override, ImGuiWindowFlags flags)
5499 return Begin(name, p_open, flags);
6071 void ImGui::SetWindowPos(const char* name, const ImVec2& pos, ImGuiCond cond)
6073 if (ImGuiWindow* window = FindWindowByName(name))
6120 void ImGui::SetWindowSize(const char* name, const ImVec2& size, ImGuiCond cond)
6122 if (ImGuiWindow* window = FindWindowByName(name))
6154 void ImGui::SetWindowCollapsed(const char* name, bool collapsed, ImGuiCond cond)
6156 if (ImGuiWindow* window = FindWindowByName(name))
6165 void ImGui::SetWindowFocus(const char* name)
6167 if (name)
6169 if (ImGuiWindow* window = FindWindowByName(name))
6911 char name[20];
6913 ImFormatString(name, IM_ARRAYSIZE(name), "##Menu_%02d", g.BeginPopupStack.Size); // Recycle windows based on depth
6915 ImFormatString(name, IM_ARRAYSIZE(name), "##Popup_%08x", id); // Not recycling, so we can close/open during the same frame
6917 bool is_open = Begin(name, NULL, extra_flags | ImGuiWindowFlags_Popup);
6938 bool ImGui::BeginPopupModal(const char* name, bool* p_open, ImGuiWindowFlags flags)
6942 const ImGuiID id = window->GetID(name);
6955 const bool is_open = Begin(name, p_open, flags);
8329 // Differentiate column ID with an arbitrary prefix for cases where users name their columns set the same as another widget.
8959 ImGuiWindowSettings* ImGui::CreateNewWindowSettings(const char* name)
8964 settings->Name = ImStrdup(name);
8965 settings->ID = ImHashStr(name, 0);
8978 ImGuiWindowSettings* ImGui::FindOrCreateWindowSettings(const char* name)
8980 if (ImGuiWindowSettings* settings = FindWindowSettings(ImHashStr(name, 0)))
8982 return CreateNewWindowSettings(name);
9100 static void* SettingsHandlerWindow_ReadOpen(ImGuiContext*, ImGuiSettingsHandler*, const char* name)
9102 ImGuiWindowSettings* settings = ImGui::FindWindowSettings(ImHashStr(name, 0));
9104 settings = ImGui::CreateNewWindowSettings(name);
9148 const char* name = settings->Name;
9149 if (const char* p = strstr(name, "###")) // Skip to the "###" marker if any. We don't skip past to match the behavior of GetID()
9150 name = p;
9151 buf->appendf("[%s][%s]\n", handler->TypeName, name);