Blender Git Loki

Git Commits -> Revision 5a0896e

Revision 5a0896e by Ton Roosendaal (master)
July 2, 2009, 18:12 (GMT)
2.5

Cleanup of scroller drawing in 2D windows.

Before:
http://download.blender.org/institute/rt11.jpg
After:
http://download.blender.org/institute/rt12.jpg

Will add 'zoom' widget circles later, as mockupped here:
http://www.reynish.com/files/blender25/fcurve_scrollbar.png

Also note the scale values are inside scroller; drawing it
on top conflicts with current frame item and markers.

Currently scroller disappear entirely when view is total.

For Joshua:
To make sliders behave nicely, the boundbox (v2d->tot) has to
be refreshed on each change. I've added it in graph drawing
now, but it could be notifier based I guess... not sure what
the correct anim api call would be. Can discuss tomorrow!

On todo:
Layout config hints so people can make scroller positions swap.


Commit Details:

Full Hash: 5a0896e1a3c7f17abd37e3d818585fde8e80ff6d
SVN Revision: 21321
Parent Commit: aefa7b6
Lines Changed: +221, -236

13 Modified Paths:

/source/blender/blenfont/BLF_api.h (+5, -0) (Diff)
/source/blender/blenfont/intern/blf.c (+13, -0) (Diff)
/source/blender/editors/animation/anim_draw.c (+1, -1) (Diff)
/source/blender/editors/include/UI_view2d.h (+3, -3) (Diff)
/source/blender/editors/interface/interface_intern.h (+1, -0) (Diff)
/source/blender/editors/interface/interface_panel.c (+1, -1) (Diff)
/source/blender/editors/interface/interface_widgets.c (+55, -36) (Diff)
/source/blender/editors/interface/view2d.c (+115, -192) (Diff)
/source/blender/editors/interface/view2d_ops.c (+14, -1) (Diff)
/source/blender/editors/space_graph/graph_edit.c (+3, -2) (Diff)
/source/blender/editors/space_graph/graph_intern.h (+2, -0) (Diff)
/source/blender/editors/space_graph/space_graph.c (+4, -0) (Diff)
/source/blender/makesdna/DNA_view2d_types.h (+4, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021