Blender Git Loki

Git Commits -> Revision 7a9f64e

Revision 7a9f64e by Brecht Van Lommel (master)
April 29, 2018, 20:11 (GMT)
UI: better support for dynamically sized regions in topbar.

Dynamically sized regions in the topbar were flickering due to only updating
their size after redraws. Now there is an optional layout() callback for
all regions in an area to do UI layout first, then refresh the region layout,
and then do the actual drawing for each region.

Task T54753

Commit Details:

Full Hash: 7a9f64e6657a231289f56b0a8c9949c8f7a23c59
Parent Commit: 0c512a6
Lines Changed: +153, -104

10 Modified Paths:

/source/blender/blenkernel/BKE_screen.h (+2, -2) (Diff)
/source/blender/editors/include/ED_screen.h (+4, -0) (Diff)
/source/blender/editors/include/UI_interface.h (+2, -0) (Diff)
/source/blender/editors/interface/interface.c (+46, -17) (Diff)
/source/blender/editors/interface/interface_region_popup.c (+1, -1) (Diff)
/source/blender/editors/screen/area.c (+77, -30) (Diff)
/source/blender/editors/screen/screen_edit.c (+0, -33) (Diff)
/source/blender/editors/space_topbar/space_topbar.c (+4, -12) (Diff)
/source/blender/makesdna/DNA_screen_types.h (+0, -5) (Diff)
/source/blender/windowmanager/intern/wm_draw.c (+17, -4) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021