mirror of
https://github.com/ocornut/imgui.git
synced 2026-08-21 14:51:17 +00:00
(Breaking) Obsoleted style.AntiAliasedLinesUseTex which now only makes sense for legacy strokes. Added style.AntiAliasedLineEnds.
This commit is contained in:
@@ -8936,9 +8936,15 @@ void ImGui::ShowStyleEditor(ImGuiStyle* ref)
|
||||
SameLine();
|
||||
HelpMarker("When disabling anti-aliasing lines, you'll probably want to disable borders in your style as well.");
|
||||
|
||||
Checkbox("Anti-aliased line ends", &style.AntiAliasedLineEnds);
|
||||
|
||||
#ifndef IMGUI_DISABLE_OBSOLETE_FUNCTIONS
|
||||
BeginDisabled();
|
||||
Checkbox("Anti-aliased lines use texture", &style.AntiAliasedLinesUseTex);
|
||||
SameLine();
|
||||
HelpMarker("Faster lines using texture data. Require backend to render with bilinear filtering (not point/nearest filtering).");
|
||||
EndDisabled();
|
||||
#endif
|
||||
|
||||
Checkbox("Anti-aliased fill", &style.AntiAliasedFill);
|
||||
PushItemWidth(GetFontSize() * 8);
|
||||
|
||||
Reference in New Issue
Block a user