X-Git-Url: https://git.pterodactylus.net/?p=synfig.git;a=blobdiff_plain;f=synfig-studio%2Fsrc%2Fgui%2Fsplash.cpp;h=d02e202d583129dd7ab73a7a42ae1d0a0f0f6f0e;hp=d952fd11f74df066f7da027733171b3b0ccfdb3a;hb=8463caf8ebf84825997a120eb137cf1b910c9ac9;hpb=71401f7eb74298e6f97f58d405234ee14715fcef diff --git a/synfig-studio/src/gui/splash.cpp b/synfig-studio/src/gui/splash.cpp index d952fd1..d02e202 100644 --- a/synfig-studio/src/gui/splash.cpp +++ b/synfig-studio/src/gui/splash.cpp @@ -178,6 +178,7 @@ Splash::Splash(): // Create the splash image Gtk::Image* splash_image = manage(new class Gtk::Image()); + /* Dual-splash code: srand(time(NULL)); const float ran = rand()/float(RAND_MAX); int number = 1; @@ -185,6 +186,8 @@ Splash::Splash(): number = 2; //synfig::info("%s", strprintf("%d",number).c_str()); splash_image->set(imagepath+"splash_screen"+strprintf("%d",number)+"."IMAGE_EXT); + */ + splash_image->set(imagepath+"splash_screen."IMAGE_EXT); splash_image->set_alignment(0.5,0.5); splash_image->set_padding(0,0);