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)
This commit is contained in:
@@ -426,11 +426,12 @@ void drawoopsspace(ScrArea *sa, void *spacedata)
|
||||
mywinset(curarea->win);
|
||||
|
||||
|
||||
/* ortho at pixel level curarea */
|
||||
myortho2(-0.5, sa->winx-0.5, -0.5, sa->winy-0.5);
|
||||
if(G.v2d->scroll) {
|
||||
/* ortho at pixel level curarea */
|
||||
myortho2(-0.5, curarea->winx+0.5, -0.5, curarea->winy+0.5);
|
||||
drawscroll(0);
|
||||
}
|
||||
draw_area_emboss(sa);
|
||||
|
||||
uiDrawBlock(block);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user