- 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:
2003-10-26 21:09:33 +00:00
parent f0f851d963
commit 0311189fb8
2 changed files with 15 additions and 10 deletions

View File

@@ -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);

View File

@@ -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)