Refactor: UI_BTYPE_SEPR_LINE Without Need for uiBut->a1 #118969

Merged
Harley Acheson merged 2 commits from Harley/blender:SepLineNoA1 into main 2024-03-01 18:09:13 +01:00

2 Commits

Author SHA1 Message Date
Harley Acheson d4176fb8e4 adding const to local variable
buildbot/vexp-code-patch-lint Build done. Details
buildbot/vexp-code-patch-linux-x86_64 Build done. Details
buildbot/vexp-code-patch-darwin-x86_64 Build done. Details
buildbot/vexp-code-patch-windows-amd64 Build done. Details
buildbot/vexp-code-patch-darwin-arm64 Build done. Details
buildbot/vexp-code-patch-coordinator Build done. Details
2024-03-01 08:36:21 -08:00
Harley Acheson b84e736f32 Refactor: UI_BTYPE_SEPR_LINE Without Need for uiBut->a1
The line separator needs to know vertical or horizontal orientation
at draw time, and is independent of button rect. This PR removes the
use of uiBut->a1 for this in favor of a derived struct.
2024-03-01 08:27:43 -08:00