Searched refs:line_height (Results 1 - 6 of 6) sorted by relevance
| /xsrc/external/mit/MesaLib.old/dist/src/imgui/ |
| H A D | imgui_draw.cpp | 2646 const float line_height = size; local in function:ImFont::CalcTextSizeA 2672 text_size.y += line_height; 2705 text_size.y += line_height; 2727 text_size.y += line_height; 2763 const float line_height = FontSize * scale; local in function:ImFont::RenderText 2769 if (y + line_height < clip_rect.y && !word_wrap_enabled) 2770 while (y + line_height < clip_rect.y && s < text_end) 2774 y += line_height; 2787 y_end += line_height; 2819 y += line_height; [all...] |
| H A D | imgui_widgets.cpp | 150 const float line_height = GetTextLineHeight(); local in function:ImGui::TextUnformatted 161 int lines_skippable = (int)((clip_rect.Min.y - text_pos.y) / line_height); 173 pos.y += lines_skipped * line_height; 180 ImRect line_rect(pos, pos + ImVec2(FLT_MAX, line_height)); 193 line_rect.Min.y += line_height; 194 line_rect.Max.y += line_height; 195 pos.y += line_height; 208 pos.y += lines_skipped * line_height; 357 const float line_height = ImMax(ImMin(window->DC.CurrentLineSize.y, g.FontSize + g.Style.FramePadding.y*2), g.FontSize); local in function:ImGui::BulletTextV 358 const ImRect bb(window->DC.CursorPos, window->DC.CursorPos + ImVec2(g.FontSize + (label_size.x > 0.0f ? (label_size.x + style.FramePadding.x*2) : 0.0f), ImMax(line_height, label_siz 1068 const float line_height = ImMax(ImMin(window->DC.CurrentLineSize.y, g.FontSize + g.Style.Fr local in function:ImGui::Bullet 2856 const float line_height = g.FontSize; local in function:InputTextCalcTextSizeW [all...] |
| H A D | imgui.cpp | 2186 static void SetCursorPosYAndSetupDummyPrevLine(float pos_y, float line_height) argument 2193 window->DC.CursorPosPrevLine.y = window->DC.CursorPos.y - line_height; // Setting those fields so that SetScrollHereY() can properly function after the end of our clipper usage. 2194 window->DC.PrevLineSize.y = (line_height - GImGui->Style.ItemSpacing.y); // If we end up needing more accurate data (to e.g. use SameLine) we may as well make the clipper have a fourth step to let user process and display the last item in their list. 2751 const float line_height = ImMax(window->DC.CurrentLineSize.y, size.y); local in function:ImGui::ItemSize 2753 //if (g.IO.KeyAlt) window->DrawList->AddRect(window->DC.CursorPos, window->DC.CursorPos + ImVec2(size.x, line_height), IM_COL32(255,0,0,200)); // [DEBUG] 2756 window->DC.CursorPos.y = (float)(int)(window->DC.CursorPos.y + line_height + g.Style.ItemSpacing.y); 2761 window->DC.PrevLineSize.y = line_height;
|
| /xsrc/external/mit/MesaLib/dist/src/imgui/ |
| H A D | imgui_draw.cpp | 2646 const float line_height = size; local in function:ImFont::CalcTextSizeA 2672 text_size.y += line_height; 2705 text_size.y += line_height; 2727 text_size.y += line_height; 2763 const float line_height = FontSize * scale; local in function:ImFont::RenderText 2769 if (y + line_height < clip_rect.y && !word_wrap_enabled) 2770 while (y + line_height < clip_rect.y && s < text_end) 2774 y += line_height; 2787 y_end += line_height; 2819 y += line_height; [all...] |
| H A D | imgui_widgets.cpp | 150 const float line_height = GetTextLineHeight(); local in function:ImGui::TextUnformatted 161 int lines_skippable = (int)((clip_rect.Min.y - text_pos.y) / line_height); 173 pos.y += lines_skipped * line_height; 180 ImRect line_rect(pos, pos + ImVec2(FLT_MAX, line_height)); 193 line_rect.Min.y += line_height; 194 line_rect.Max.y += line_height; 195 pos.y += line_height; 208 pos.y += lines_skipped * line_height; 357 const float line_height = ImMax(ImMin(window->DC.CurrentLineSize.y, g.FontSize + g.Style.FramePadding.y*2), g.FontSize); local in function:ImGui::BulletTextV 358 const ImRect bb(window->DC.CursorPos, window->DC.CursorPos + ImVec2(g.FontSize + (label_size.x > 0.0f ? (label_size.x + style.FramePadding.x*2) : 0.0f), ImMax(line_height, label_siz 1068 const float line_height = ImMax(ImMin(window->DC.CurrentLineSize.y, g.FontSize + g.Style.Fr local in function:ImGui::Bullet 2856 const float line_height = g.FontSize; local in function:InputTextCalcTextSizeW [all...] |
| H A D | imgui.cpp | 2186 static void SetCursorPosYAndSetupDummyPrevLine(float pos_y, float line_height) argument 2193 window->DC.CursorPosPrevLine.y = window->DC.CursorPos.y - line_height; // Setting those fields so that SetScrollHereY() can properly function after the end of our clipper usage. 2194 window->DC.PrevLineSize.y = (line_height - GImGui->Style.ItemSpacing.y); // If we end up needing more accurate data (to e.g. use SameLine) we may as well make the clipper have a fourth step to let user process and display the last item in their list. 2751 const float line_height = ImMax(window->DC.CurrentLineSize.y, size.y); local in function:ImGui::ItemSize 2753 //if (g.IO.KeyAlt) window->DrawList->AddRect(window->DC.CursorPos, window->DC.CursorPos + ImVec2(size.x, line_height), IM_COL32(255,0,0,200)); // [DEBUG] 2756 window->DC.CursorPos.y = (float)(int)(window->DC.CursorPos.y + line_height + g.Style.ItemSpacing.y); 2761 window->DC.PrevLineSize.y = line_height;
|
Completed in 56 milliseconds