Blender Git Loki
Git Commits -> Revision 5ccb47a
Revision 5ccb47a by Julian Eisel (asset-browser, asset-browser-poselib, asset-system-filelist, temp-pose-flipping-fix-attempt, ui-asset-view-template) March 4, 2021, 14:57 (GMT) |
Add own button/widget type for the asset previews The new button type (UI_BTYPE_PREVIEW_TILE) shows the items similar to the Asset Browser, or the File Browser in thumbnail display mode. That is, previews bigger than normal buttons, with the name drawn centered below it. Would be nice if the File/Asset Browser and preview templates could adopt that new button type, so that there's no ad-hoc drawing for these anymore. That's for a future cleanup though. |
Commit Details:
Full Hash: 5ccb47a97e70fcba9bc6291e30e2b7201fd6781c
Parent Commit: 9a6c22a
Lines Changed: +94, -36
6 Modified Paths:
/source/blender/editors/include/UI_interface.h (+3, -0) (Diff)
/source/blender/editors/interface/interface_handlers.c (+1, -0) (Diff)
/source/blender/editors/interface/interface_intern.h (+12, -2) (Diff)
/source/blender/editors/interface/interface_region_search.c (+6, -2) (Diff)
/source/blender/editors/interface/interface_template_asset_view.cc (+15, -14) (Diff)
/source/blender/editors/interface/interface_widgets.c (+57, -18) (Diff)
/source/blender/editors/interface/interface_handlers.c (+1, -0) (Diff)
/source/blender/editors/interface/interface_intern.h (+12, -2) (Diff)
/source/blender/editors/interface/interface_region_search.c (+6, -2) (Diff)
/source/blender/editors/interface/interface_template_asset_view.cc (+15, -14) (Diff)
/source/blender/editors/interface/interface_widgets.c (+57, -18) (Diff)