Home
last modified time | relevance | path

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

/third_party/mesa3d/src/imgui/
H A Dimgui.cpp6610 // spacing_w < 0 : use default spacing if pos_x == 0, no spacing if pos_x != 0
6611 // spacing_w >= 0 : enforce spacing amount
6612 void ImGui::SameLine(float pos_x, float spacing_w) in SameLine() argument
6621 if (spacing_w < 0.0f) spacing_w = 0.0f; in SameLine()
6622 window->DC.CursorPos.x = window->Pos.x - window->Scroll.x + pos_x + spacing_w + window->DC.GroupOffset.x + window->DC.ColumnsOffset.x; in SameLine()
6627 if (spacing_w < 0.0f) spacing_w = g.Style.ItemSpacing.x; in SameLine()
6628 window->DC.CursorPos.x = window->DC.CursorPosPrevLine.x + spacing_w; in SameLine()
H A Dimgui.h330 IMGUI_API void SameLine(float local_pos_x = 0.0f, float spacing_w = -1.0f); // call between widgets or groups to layout them horizontally. X position given in window coordinates.
/third_party/skia/third_party/externals/imgui/
H A Dimgui.cpp7594 // spacing_w < 0 : use default spacing if pos_x == 0, no spacing if pos_x != 0
7595 // spacing_w >= 0 : enforce spacing amount
7596 void ImGui::SameLine(float offset_from_start_x, float spacing_w) in SameLine() argument
7605 if (spacing_w < 0.0f) spacing_w = 0.0f; in SameLine()
7606 window->DC.CursorPos.x = window->Pos.x - window->Scroll.x + offset_from_start_x + spacing_w + window->DC.GroupOffset.x + window->DC.ColumnsOffset.x; in SameLine()
7611 if (spacing_w < 0.0f) spacing_w = g.Style.ItemSpacing.x; in SameLine()
7612 window->DC.CursorPos.x = window->DC.CursorPosPrevLine.x + spacing_w; in SameLine()

Completed in 51 milliseconds