Blender Git Loki
Git Commits -> Revision 54a4c1c
Revision 54a4c1c by Campbell Barton (master) January 4, 2019, 00:00 (GMT) |
UI: refactor layout vars out of uiFontStyle Word wrap and alignment layout args only used by UI_fontstyle_draw were vars in uiFontStyle. These were written to before drawing, so better pass as an argument. Pass uiFontStyle & uiWidgetColors as const args. |
Commit Details:
Full Hash: 54a4c1cf359c369c8fc16ecf0ecaa92e6f650e2f
Parent Commit: 4431c58
Lines Changed: +122, -100
10 Modified Paths:
/source/blender/editors/include/UI_interface.h (+18, -5) (Diff)
/source/blender/editors/interface/interface_draw.c (+9, -9) (Diff)
/source/blender/editors/interface/interface_intern.h (+12, -12) (Diff)
/source/blender/editors/interface/interface_panel.c (+3, -1) (Diff)
/source/blender/editors/interface/interface_region_search.c (+0, -1) (Diff)
/source/blender/editors/interface/interface_region_tooltip.c (+19, -15) (Diff)
/source/blender/editors/interface/interface_style.c (+10, -7) (Diff)
/source/blender/editors/interface/interface_widgets.c (+44, -33) (Diff)
/source/blender/editors/space_file/file_draw.c (+7, -6) (Diff)
/source/blender/makesdna/DNA_userdef_types.h (+0, -11) (Diff)
/source/blender/editors/interface/interface_draw.c (+9, -9) (Diff)
/source/blender/editors/interface/interface_intern.h (+12, -12) (Diff)
/source/blender/editors/interface/interface_panel.c (+3, -1) (Diff)
/source/blender/editors/interface/interface_region_search.c (+0, -1) (Diff)
/source/blender/editors/interface/interface_region_tooltip.c (+19, -15) (Diff)
/source/blender/editors/interface/interface_style.c (+10, -7) (Diff)
/source/blender/editors/interface/interface_widgets.c (+44, -33) (Diff)
/source/blender/editors/space_file/file_draw.c (+7, -6) (Diff)
/source/blender/makesdna/DNA_userdef_types.h (+0, -11) (Diff)