Home
last modified time | relevance | path

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

/third_party/mesa3d/src/imgui/
H A Dimgui_widgets.cpp745 const float bb_height = bb.GetHeight(); in Scrollbar() local
746 if (bb.GetWidth() <= 0.0f || bb_height <= 0.0f) in Scrollbar()
751 if ((direction == ImGuiLayoutType_Vertical) && bb_height < g.FontSize + g.Style.FramePadding.y * 2.0f) in Scrollbar()
753 alpha = ImSaturate((bb_height - g.FontSize) / (g.Style.FramePadding.y * 2.0f)); in Scrollbar()

Completed in 9 milliseconds