Lines Matching defs:line
1006 static void SettingsHandlerWindow_ReadLine(ImGuiContext*, ImGuiSettingsHandler*, void* entry, const char* line);
1339 // Find end-of-line. Return pointer will point to either first \n, either str_end.
1346 const ImWchar* ImStrbolW(const ImWchar* buf_mid_line, const ImWchar* buf_begin) // find beginning-of-line
2341 // Align whole block. We should defer that to the better rendering function when we'll have support for individual line alignment.
3676 // B) If you need/want meshes with more than 64K vertices, uncomment the '#define ImDrawIdx unsigned int' line in imconfig.h to set the index size to 4 bytes.
3896 // Calculate text size. Text can be multi-line. Optionally ignore text after a ## marker.
6433 target_y += (window->DC.PrevLineSize.y * center_y_ratio) + (GImGui->Style.ItemSpacing.y * (center_y_ratio - 0.5f) * 2.0f); // Precisely aim above, in the middle or below the last line.
6588 window->DC.CurrentLineTextBaseOffset = ImMax(window->DC.PrevLineTextBaseOffset, group_data.BackupCurrentLineTextBaseOffset); // FIXME: Incorrect, we should grab the base offset from the *first line* of the group but it is hard to obtain now.
6607 // Gets back to previous line and continue with horizontal layout
8812 // Split the string. Each new line (after a '\n') is followed by spacing corresponding to the current depth of our log entry.
9025 for (char* line = buf; line < buf_end; line = line_end + 1)
9027 // Skip new lines markers, then find end of the line
9028 while (*line == '\n' || *line == '\r')
9029 line++;
9030 line_end = line;
9034 if (line[0] == ';')
9036 if (line[0] == '[' && line_end > line && line_end[-1] == ']')
9041 const char* type_start = line + 1;
9059 // Let type handler parse the line
9060 entry_handler->ReadLineFn(&g, entry_handler, entry_data, line);
9108 static void SettingsHandlerWindow_ReadLine(ImGuiContext*, ImGuiSettingsHandler*, void* entry, const char* line)
9113 if (sscanf(line, "Pos=%f,%f", &x, &y) == 2) settings->Pos = ImVec2(x, y);
9114 else if (sscanf(line, "Size=%f,%f", &x, &y) == 2) settings->Size = ImMax(ImVec2(x, y), GImGui->Style.WindowMinSize);
9115 else if (sscanf(line, "Collapsed=%d", &i) == 1) settings->Collapsed = (i != 0);