diff options
author | Joshua Leung <aligorith@gmail.com> | 2008-12-04 08:37:55 +0300 |
---|---|---|
committer | Joshua Leung <aligorith@gmail.com> | 2008-12-04 08:37:55 +0300 |
commit | 6fe9a03456b48fdb689c2432788afcf0149e9b3e (patch) | |
tree | 5ed02476c7a81a6e86742325746af414872a9636 /source/blender/editors/include/UI_view2d.h | |
parent | efe8ad86e30b23e4611292b219ebdea0037b5611 (diff) |
View2D: Scrollbar tweaks
* Added back vertical scale markings for vertical scrollbars. Currently untested (until IPO Editor can be put back in). Also, there was a special exception for the Sequencer, which will need to be checked when the time comes too.
* Fixed the display of frame numbers in scrollbars. Was caused by error in using an int, where a float was required (this is one place MSVC gives better warnings than GCC).
* Outliner horizontal scrollbar now displays a more useful range. The previous range was based on screen width, not width of content.
* Outliner horizontal scrollbar now draws with bevel-highlight line again. Was missed out in a previous commit.
* Added simple toggle Frames/Seconds operator to TimeLine to test if the View2D code is working right for this. This uses the same hotkey (TKEY) as it's counterpart (with a menu for input) did in previous incarnations of Blender.
Diffstat (limited to 'source/blender/editors/include/UI_view2d.h')
-rw-r--r-- | source/blender/editors/include/UI_view2d.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/include/UI_view2d.h b/source/blender/editors/include/UI_view2d.h index b627c8061ba..07fc4e98519 100644 --- a/source/blender/editors/include/UI_view2d.h +++ b/source/blender/editors/include/UI_view2d.h @@ -97,7 +97,7 @@ void UI_view2d_free_grid(View2DGrid *grid); /* scrollbar drawing */ View2DScrollers *UI_view2d_calc_scrollers(const struct bContext *C, struct View2D *v2d, short xunits, short xclamp, short yunits, short yclamp); -void UI_view2d_draw_scrollers(const struct bContext *C, struct View2D *v2d, View2DScrollers *scrollers, int flag); +void UI_view2d_draw_scrollers(const struct bContext *C, struct View2D *v2d, View2DScrollers *scrollers); void UI_view2d_free_scrollers(View2DScrollers *scrollers); /* coordinate conversion */ |