Blender Git Loki
Git Commits -> Revision 7f0b122
Revision 7f0b122 by Jacques Lucke (master) April 30, 2019, 12:10 (GMT) |
Refactor: Separate scrollers from text drawing in API This is a continuation of rB7fdffd735ff24, where I separated the e.g. frame number drawing from scrollers internally. This patch changes the API, so that space draw handlers have to draw these numbers explicitely. This greatly simplifies the scrollers API for all spaces that just need scrollers without any frame numbers. Reviewers: campbellbarton Differential Revision: https://developer.blender.org/D4747 |
Commit Details:
Full Hash: 7f0b122b668621013afa2950558cb5468bb1b71b
Parent Commit: 2445d5a
Lines Changed: +67, -127
15 Modified Paths:
/source/blender/editors/include/UI_view2d.h (+2, -10) (Diff)
/source/blender/editors/interface/view2d.c (+3, -56) (Diff)
/source/blender/editors/interface/view2d_ops.c (+1, -2) (Diff)
/source/blender/editors/screen/area.c (+2, -3) (Diff)
/source/blender/editors/space_action/space_action.c (+6, -4) (Diff)
/source/blender/editors/space_clip/space_clip.c (+17, -10) (Diff)
/source/blender/editors/space_console/space_console.c (+2, -3) (Diff)
/source/blender/editors/space_file/space_file.c (+2, -3) (Diff)
/source/blender/editors/space_graph/space_graph.c (+9, -9) (Diff)
/source/blender/editors/space_image/space_image.c (+0, -8) (Diff)
/source/blender/editors/space_info/space_info.c (+2, -3) (Diff)
/source/blender/editors/space_nla/space_nla.c (+8, -7) (Diff)
/source/blender/editors/space_node/node_draw.c (+2, -3) (Diff)
/source/blender/editors/space_outliner/space_outliner.c (+2, -3) (Diff)
/source/blender/editors/space_sequencer/sequencer_draw.c (+9, -3) (Diff)
/source/blender/editors/interface/view2d.c (+3, -56) (Diff)
/source/blender/editors/interface/view2d_ops.c (+1, -2) (Diff)
/source/blender/editors/screen/area.c (+2, -3) (Diff)
/source/blender/editors/space_action/space_action.c (+6, -4) (Diff)
/source/blender/editors/space_clip/space_clip.c (+17, -10) (Diff)
/source/blender/editors/space_console/space_console.c (+2, -3) (Diff)
/source/blender/editors/space_file/space_file.c (+2, -3) (Diff)
/source/blender/editors/space_graph/space_graph.c (+9, -9) (Diff)
/source/blender/editors/space_image/space_image.c (+0, -8) (Diff)
/source/blender/editors/space_info/space_info.c (+2, -3) (Diff)
/source/blender/editors/space_nla/space_nla.c (+8, -7) (Diff)
/source/blender/editors/space_node/node_draw.c (+2, -3) (Diff)
/source/blender/editors/space_outliner/space_outliner.c (+2, -3) (Diff)
/source/blender/editors/space_sequencer/sequencer_draw.c (+9, -3) (Diff)