Home
last modified time | relevance | path

Searched refs:marker_size_x (Results 1 - 2 of 2) sorted by relevance

/third_party/mesa3d/src/imgui/
H A Dimgui.cpp5395 float marker_size_x = (flags & ImGuiWindowFlags_UnsavedDocument) ? CalcTextSize(UNSAVED_DOCUMENT_MARKER, NULL, false).x : 0.0f; in Begin() local
5396 ImVec2 text_size = CalcTextSize(name, NULL, true) + ImVec2(marker_size_x, 0.0f); in Begin()
5409 ImVec2 marker_pos = ImVec2(ImMax(text_r.Min.x, text_r.Min.x + (text_r.GetWidth() - text_size.x) * style.WindowTitleAlign.x) + text_size.x, text_r.Min.y) + ImVec2(2 - marker_size_x, 0.0f); in Begin()
/third_party/skia/third_party/externals/imgui/
H A Dimgui.cpp5709 const float marker_size_x = (flags & ImGuiWindowFlags_UnsavedDocument) ? button_sz * 0.80f : 0.0f; in RenderWindowTitleBarContents() local
5710 const ImVec2 text_size = CalcTextSize(name, NULL, true) + ImVec2(marker_size_x, 0.0f); in RenderWindowTitleBarContents()
5736 clip_r.Max.x = ImMin(clip_r.Max.x, marker_pos.x - (int)(marker_size_x * 0.5f)); in RenderWindowTitleBarContents()

Completed in 38 milliseconds