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:
authorTon Roosendaal <ton@blender.org>2003-10-05 00:35:50 +0400
committerTon Roosendaal <ton@blender.org>2003-10-05 00:35:50 +0400
commit842bb449c57fc95d7590574cc5d15753459bffe4 (patch)
tree8ea0722c505073b031c30705f7e19fd84ffbe072 /source/blender/src/drawseq.c
parentc355aa06a8d4a921c29188081735b29722009416 (diff)
huge commit, sorry!
this is part 1 of the UI makeover. It has: - menu system from Matt integrated - buttons drawing from Matt - generic button panel system implemented - converted displaybuttons (not the rest yet) - cleaned up a lot in drawing spaces itself, to make it aligned and pixel exact. - cleaned loads of little compiler warnings, protos... still a lot of work needed, will all be in next week i hope! (warn: 2 new c files! butspace.c and buttons_scene.c)
Diffstat (limited to 'source/blender/src/drawseq.c')
-rw-r--r--source/blender/src/drawseq.c11
1 files changed, 5 insertions, 6 deletions
diff --git a/source/blender/src/drawseq.c b/source/blender/src/drawseq.c
index bba768a894b..76371a52e6d 100644
--- a/source/blender/src/drawseq.c
+++ b/source/blender/src/drawseq.c
@@ -642,18 +642,17 @@ void drawseqspace(ScrArea *sa, void *spacedata)
/* restore viewport */
mywinset(curarea->win);
+ /* ortho at pixel level curarea */
+ myortho2(-0.5, curarea->winx-0.5, -0.5, curarea->winy-0.5);
+
if(curarea->winx>SCROLLB+10 && curarea->winy>SCROLLH+10) {
-
- /* ortho at pixel level curarea */
- myortho2(-0.5, curarea->winx+0.5, -0.5, curarea->winy+0.5);
-
if(G.v2d->scroll) {
drawscroll(0);
}
-
-
}
+ draw_area_emboss(sa);
+
curarea->win_swap= WIN_BACK_OK;
}