X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=gtk2_ardour%2Fsplash.h;h=109b68a8be2c7507ffb42d9d326eda740a0df0be;hb=9bfe404b4e9f5bc1bbe11b4ef6fd9778a362d04c;hp=56e159ebde46e9e825d4969c78017db2b0d0d0bd;hpb=aae367b63c9b619db1e40f27dc334c6987219481;p=ardour.git diff --git a/gtk2_ardour/splash.h b/gtk2_ardour/splash.h index 56e159ebde..109b68a8be 100644 --- a/gtk2_ardour/splash.h +++ b/gtk2_ardour/splash.h @@ -32,21 +32,24 @@ class ARDOUR_UI; class Splash : public Gtk::Window { - public: +public: Splash (); - ~Splash () {} + ~Splash (); static Splash* instance() { return the_splash; } - void pop_back (); + void display (); + void pop_back_for (Gtk::Window&); + void pop_front (); bool expose (GdkEventExpose*); bool on_button_release_event (GdkEventButton*); void on_realize (); - + bool on_map_event (GdkEventAny*); void message (const std::string& msg); + void hide (); - private: +private: static Splash* the_splash; Glib::RefPtr pixbuf; @@ -55,6 +58,11 @@ class Splash : public Gtk::Window void boot_message (std::string); PBD::ScopedConnection msg_connection; + + sigc::connection idle_connection; + volatile bool expose_done; + bool expose_is_the_one; + bool idle_after_expose (); }; #endif /* __ardour_gtk_splash_h__ */