DrawList: added missing ImDrawFlags_RoundCornersMask_ -> ImDrawFlags_RoundMask_ legacy redirect.

Amend 0e756a6.
This commit is contained in:
ocornut 2026-10-15 18:53:04 +02:00
parent c7d17f01cd
commit 49a1450360
2 changed files with 3 additions and 1 deletions

View File

@ -205,6 +205,7 @@ Breaking Changes:
- `ImDrawFlags_RoundCornersBottom` -> `ImDrawFlags_RoundBottom`
- `ImDrawFlags_RoundCornersLeft` -> `ImDrawFlags_RoundLeft`
- `ImDrawFlags_RoundCornersRight` -> `ImDrawFlags_RoundRight`
- `ImDrawFlags_RoundCornersMask_` -> `ImDrawFlags_RoundMask_`
Kept redirection enums (will obsolete).
- Marked `ImDrawListFlags_AntiAliasedLinesUseTex` and `style.AntiAliasedLinesUseTex` as
obsolete, as the new line rendering code always uses textures.

View File

@ -3391,7 +3391,8 @@ enum ImDrawFlags_
ImDrawFlags_RoundCornersTop = ImDrawFlags_RoundTop,
ImDrawFlags_RoundCornersBottom = ImDrawFlags_RoundBottom,
ImDrawFlags_RoundCornersLeft = ImDrawFlags_RoundLeft,
ImDrawFlags_RoundCornersRight = ImDrawFlags_RoundRight,
ImDrawFlags_RoundCornersRight = ImDrawFlags_RoundRight,
ImDrawFlags_RoundCornersMask_ = ImDrawFlags_RoundMask_,
#endif
};