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

/xsrc/external/mit/MesaLib.old/dist/src/imgui/
H A Dimgui.cpp2939 float ImGui::CalcWrapWidthForPos(const ImVec2& pos, float wrap_pos_x) argument
2941 if (wrap_pos_x < 0.0f)
2945 if (wrap_pos_x == 0.0f)
2946 wrap_pos_x = GetContentRegionMax().x + window->Pos.x;
2947 else if (wrap_pos_x > 0.0f)
2948 wrap_pos_x += window->Pos.x - window->Scroll.x; // wrap_pos_x is provided is window local space
2950 return ImMax(wrap_pos_x - pos.x, 1.0f);
5741 void ImGui::PushTextWrapPos(float wrap_pos_x) argument
5744 window->DC.TextWrapPos = wrap_pos_x;
[all...]
H A Dimgui_internal.h1382 IMGUI_API float CalcWrapWidthForPos(const ImVec2& pos, float wrap_pos_x);
H A Dimgui_widgets.cpp140 const float wrap_pos_x = window->DC.TextWrapPos; local in function:ImGui::TextUnformatted
141 const bool wrap_enabled = wrap_pos_x >= 0.0f;
220 const float wrap_width = wrap_enabled ? CalcWrapWidthForPos(window->DC.CursorPos, wrap_pos_x) : 0.0f;
/xsrc/external/mit/MesaLib/dist/src/imgui/
H A Dimgui.cpp2939 float ImGui::CalcWrapWidthForPos(const ImVec2& pos, float wrap_pos_x) argument
2941 if (wrap_pos_x < 0.0f)
2945 if (wrap_pos_x == 0.0f)
2946 wrap_pos_x = GetContentRegionMax().x + window->Pos.x;
2947 else if (wrap_pos_x > 0.0f)
2948 wrap_pos_x += window->Pos.x - window->Scroll.x; // wrap_pos_x is provided is window local space
2950 return ImMax(wrap_pos_x - pos.x, 1.0f);
5741 void ImGui::PushTextWrapPos(float wrap_pos_x) argument
5744 window->DC.TextWrapPos = wrap_pos_x;
[all...]
H A Dimgui_internal.h1382 IMGUI_API float CalcWrapWidthForPos(const ImVec2& pos, float wrap_pos_x);
H A Dimgui_widgets.cpp140 const float wrap_pos_x = window->DC.TextWrapPos; local in function:ImGui::TextUnformatted
141 const bool wrap_enabled = wrap_pos_x >= 0.0f;
220 const float wrap_width = wrap_enabled ? CalcWrapWidthForPos(window->DC.CursorPos, wrap_pos_x) : 0.0f;

Completed in 61 milliseconds