Passepartout function hides camera name (show name).
Now it uses the Text-Highlighted theme colour instead.
This commit is contained in:
Joshua Leung 2007-07-15 04:35:56 +00:00
parent b34f1eeff6
commit bc9e6f9731

@ -1017,11 +1017,13 @@ static void drawviewborder(void)
BIF_ThemeColor(TH_WIRE);
glRectf(x1, y1, x2, y2);
/* camera name */
/* camera name - draw in highlighted text colour */
if (ca && (ca->flag & CAM_SHOWNAME)) {
glRasterPos2f(x1, y1-15);
BIF_ThemeColor(TH_TEXT_HI);
BMF_DrawString(G.font, G.vd->camera->id.name+2);
BIF_ThemeColor(TH_WIRE);
}