680
700
void drawbutspace(ScrArea *sa, void *spacedata)
682
703
SpaceButs *sbuts= sa->spacedata.first;
683
704
View2D *v2d= &sbuts->v2d;
687
712
myortho2(v2d->cur.xmin, v2d->cur.xmax, v2d->cur.ymin, v2d->cur.ymax);
689
714
BIF_GetThemeColor3fv(TH_BACK, col);
690
715
glClearColor(col[0], col[1], col[2], 0.0);
691
716
glClear(GL_COLOR_BUFFER_BIT);
694
719
uiFreeBlocksWin(&sa->uiblocks, sa->win);
696
721
/* select the context to be drawn, per contex/tab the actual context is tested */