info_box for renderer

This commit is contained in:
Simon 2011-04-12 12:51:43 +01:00
parent 664b578d13
commit f20bedd3de

View File

@ -774,7 +774,9 @@ void info_box(pixel *vid_buf, char *msg)
clearrect(vid_buf, x0-2, y0-2, w+4, 28); clearrect(vid_buf, x0-2, y0-2, w+4, 28);
drawrect(vid_buf, x0, y0, w, 24, 192, 192, 192, 255); drawrect(vid_buf, x0, y0, w, 24, 192, 192, 192, 255);
drawtext(vid_buf, x0+8, y0+8, msg, 192, 192, 240, 255); drawtext(vid_buf, x0+8, y0+8, msg, 192, 192, 240, 255);
#ifndef RENDERER
sdl_blit(0, 0, (XRES+BARSIZE), YRES+MENUSIZE, vid_buf, (XRES+BARSIZE)); sdl_blit(0, 0, (XRES+BARSIZE), YRES+MENUSIZE, vid_buf, (XRES+BARSIZE));
#endif
} }
void copytext_ui(pixel *vid_buf, char *top, char *txt, char *copytxt) void copytext_ui(pixel *vid_buf, char *top, char *txt, char *copytxt)