tornavis/source/blender/editors/space_action
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
..
CMakeLists.txt Cleanup: Remove GLEW dependencies outside of GL module 2020-09-12 15:51:21 +02:00
action_buttons.c Cleanup: use C comments for descriptive text 2020-10-10 22:04:51 +11:00
action_data.c UI: Revert design changes to data-block selector for the 2.92 release 2021-01-13 15:31:02 +01:00
action_draw.c Animation: move group colors switch to user preferences 2020-11-09 11:11:05 +01:00
action_edit.c Fix T70316: Custom "Delete Keyframes" shortcut still requires 2021-01-06 11:35:06 +01:00
action_intern.h UI: Revert design changes to data-block selector for the 2.92 release 2021-01-13 15:31:02 +01:00
action_ops.c UI: Revert design changes to data-block selector for the 2.92 release 2021-01-13 15:31:02 +01:00
action_select.c Cleanup: Fix capitalization in various places 2020-12-13 13:12:56 -08:00
space_action.c UI Code Quality: Use "params" struct for area and region callbacks 2021-01-18 17:28:47 -06:00