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_RoundCornersBottom` -> `ImDrawFlags_RoundBottom`
- `ImDrawFlags_RoundCornersLeft` -> `ImDrawFlags_RoundLeft` - `ImDrawFlags_RoundCornersLeft` -> `ImDrawFlags_RoundLeft`
- `ImDrawFlags_RoundCornersRight` -> `ImDrawFlags_RoundRight` - `ImDrawFlags_RoundCornersRight` -> `ImDrawFlags_RoundRight`
- `ImDrawFlags_RoundCornersMask_` -> `ImDrawFlags_RoundMask_`
Kept redirection enums (will obsolete). Kept redirection enums (will obsolete).
- Marked `ImDrawListFlags_AntiAliasedLinesUseTex` and `style.AntiAliasedLinesUseTex` as - Marked `ImDrawListFlags_AntiAliasedLinesUseTex` and `style.AntiAliasedLinesUseTex` as
obsolete, as the new line rendering code always uses textures. obsolete, as the new line rendering code always uses textures.

View File

@ -3392,6 +3392,7 @@ enum ImDrawFlags_
ImDrawFlags_RoundCornersBottom = ImDrawFlags_RoundBottom, ImDrawFlags_RoundCornersBottom = ImDrawFlags_RoundBottom,
ImDrawFlags_RoundCornersLeft = ImDrawFlags_RoundLeft, ImDrawFlags_RoundCornersLeft = ImDrawFlags_RoundLeft,
ImDrawFlags_RoundCornersRight = ImDrawFlags_RoundRight, ImDrawFlags_RoundCornersRight = ImDrawFlags_RoundRight,
ImDrawFlags_RoundCornersMask_ = ImDrawFlags_RoundMask_,
#endif #endif
}; };