X-Git-Url: https://git.cinelerra-gg.org/git/?a=blobdiff_plain;f=cinelerra-5.1%2Fcinelerra%2Fvwindowgui.C;h=062989a2523de2ed498ae69db891f6d4b36f15c6;hb=78871039cd6acf5ec257bd8c8e94c83ef81dc45a;hp=bec67dc89c7c9b888678f71d8c51c6908541360e;hpb=620f70a943c1f47880ec68a908aa03bf463e741f;p=goodguy%2Fcinelerra.git diff --git a/cinelerra-5.1/cinelerra/vwindowgui.C b/cinelerra-5.1/cinelerra/vwindowgui.C index bec67dc8..062989a2 100644 --- a/cinelerra-5.1/cinelerra/vwindowgui.C +++ b/cinelerra-5.1/cinelerra/vwindowgui.C @@ -31,6 +31,7 @@ #include "edl.h" #include "edlsession.h" #include "filesystem.h" +#include "file.h" #include "filexml.h" #include "fonts.h" #include "keys.h" @@ -241,8 +242,18 @@ void VWindowGUI::create_objects() canvas = new VWindowCanvas(mwindow, this); canvas->create_objects(mwindow->edl); canvas->use_vwindow(); - - + char vsplash_path[BCTEXTLEN]; + int vsplash_len = sizeof(vsplash_path)-1; + snprintf(vsplash_path, vsplash_len, "%s/vsplash.png", File::get_cindat_path()); + VFrame *vsplash = VFramePng::vframe_png(vsplash_path); + if( vsplash ) { + BC_WindowBase *vcanvas = canvas->get_canvas(); + vcanvas->draw_vframe(vsplash, + 0,0, vcanvas->get_w(), vcanvas->get_h(), + 0,0, vsplash->get_w(), vsplash->get_h(), 0); + vcanvas->flash(1); + delete vsplash; + } //printf("VWindowGUI::create_objects 1\n"); add_subwindow(timebar = new VTimeBar(mwindow, this,