tornavis/source
Hans Goudey 09c7c63890 UI Code Quality: Use "params" struct for area and region callbacks
These functions with many arguments can be unwieldy. Aside from the obvious issues
with rewriting the list of arguments and the opportunities for error and frustration
that presents, the long list of arguments make these systems hard to change. So when
an argument should be added, someone might skip that and add some hack instead.

So, as proposed in T73586#1037210, this patch instead uses a "params" struct for
each of these callbacks.

- Use param argument for `ARegionType.listener`
    - Remove unused window field in region listener
- Use param argument for `SpaceType.listener`
- Use params struct for `ARegionType.message_subscribe`

Differential Revision: https://developer.blender.org/D9750
2021-01-18 17:28:47 -06:00
..
blender UI Code Quality: Use "params" struct for area and region callbacks 2021-01-18 17:28:47 -06:00
creator UI: Cleanup spelling of compound words 2020-12-24 13:11:22 -06:00
tools@d7d7e9d41f Revert "Fix T79356: Improved icons for MSIX builds" 2021-01-13 14:31:52 +01:00
CMakeLists.txt MSVC: Enable clang-tidy analyser 2020-12-03 11:00:58 -07:00