Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoshua Leung <aligorith@gmail.com>2008-12-06 12:25:42 +0300
committerJoshua Leung <aligorith@gmail.com>2008-12-06 12:25:42 +0300
commitafb45ae7cf67d18c2749a172c2a4ec5d57ce8003 (patch)
tree989660478ca582a862216a00bcf4f4bf40772075 /source/blender/editors/include/UI_view2d.h
parent8a04f039adc852644bbdc8231353cce215692874 (diff)
View2D: Code cleanup - UI_view2d_status_enforce()
This commit *should* bring UI_view2d_status_enforce() (formerly known in pre 2.5 as test_view2d) under control again. I've attempted to reduce the amount of duplicated code here, so hopefully there won't be any nasty bugs that will show up in some of the other views when they are ported. Summary of changes: * Restored V2D_KEEPZOOM flag which I had previously removed, having misunderstood its function. * Fixed bugs with resizing Outliner window * Outliner width is now columns + 1 again. Documented reasons for this (otherwise, stuff gets covered by scrollbars, but we cannot see it)
Diffstat (limited to 'source/blender/editors/include/UI_view2d.h')
-rw-r--r--source/blender/editors/include/UI_view2d.h2
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 02cf4b1f4cc..c2c52c2d190 100644
--- a/source/blender/editors/include/UI_view2d.h
+++ b/source/blender/editors/include/UI_view2d.h
@@ -85,7 +85,7 @@ typedef struct View2DScrollers View2DScrollers;
/* refresh and validation (of view rects) */
// XXX rename these...
void UI_view2d_size_update(struct View2D *v2d, int winx, int winy);
-void UI_view2d_status_enforce(struct View2D *v2d, int winx, int winy);
+void UI_view2d_status_enforce(struct View2D *v2d);
void UI_view2d_totRect_set(struct View2D *v2d, int width, int height);
void UI_view2d_curRect_reset(struct View2D *v2d);