• Home
  • Raw
  • Download

Lines Matching refs:FontSize

357 …eight = ImMax(ImMin(window->DC.CurrentLineSize.y, g.FontSize + g.Style.FramePadding.y*2), g.FontSi…  in BulletTextV()
358 …const ImRect bb(window->DC.CursorPos, window->DC.CursorPos + ImVec2(g.FontSize + (label_size.x > 0… in BulletTextV()
364 RenderBullet(bb.Min + ImVec2(style.FramePadding.x + g.FontSize*0.5f, line_height*0.5f)); in BulletTextV()
365 …RenderText(bb.Min+ImVec2(g.FontSize + style.FramePadding.x*2, text_base_offset_y), text_begin, tex… in BulletTextV()
650 …enderArrow(bb.Min + ImVec2(ImMax(0.0f, (size.x - g.FontSize) * 0.5f), ImMax(0.0f, (size.y - g.Font… in ArrowButtonEx()
696 ImRect bb(pos, pos + ImVec2(g.FontSize, g.FontSize) + g.Style.FramePadding * 2.0f); in CollapseButton()
703 …window->DrawList->AddCircleFilled(bb.GetCenter() + ImVec2(0.0f, -0.5f), g.FontSize * 0.5f + 1.0f, … in CollapseButton()
751 …if ((direction == ImGuiLayoutType_Vertical) && bb_height < g.FontSize + g.Style.FramePadding.y * 2… in Scrollbar()
753 alpha = ImSaturate((bb_height - g.FontSize) / (g.Style.FramePadding.y * 2.0f)); in Scrollbar()
1035 …ImRect bb(pos, pos + CalcItemSize(size_arg, CalcItemWidth(), g.FontSize + style.FramePadding.y*2.0… in ProgressBar()
1068 …eight = ImMax(ImMin(window->DC.CurrentLineSize.y, g.FontSize + g.Style.FramePadding.y*2), g.FontSi… in Bullet()
1069 const ImRect bb(window->DC.CursorPos, window->DC.CursorPos + ImVec2(g.FontSize, line_height)); in Bullet()
1078 RenderBullet(bb.Min + ImVec2(style.FramePadding.x + g.FontSize*0.5f, line_height*0.5f)); in Bullet()
1125 ItemSize(ImVec2(0.0f, g.FontSize)); in NewLine()
1136 …window->DC.CurrentLineSize.y = ImMax(window->DC.CurrentLineSize.y, g.FontSize + g.Style.FramePaddi… in AlignTextToFramePadding()
1277 …return (g.FontSize + g.Style.ItemSpacing.y) * items_count - g.Style.ItemSpacing.y + (g.Style.Windo… in CalcMaxPopupHeightFromItemCount()
2856 const float line_height = g.FontSize; in InputTextCalcTextSizeW()
2857 const float scale = line_height / font->FontSize; in InputTextCalcTextSizeW()
2903 …TH_NEWLINE; return GImGui->Font->GetCharAdvance(c) * (GImGui->FontSize / GImGui->Font->FontSize); } in STB_TEXTEDIT_GETWIDTH()
3192 password_font->FontSize = g.Font->FontSize; in InputTextEx()
3299 …tiline ? (io.MousePos.y - draw_window->DC.CursorPos.y - style.FramePadding.y) : (g.FontSize*0.5f)); in InputTextEx()
3370 ….KeyCtrl) SetWindowScrollY(draw_window, ImMax(draw_window->Scroll.y - g.FontSize, 0.0f)); else edi… in InputTextEx()
3371 ….KeyCtrl) SetWindowScrollY(draw_window, ImMin(draw_window->Scroll.y + g.FontSize, GetScrollMaxY())… in InputTextEx()
3670 cursor_offset.y = searches_result_line_number[0] * g.FontSize; in InputTextEx()
3674 select_start_offset.y = searches_result_line_number[1] * g.FontSize; in InputTextEx()
3679 text_size = ImVec2(size.x, line_count * g.FontSize); in InputTextEx()
3703 if (cursor_offset.y - g.FontSize < scroll_y) in InputTextEx()
3704 scroll_y = ImMax(0.0f, cursor_offset.y - g.FontSize); in InputTextEx()
3727 if (rect_pos.y > clip_rect.w + g.FontSize) in InputTextEx()
3741 …ImRect rect(rect_pos + ImVec2(0.0f, bg_offy_up - g.FontSize), rect_pos +ImVec2(rect_size.x, bg_off… in InputTextEx()
3747 rect_pos.y += g.FontSize; in InputTextEx()
3753 …draw_window->DrawList->AddText(g.Font, g.FontSize, render_pos - render_scroll, GetColorU32(ImGuiCo… in InputTextEx()
3758 …ImRect cursor_screen_rect(cursor_screen_pos.x, cursor_screen_pos.y-g.FontSize+0.5f, cursor_screen_… in InputTextEx()
3764 g.PlatformImePos = ImVec2(cursor_screen_pos.x - 1, cursor_screen_pos.y - g.FontSize); in InputTextEx()
3771 …ec2(size.x, InputTextCalcTextLenAndLineCount(buf_display, &buf_end) * g.FontSize); // We don't nee… in InputTextEx()
3775 …draw_window->DrawList->AddText(g.Font, g.FontSize, render_pos, GetColorU32(ImGuiCol_Text), buf_dis… in InputTextEx()
3780 Dummy(text_size + ImVec2(0.0f, g.FontSize)); // Always add room to scroll an extra line in InputTextEx()
4515 …ImVec2 sz(g.FontSize * 3 + g.Style.FramePadding.y * 2, g.FontSize * 3 + g.Style.FramePadding.y * 2… in ColorTooltip()
4582 …ImVec2 picker_size(g.FontSize * 8, ImMax(g.FontSize * 8 - (GetFrameHeight() + g.Style.ItemInnerSpa… in ColorPickerOptionsPopup()
4776 …const float frame_height = ImMax(ImMin(window->DC.CurrentLineSize.y, g.FontSize + style.FramePaddi… in TreeNodeBehavior()
4785 …const float text_offset_x = (g.FontSize + (display_frame ? padding.x*3 : padding.x*2)); // Colla… in TreeNodeBehavior()
4786 …const float text_width = g.FontSize + (label_size.x > 0.0f ? label_size.x + padding.x*2 : 0.0f); … in TreeNodeBehavior()
4897 … RenderBullet(frame_bb.Min + ImVec2(text_offset_x * 0.5f, g.FontSize*0.50f + text_base_offset_y)); in TreeNodeBehavior()
4899 …RenderArrow(frame_bb.Min + ImVec2(padding.x, g.FontSize*0.15f + text_base_offset_y), is_open ? ImG… in TreeNodeBehavior()
4964 return g.FontSize + (g.Style.FramePadding.x * 2.0f); in GetTreeNodeToLabelSpacing()
5003 float button_radius = g.FontSize * 0.5f; in CollapsingHeader()
5629 …float w = window->MenuColumns.DeclColumns(label_size.x, 0.0f, (float)(int)(g.FontSize * 1.20f)); /… in BeginMenu()
5633 …RenderArrow(pos + ImVec2(window->MenuColumns.Pos[2] + extra_w + g.FontSize * 0.30f, 0.0f), ImGuiDi… in BeginMenu()
5771 …->MenuColumns.DeclColumns(label_size.x, shortcut_size.x, (float)(int)(g.FontSize * 1.20f)); // Fee… in MenuItem()
5781 …2] + extra_w + g.FontSize * 0.40f, g.FontSize * 0.134f * 0.5f), GetColorU32(enabled ? ImGuiCol_Tex… in MenuItem()
5872 …DC.CursorPos.y, window->InnerClipRect.Max.x, window->DC.CursorPos.y + g.FontSize + g.Style.FramePa… in BeginTabBar()
6110 …= (tab_bar->PrevFrameVisible + 1 < g.FrameCount) ? FLT_MAX : (g.IO.DeltaTime * g.FontSize * 70.0f); in TabBarLayout()
6138 return g.FontSize * 20.0f; in TabBarCalcMaxTabWidth()
6186 …float margin = g.FontSize * 1.0f; // When to scroll to make Tab N+1 visible always make a bit of N… in TabBarScrollToTab()
6209 const ImVec2 arrow_button_size(g.FontSize - 2.0f, g.FontSize + g.Style.FramePadding.y * 2.0f); in TabBarScrollingButtons()
6264 const float tab_list_popup_button_width = g.FontSize + g.Style.FramePadding.y; in TabBarTabListPopupButton()
6549 …size.x += g.Style.FramePadding.x + (g.Style.ItemInnerSpacing.x + g.FontSize); // We use Y intentio… in TabItemCalcSize()
6595 ….x + 2, text_pixel_clip_bb.Max.x), bb.Min.y + frame_padding.y + (float)(int)(-g.FontSize * 0.25f)); in TabItemLabelAndCloseButton()
6613 const float close_button_sz = g.FontSize * 0.5f; in TabItemLabelAndCloseButton()
6633 …float label_size_clipped_x = g.Font->CalcTextSizeA(g.FontSize, text_ellipsis_clip_bb.GetWidth() - … in TabItemLabelAndCloseButton()
6637 … label_size_clipped_x = g.Font->CalcTextSizeA(g.FontSize, FLT_MAX, 0.0f, label, label_end).x; in TabItemLabelAndCloseButton()
6642 …label_size_clipped_x -= g.Font->CalcTextSizeA(g.FontSize, FLT_MAX, 0.0f, label_end, label_end + 1)… in TabItemLabelAndCloseButton()