New splash-screen for 4.1

This commit is contained in:
DrSlony
2014-05-11 19:30:50 +02:00
parent 34e93ee636
commit 9477ded6c5
2 changed files with 3 additions and 2 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 70 KiB

After

Width:  |  Height:  |  Size: 69 KiB

View File

@@ -68,8 +68,9 @@ bool SplashImage::on_expose_event (GdkEventExpose* event) {
if (!versionSuffixString.empty())
versionStr += " "+versionSuffixString;
version = create_pango_layout (versionStr);
version->set_markup("<span foreground=\"white\">" + versionStr + "</span>");
version->get_pixel_size (w, h);
window->draw_layout(gc_, pixbuf->get_width() - w - 4, pixbuf->get_height() - h - 4, version);
window->draw_layout(gc_, pixbuf->get_width() - w - 32, pixbuf->get_height() - h - 20, version);
return true;
}