Revert the "Message:" background

This commit is contained in:
Isaac Clerencia Perez 2004-11-14 23:59:21 +00:00
parent b67f6a070a
commit d450fd3c65

View file

@ -2524,13 +2524,11 @@ void turn_info::create_textbox(floating_textbox::MODE mode, const std::string& l
const SDL_Rect& area = gui_.map_area();
const SDL_Color textbox_bg = {0,0,0,140};
const int border_size = 10;
const int ypos = area.y+area.h-30 - (textbox_.check != NULL ? textbox_.check->height() + border_size : 0);
textbox_.label = font::add_floating_label(label,font::SIZE_NORMAL,font::YELLOW_COLOUR,area.x+border_size,ypos,0,0,-1,
area,font::LEFT_ALIGN, &textbox_bg);
area,font::LEFT_ALIGN);
if(textbox_.label == 0) {
return;
}