- fixed printing in headers (during modes) for when there is no header...
(uhh.. i mean, then it doesnt print!) - put back axis icon of 3d win to left/bottom corner. it was only moved for tests with an extended header to the left...
This commit is contained in:
@@ -923,7 +923,7 @@ static void draw_view_icon(void)
|
||||
glEnable(GL_BLEND);
|
||||
glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);
|
||||
|
||||
glRasterPos2f(curarea->winx-25.0, 5.0);
|
||||
glRasterPos2f(5.0, 5.0);
|
||||
BIF_draw_icon(icon);
|
||||
|
||||
glBlendFunc(GL_ONE, GL_ZERO);
|
||||
|
||||
@@ -3579,15 +3579,20 @@ void compatible_eul(float *eul, float *oldrot)
|
||||
|
||||
void headerprint(char *str)
|
||||
{
|
||||
areawinset(curarea->headwin);
|
||||
|
||||
headerbox(curarea);
|
||||
cpack(0x0);
|
||||
glRasterPos2i(20+curarea->headbutofs, 6);
|
||||
BMF_DrawString(G.font, str);
|
||||
|
||||
curarea->head_swap= WIN_BACK_OK;
|
||||
areawinset(curarea->win);
|
||||
if(curarea->headertype) {
|
||||
areawinset(curarea->headwin);
|
||||
|
||||
headerbox(curarea);
|
||||
cpack(0x0);
|
||||
glRasterPos2i(20+curarea->headbutofs, 6);
|
||||
BMF_DrawString(G.font, str);
|
||||
|
||||
curarea->head_swap= WIN_BACK_OK;
|
||||
areawinset(curarea->win);
|
||||
}
|
||||
else {
|
||||
// dunno... thats for later (ton)
|
||||
}
|
||||
}
|
||||
|
||||
void add_ipo_tob_poin(float *poin, float *old, float delta)
|
||||
|
||||
Reference in New Issue
Block a user