Drop the message-window opacity to 65 now that blurring is fixed.
BIN
images/dialogs/translucent65-background.png
Normal file
After Width: | Height: | Size: 219 B |
Before Width: | Height: | Size: 197 B After Width: | Height: | Size: 197 B |
Before Width: | Height: | Size: 204 B After Width: | Height: | Size: 204 B |
Before Width: | Height: | Size: 432 B After Width: | Height: | Size: 432 B |
Before Width: | Height: | Size: 461 B After Width: | Height: | Size: 461 B |
Before Width: | Height: | Size: 412 B After Width: | Height: | Size: 412 B |
Before Width: | Height: | Size: 339 B After Width: | Height: | Size: 339 B |
Before Width: | Height: | Size: 199 B After Width: | Height: | Size: 199 B |
Before Width: | Height: | Size: 188 B After Width: | Height: | Size: 188 B |
Before Width: | Height: | Size: 219 B |
|
@ -221,7 +221,7 @@ 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 = "translucent70";
|
||||
std::string style = "translucent65";
|
||||
SDL_Rect frame_area = {
|
||||
map_rect.x + map_rect.w * 3/32,
|
||||
map_rect.y + top_margin,
|
||||
|
|
|
@ -279,7 +279,7 @@ class message_dialog : public gui::dialog
|
|||
{
|
||||
public:
|
||||
message_dialog(display &disp, const std::string& title="", const std::string& message="", const gui::DIALOG_TYPE type=gui::MESSAGE)
|
||||
: dialog(disp, title, message, type, "translucent70"), prevent_misclick_until_(0)
|
||||
: dialog(disp, title, message, type, "translucent65"), prevent_misclick_until_(0)
|
||||
{}
|
||||
~message_dialog();
|
||||
int show(msecs minimum_lifetime = three_blinks);
|
||||
|
|
|
@ -854,7 +854,7 @@ void campaign_preview_pane::draw_contents()
|
|||
location().h-campaign_preview_border*6 };
|
||||
|
||||
/* background frame */
|
||||
static const std::string default_style("translucent70");
|
||||
static const std::string default_style("translucent65");
|
||||
const std::string* style = &default_style;
|
||||
gui::dialog_frame f(video(), "", style);
|
||||
f.layout(area);
|
||||
|
|