Home
last modified time | relevance | path

Searched refs:label_size (Results 1 - 5 of 5) sorted by relevance

/third_party/mesa3d/src/intel/tools/
H A Daubinator_viewer_urb.h28 const ImVec2 label_size = ImGui::CalcTextSize("VS entry: ", NULL, true); in DrawAllocation() local
29 ImVec2 graph_size(ImGui::CalcItemWidth(), 2 * n_stages * label_size.y); in DrawAllocation()
35 const float row_height = MAX2(RowHeight, label_size.y); in DrawAllocation()
36 const float width = ImGui::GetContentRegionAvailWidth() - label_size.x; in DrawAllocation()
44 const float x = window_pos.x + label_size.x; in DrawAllocation()
/third_party/mesa3d/src/imgui/
H A Dimgui_widgets.cpp320 const ImVec2 label_size = CalcTextSize(label, NULL, true); in LabelTextV() local
321 const ImRect value_bb(window->DC.CursorPos, window->DC.CursorPos + ImVec2(w, label_size.y + style.FramePadding.y*2)); in LabelTextV()
322 const ImRect total_bb(window->DC.CursorPos, window->DC.CursorPos + ImVec2(w + (label_size.x > 0.0f ? style.ItemInnerSpacing.x : 0.0f), style.FramePadding.y*2) + label_size); in LabelTextV()
331 if (label_size.x > 0.0f) in LabelTextV()
355 const ImVec2 label_size = CalcTextSize(text_begin, text_end, false); in BulletTextV() local
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_size.y))); // Empty text doesn't add padding in BulletTextV()
553 const ImVec2 label_size in ButtonEx() local
915 const ImVec2 label_size = CalcTextSize(label, NULL, true); Checkbox() local
974 const ImVec2 label_size = CalcTextSize(label, NULL, true); RadioButton() local
1297 const ImVec2 label_size = CalcTextSize(label, NULL, true); BeginCombo() local
[all...]
/third_party/skia/third_party/externals/imgui/
H A Dimgui_widgets.cpp363 const ImVec2 label_size = CalcTextSize(label, NULL, true); in LabelTextV() local
367 const ImRect total_bb(pos, pos + ImVec2(w + (label_size.x > 0.0f ? style.ItemInnerSpacing.x + label_size.x : 0.0f), ImMax(value_size.y, label_size.y) + style.FramePadding.y * 2)); in LabelTextV()
374 if (label_size.x > 0.0f) in LabelTextV()
398 const ImVec2 label_size = CalcTextSize(text_begin, text_end, false); in BulletTextV() local
399 const ImVec2 total_size = ImVec2(g.FontSize + (label_size.x > 0.0f ? (label_size.x + style.FramePadding.x * 2) : 0.0f), label_size.y); // Empty text doesn't add padding in BulletTextV()
679 const ImVec2 label_size in ButtonEx() local
1079 const ImVec2 label_size = CalcTextSize(label, NULL, true); Checkbox() local
1185 const ImVec2 label_size = CalcTextSize(label, NULL, true); RadioButton() local
1575 const ImVec2 label_size = CalcTextSize(label, NULL, true); BeginCombo() local
2390 const ImVec2 label_size = CalcTextSize(label, NULL, true); DragScalar() local
3970 const ImVec2 label_size = CalcTextSize(label, NULL, true); InputTextEx() local
[all...]
H A Dimgui_tables.cpp2873 ImVec2 label_size = CalcTextSize(label, label_end, true);
2879 float label_height = ImMax(label_size.y, table->RowMinHeight - table->CellPaddingY * 2.0f);
2897 float max_pos_x = label_pos.x + label_size.x + w_sort_text + w_arrow;
2984 RenderTextEllipsis(window->DrawList, label_pos, ImVec2(ellipsis_max, label_pos.y + label_height + g.Style.FramePadding.y), ellipsis_max, ellipsis_max, label, label_end, &label_size);
2986 const bool text_clipped = label_size.x > (ellipsis_max - label_pos.x);
/third_party/node/deps/ada/
H A Dada.cpp122 auto label_size = dot_location - start; variable
123 if (label_size > 63 || label_size == 0) return false;
9596 size_t label_size = is_last_label ? mapped_string.size() - label_start
9598 size_t label_size_with_dot = is_last_label ? label_size : label_size + 1;
9599 std::string_view label_view(mapped_string.data() + label_start, label_size);
9601 if (label_size == 0) {
9663 size_t label_size =
9665 size_t label_size_with_dot = is_last_label ? label_size
[all...]

Completed in 27 milliseconds