tornavis/source/blender
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
..
blendthumb Cleanup: use string APPEND/PREPEND 2020-11-06 12:32:54 +11:00
blenfont Fix (studio-reported) broken handling of relative font paths. 2020-12-15 18:22:22 +01:00
blenkernel UI Code Quality: Use "params" struct for area and region callbacks 2021-01-18 17:28:47 -06:00
blenlib Merge branch 'blender-v2.92-release' 2021-01-15 11:04:53 -06:00
blenloader Fix T84719: Doversion for curve edit settings 2021-01-18 16:29:09 +01:00
blentranslation Cleanup: use STR_ELEM macro 2020-11-06 15:42:03 +11:00
bmesh Cleanup: spelling 2021-01-13 13:21:29 +11:00
compositor Cleanup: spelling 2021-01-15 12:23:50 +11:00
datatoc Cleanup: CMake: Remove arguments from endif(..) 2020-10-12 18:51:48 +05:30
depsgraph Fix T84250: Eevee world/material parameter animation not updating the viewport 2021-01-18 13:51:28 +01:00
draw GPencil: Add new parameteres to transform layers 2021-01-16 15:46:45 +01:00
editors UI Code Quality: Use "params" struct for area and region callbacks 2021-01-18 17:28:47 -06:00
freestyle Cleanup: various clang tidy fixes 2020-12-09 16:29:11 +01:00
functions Geometry Nodes: don't delete existing attribute before new attribute is computed 2021-01-14 15:52:08 +01:00
gpencil_modifiers Gpencil Noise - Add noise offset parameter 2021-01-14 22:25:36 +01:00
gpu GPU: Remove Limited Support AMD Polaris 2021-01-12 13:54:50 +01:00
ikplugin Cleanup: spelling (use 'gimbal' instead of 'gimble') 2021-01-04 17:38:07 +11:00
imbuf Use mmap() IO for reading uncompressed .blends 2021-01-14 22:03:29 +01:00
io Cleanup: remove redundant struct declarations 2020-12-16 16:25:56 +11:00
makesdna Tracking: Re-write marker request function 2021-01-18 16:38:40 +01:00
makesrna Merge branch 'blender-v2.92-release' 2021-01-18 15:02:24 +01:00
modifiers MeshCache: add error handling to `fread()` calls 2021-01-14 11:38:14 +01:00
nodes Merge branch 'blender-v2.92-release' 2021-01-16 13:11:33 -06:00
python Bmesh: Deprecate deform parameter of from_object() 2021-01-14 12:20:46 +02:00
render Cleanup: use bool arguments & variables 2021-01-09 19:07:14 +11:00
sequencer Cleanup: spelling 2021-01-13 13:21:29 +11:00
shader_fx Fix T83696: Add Additional menu to Effects panel 2020-12-14 10:25:37 +01:00
simulation Cleanup: reduce indirect DNA header inclusion 2020-12-15 12:34:14 +11:00
windowmanager UI Code Quality: Use "params" struct for area and region callbacks 2021-01-18 17:28:47 -06:00
CMakeLists.txt Asset System: Data-block asset metadata storage, reading and API 2020-12-15 17:03:00 +01:00