Blender Git Loki

Git Commits -> Revision ffc0089

Revision ffc0089 by Joshua Leung (master)
December 14, 2008, 08:32 (GMT)
View2D: Cosmetic changes and bugfixes

* Scrollers now draw using nice rounded+shaded style everywhere

* When scrollers 'bubble' completely fills a scroller or is completely out of view, the view zooming using the handles is now only activated if the mouse is within a quarter of the total length of the scroller on either end of the scroller. Otherwise, pan is activated. This should make the scrollers more usable in anim editors.

* Fixed drawing of gridlines in TimeLine - needed to adjust ymin value of cur and tot rects to accomodate for the new mask/cur adjustments as old TimeLines didn't draw with 'real' scrollbars. Also, adjusted min/max values to fit these new tot/cur rect y-sizes.

* Tidying up vars and fixing errors in declaring new View2D types in preparation for simpler method of initialising views...

Commit Details:

Full Hash: ffc0089b7b8a9d067ce96c0d0ccde8f85fefb736
SVN Revision: 17829
Parent Commit: 213f300
Lines Changed: +273, -97

10 Modified Paths:

/source/blender/blenloader/intern/readfile.c (+6, -7) (Diff)
/source/blender/editors/interface/interface.h (+1, -0) (Diff)
/source/blender/editors/interface/interface_draw.c (+118, -13) (Diff)
/source/blender/editors/interface/view2d.c (+128, -58) (Diff)
/source/blender/editors/interface/view2d_ops.c (+9, -6) (Diff)
/source/blender/editors/space_buttons/space_buttons.c (+2, -3) (Diff)
/source/blender/editors/space_node/space_node.c (+1, -2) (Diff)
/source/blender/editors/space_outliner/space_outliner.c (+2, -4) (Diff)
/source/blender/editors/space_time/space_time.c (+4, -3) (Diff)
/source/blender/makesdna/DNA_view2d_types.h (+2, -1) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021