mirror of
https://github.com/ocornut/imgui.git
synced 2026-01-09 23:54:20 +00:00
Docs: clarify PixelSnapH / PixelSnapV + comment on PushTextWrapPos().
This commit is contained in:
parent
dc48a7c88e
commit
99bca397d8
2 changed files with 5 additions and 4 deletions
|
|
@ -8263,12 +8263,13 @@ void ImGui::EndDisabledOverrideReenable()
|
|||
g.Style.Alpha = g.CurrentWindowStack.back().DisabledOverrideReenableAlphaBackup;
|
||||
}
|
||||
|
||||
void ImGui::PushTextWrapPos(float wrap_pos_x)
|
||||
// ATTENTION THIS IS IN LEGACY LOCAL SPACE.
|
||||
void ImGui::PushTextWrapPos(float wrap_local_pos_x)
|
||||
{
|
||||
ImGuiContext& g = *GImGui;
|
||||
ImGuiWindow* window = g.CurrentWindow;
|
||||
window->DC.TextWrapPosStack.push_back(window->DC.TextWrapPos);
|
||||
window->DC.TextWrapPos = wrap_pos_x;
|
||||
window->DC.TextWrapPos = wrap_local_pos_x;
|
||||
}
|
||||
|
||||
void ImGui::PopTextWrapPos()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue