mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-05 21:13:26 +00:00
test with using shading background for text in about.
This commit is contained in:
parent
7bae067320
commit
4a1a731560
@ -18,6 +18,7 @@
|
||||
#include "gettext.hpp"
|
||||
#include "marked-up_text.hpp"
|
||||
#include "video.hpp"
|
||||
#include "show_dialog.hpp"
|
||||
|
||||
namespace about
|
||||
{
|
||||
@ -267,7 +268,9 @@ void show_about(display &disp, std::string campaign)
|
||||
// draw map to screen, thus erasing all text
|
||||
|
||||
SDL_BlitSurface(map_image,&middle_src,video.getSurface(),&middle_dest);
|
||||
|
||||
std::string style = "mainmenu";
|
||||
|
||||
gui::draw_dialog_frame(map_rect.x, map_rect.y + top_margin, map_rect.w, map_rect.h - top_margin - bottom_margin,disp.video(),&style);
|
||||
// draw one screen full of text
|
||||
const int line_spacing = 5;
|
||||
int y = map_rect.y + top_margin - offset;
|
||||
|
Loading…
x
Reference in New Issue
Block a user