e39ca9d1e3
Cleanup: use function style casts for integer types in C++
...
Also remove redundant parenthesis.
2023-01-03 11:12:51 +11:00
2652029f3b
Cleanup: Clang tidy
...
Addressed almost all warnings except for replacing defines
with enums and variable assignment in if statements.
2022-12-29 12:01:32 -05:00
1eb90ee519
UI: Use vector instead of linked list for block button groups
...
This simplifies some memory management, ammortizes some of the many
small allocations when building UI layouts, and simplifies the code
that deals with the groups. `uiBlock` is no longer a trivial type.
In my testing this saved a few ms when drawing a large node tree.
2022-12-18 21:45:32 -06:00
a0dc062816
Cleanup: use function style casts for integer types in C++
2022-12-08 13:47:55 +11:00
cb45b0bb2a
Cleanup: spelling in comments
2022-12-08 13:47:55 +11:00
01a38c2be9
Fix T102827: 3D View header layout broken after C++ conversion
...
I missed this flag when removing designated initializers.
2022-11-28 16:29:37 -06:00
4ecc7cf14a
Cleanup: Move interface_intern.hh
...
The entire interface directory is now compiled as C++ files.
2022-11-26 10:12:58 -06:00
162f0dcb2f
Cleanup: Move six more interface files to C++
2022-11-26 10:12:58 -06:00