tornavis/source/blender/editors/space_sequencer
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: split sequencer_edit.c file 2020-11-19 09:54:40 +01:00
sequencer_add.c Cleanup: Split SEQ_sequencer.h file 2020-12-19 07:25:01 +01:00
sequencer_buttons.c Cleanup: Make panel type flag names more clear 2020-11-13 13:57:20 -05:00
sequencer_draw.c Cleanup: skip accessing sequence strip name/source when hidden 2021-01-11 17:58:08 +11:00
sequencer_edit.c Cleanup: Move functions from sequencer_edit.c 2020-12-31 05:22:19 +01:00
sequencer_intern.h VSE: Improve motion-picture workflow 2020-12-16 20:38:28 +01:00
sequencer_modifier.c Cleanup: Split SEQ_sequencer.h file 2020-12-19 07:25:01 +01:00
sequencer_ops.c VSE: Improve motion-picture workflow 2020-12-16 20:38:28 +01:00
sequencer_preview.c Cleanup: Fix comment style and check if they are valid or make sense. 2020-04-05 23:55:51 +02:00
sequencer_proxy.c Cleanup: Split SEQ_sequencer.h file 2020-12-19 07:25:01 +01:00
sequencer_scopes.c Spelling: Then Versus Than 2020-10-19 08:43:08 -07:00
sequencer_select.c Cleanup: Move functions from sequencer_edit.c 2020-12-31 05:22:19 +01:00
sequencer_view.c UI: Cleanup spelling of compound words 2020-12-24 13:11:22 -06:00
space_sequencer.c UI Code Quality: Use "params" struct for area and region callbacks 2021-01-18 17:28:47 -06:00