Blender Git Commit Log

Git Commits -> Revision 1a354bd

Revision 1a354bd by Joshua Leung (master)
December 1, 2008, 11:37 (GMT)
View2D - Zoom + More Scrollbar work

* Added basic (non-modal) zoom operators that use a uniform scale factor, with zoom centered using the view center as scaling point. Use Scrollwheel up/down and Pad +/- to use this.

* Added back the 'button'/bubble for the scrollbars. I've added dark lines on either end of it for some later work on zooming widgets.
This is not the final form they'll take. I still need to decide how to handle those scrollbars which act as grid-markers too (showing timescale, etc.), before trying to integrate that with some fancy scrollbar drawing (rounded, etc.)

Assorted changes:
* Moved vertical scrollbar for Outliner to right hand side
* Made Timeline use standard scrollbars, and turned on various clamping options
* Fixed ortho-matrix corrections for scrollbars, and added pixel offsets
* Made Timeline markers sit more snugly on the scrollbar. They were a bit far out...
* Fixed memory leak with view2d keymaps not being freed when Blender exited

Commit Details:

Full Hash: 1a354bd31097729b3e19b0a4786fcc7248c10ad2
SVN Revision: 17662
Parent Commit: 3ff7c28
Lines Changed: +293, -44

10 Modified Paths:

/source/blender/blenloader/intern/readfile.c (+16, -2) (Diff)
/source/blender/editors/include/UI_view2d.h (+1, -1) (Diff)
/source/blender/editors/interface/view2d.c (+81, -18) (Diff)
/source/blender/editors/interface/view2d_ops.c (+167, -5) (Diff)
/source/blender/editors/space_outliner/space_outliner.c (+4, -3) (Diff)
/source/blender/editors/space_time/ed_markers.c (+1, -1) (Diff)
/source/blender/editors/space_time/space_time.c (+4, -2) (Diff)
/source/blender/makesdna/DNA_screen_types.h (+0, -12) (Diff)
/source/blender/makesdna/DNA_view2d_types.h (+18, -0) (Diff)
/source/blender/windowmanager/intern/wm.c (+1, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021