From 2312f2adbed4849785c7b7ece074388fc296c776 Mon Sep 17 00:00:00 2001 From: Patrick Parker Date: Thu, 22 Mar 2007 23:34:29 +0000 Subject: [PATCH] don't draw the dialog-style edges for the credits screen --- src/about.cpp | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/src/about.cpp b/src/about.cpp index b856d859be3..6fd8805c9cd 100644 --- a/src/about.cpp +++ b/src/about.cpp @@ -222,8 +222,13 @@ void show_about(display &disp, std::string campaign) SDL_BlitSurface(map_image,&middle_src,video.getSurface(),&middle_dest); std::string style = "mainmenu"; - - gui::draw_dialog_frame(map_rect.x + map_rect.w * 3/32, map_rect.y + top_margin, map_rect.w * 13 / 16, map_rect.h - top_margin - bottom_margin,disp.video(),&style); + SDL_Rect frame = { + map_rect.x + map_rect.w * 3/32, + map_rect.y + top_margin, + map_rect.w * 13 / 16, + map_rect.h - top_margin - bottom_margin + }; + gui::draw_dialog_background(frame.x, frame.y, frame.w, frame.h,disp.video(),style); // draw one screen full of text const int line_spacing = 5; int y = map_rect.y + top_margin - offset;