X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=gtk2_ardour%2Fsplash.h;h=56e159ebde46e9e825d4969c78017db2b0d0d0bd;hb=3aa7dacfdf214f0db9330d975e94b7697a0259eb;hp=3ef717d08df86ed1254283bc7721a0cea4b3207c;hpb=4ca1fe7993adf63ea3f35958f63dd20ee546e7ae;p=ardour.git diff --git a/gtk2_ardour/splash.h b/gtk2_ardour/splash.h index 3ef717d08d..56e159ebde 100644 --- a/gtk2_ardour/splash.h +++ b/gtk2_ardour/splash.h @@ -1,5 +1,5 @@ /* - Copyright (C) 2008 Paul Davis + Copyright (C) 2008 Paul Davis This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -21,8 +21,13 @@ #define __ardour_gtk_splash_h__ #include +#include +#include +#include #include +#include "pbd/signals.h" + class ARDOUR_UI; class Splash : public Gtk::Window @@ -31,11 +36,25 @@ class Splash : public Gtk::Window Splash (); ~Splash () {} - bool on_expose_event (GdkEventExpose*); + static Splash* instance() { return the_splash; } + + void pop_back (); + + bool expose (GdkEventExpose*); bool on_button_release_event (GdkEventButton*); + void on_realize (); + + void message (const std::string& msg); private: + static Splash* the_splash; + Glib::RefPtr pixbuf; -}; + Gtk::DrawingArea darea; + Glib::RefPtr layout; + + void boot_message (std::string); + PBD::ScopedConnection msg_connection; +}; #endif /* __ardour_gtk_splash_h__ */