View2D - Another WIP commit
authorJoshua Leung <aligorith@gmail.com>
Mon, 1 Dec 2008 00:20:19 +0000 (00:20 +0000)
committerJoshua Leung <aligorith@gmail.com>
Mon, 1 Dec 2008 00:20:19 +0000 (00:20 +0000)
commit70fd53b469e9cfa06dcabe99afffd565ff943bbd
tree82a076db03235a0ec8b5764463e6c2c4e0dd7df6
parent3f0d3e0a50da6920ade941d85d54a7b21e6f1154
View2D - Another WIP commit

* Start of basic scrollbar drawing. This will be improved. Only Outliner shows these for now, as although the Timeline should show them, the old files didn't have them turned on.

* Tidied up the view-panning operator
- Fixed naming convention
- Added user-adjustable properties (deltax, deltay in screenspace)

* Added ctrl-scrollwheel (horizontal) and shift-scrollwheel (vertical) scroll operators. These use the view-panning code too.
Unfortunately, I haven't been able to figure out why the WHEELMOUSEDOWN events don't seem to be triggering the operators!
source/blender/editors/include/UI_view2d.h
source/blender/editors/interface/view2d.c
source/blender/editors/interface/view2d_ops.c
source/blender/editors/space_outliner/space_outliner.c
source/blender/editors/space_time/space_time.c