Blender Git Commit Log
Git Commits -> Revision 612ac59
Revision 612ac59 by Julian Eisel (soc-2021-porting-modifiers-to-nodes-decimate, soc-2021-porting-modifiers-to-nodes_all) July 30, 2021, 14:51 (GMT) |
UI: Support defining UI lists in C So far all UI lists had to be defined in Python, this makes it possible to define them in C as well. Note that there is a whole bunch of special handling for the Python API that isn't there for C. I think most importantly custom properties support, which currently can't be added for C defined UI lists. The upcoming asset view UI template will use this, which needs to be defined in C. Adds a new file `interface_template_list.cc`, which at this point is mostly a dummy to have a place for the `ED_uilisttypes_ui()` definition. I plan a separate cleanup to move the UI-list template to that file. |
Commit Details:
Full Hash: 612ac59fc98bf9aadd761d59caa2a0e900cf9cb7
Parent Commit: 33d4953
Committed By: Fabian Schempp
Lines Changed: +95, -5
1 Added Path:
/source/blender/editors/interface/interface_template_list.cc (+27, -0) (View)
7 Modified Paths:
/source/blender/editors/include/UI_interface.h (+1, -0) (Diff)
/source/blender/editors/interface/CMakeLists.txt (+1, -0) (Diff)
/source/blender/editors/space_api/spacetypes.c (+2, -0) (Diff)
/source/blender/makesrna/intern/rna_ui.c (+2, -2) (Diff)
/source/blender/windowmanager/intern/wm_init_exit.c (+2, -1) (Diff)
/source/blender/windowmanager/intern/wm_uilist_type.c (+59, -1) (Diff)
/source/blender/windowmanager/WM_api.h (+1, -1) (Diff)
/source/blender/editors/interface/CMakeLists.txt (+1, -0) (Diff)
/source/blender/editors/space_api/spacetypes.c (+2, -0) (Diff)
/source/blender/makesrna/intern/rna_ui.c (+2, -2) (Diff)
/source/blender/windowmanager/intern/wm_init_exit.c (+2, -1) (Diff)
/source/blender/windowmanager/intern/wm_uilist_type.c (+59, -1) (Diff)
/source/blender/windowmanager/WM_api.h (+1, -1) (Diff)