Searched refs:CalcItemWidth (Results 1 - 8 of 8) sorted by relevance
/third_party/mesa3d/src/intel/tools/ |
H A D | aubinator_viewer_urb.h | 29 ImVec2 graph_size(ImGui::CalcItemWidth(), 2 * n_stages * label_size.y); in DrawAllocation()
|
/third_party/skia/third_party/externals/imgui/ |
H A D | imgui_widgets.cpp | 358 const float w = CalcItemWidth(); in LabelTextV() 1249 ImVec2 size = CalcItemSize(size_arg, CalcItemWidth(), g.FontSize + style.FramePadding.y * 2.0f); in ProgressBar() 1576 const float w = (flags & ImGuiComboFlags_NoPreview) ? arrow_size : CalcItemWidth(); in BeginCombo() 2388 const float w = CalcItemWidth(); in DragScalar() 2475 PushMultiItemsWidths(components, CalcItemWidth()); in DragScalarN() 2530 PushMultiItemsWidths(2, CalcItemWidth()); in DragFloatRange2() 2584 PushMultiItemsWidths(2, CalcItemWidth()); in DragIntRange2() 3006 const float w = CalcItemWidth(); 3088 PushMultiItemsWidths(components, CalcItemWidth()); 3443 SetNextItemWidth(ImMax(1.0f, CalcItemWidth() [all...] |
H A D | imgui.h | 419 IMGUI_API float CalcItemWidth(); // width of item given pushed settings and current cursor position. NOT necessarily the width of last item unlike most 'Item' functions.
|
H A D | imgui_demo.cpp | 7168 ImVec2 gradient_size = ImVec2(ImGui::CalcItemWidth(), ImGui::GetFrameHeight());
|
H A D | imgui.cpp | 651 - 2015/02/10 (1.32) - renamed GetItemWidth() to CalcItemWidth() to clarify its evolving behavior 7468 // - CalcItemWidth() 7737 float ImGui::CalcItemWidth() in CalcItemWidth() function in ImGui 7755 // [Internal] Calculate full item size given user provided 'size' parameter and default width/height. Default width is often == CalcItemWidth(). 7756 // Those two functions CalcItemWidth vs CalcItemSize are awkwardly named because they are not fully symmetrical. 7757 // Note that only CalcItemWidth() is publicly exposed. 7758 // The 4.0f here may be changed to match CalcItemWidth() and/or BeginChild() (right now we have a mismatch which is harmless but undesirable)
|
/third_party/mesa3d/src/imgui/ |
H A D | imgui_widgets.cpp | 318 const float w = CalcItemWidth(); in LabelTextV() 1035 ImRect bb(pos, pos + CalcItemSize(size_arg, CalcItemWidth(), g.FontSize + style.FramePadding.y*2.0f)); in ProgressBar() 1298 const float w = (flags & ImGuiComboFlags_NoPreview) ? arrow_size : CalcItemWidth(); in BeginCombo() 1873 const float w = CalcItemWidth(); 2306 const float w = CalcItemWidth(); 2671 PushItemWidth(ImMax(1.0f, CalcItemWidth() - (button_size + style.ItemInnerSpacing.x) * 2)); 3154 ImVec2 size = CalcItemSize(size_arg, CalcItemWidth(), (is_multiline ? GetTextLineHeight() * 8.0f : label_size.y) + style.FramePadding.y*2.0f); // Arbitrary default of 8 lines high for multi-line 3838 const float w_items_all = CalcItemWidth() - w_extra; 4134 float sv_picker_size = ImMax(bars_width * 1, CalcItemWidth() - (alpha_bar ? 2 : 1) * (bars_width + style.ItemInnerSpacing.x)); // Saturation/Value picking box 5144 ImVec2 size = CalcItemSize(size_arg, CalcItemWidth(), GetTextLineHeightWithSpacin [all...] |
H A D | imgui.h | 318 IMGUI_API float CalcItemWidth(); // width of item given pushed settings and current cursor position
|
H A D | imgui.cpp | 524 - 2015/02/10 (1.32) - renamed GetItemWidth() to CalcItemWidth() to clarify its evolving behavior 5640 w_full = CalcItemWidth(); in PushMultiItemsWidths() 5656 float ImGui::CalcItemWidth() in CalcItemWidth() function in ImGui
|
Completed in 82 milliseconds