X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=gtk2_ardour%2Fabout.h;h=3468a31a19e79ab27136504492116db44fe39e4d;hb=9ab70fb55284537228577d575f15aa03949bd678;hp=363bc57f336836b979112a560de66c42bd791455;hpb=209d967b1bb80a9735d690d8f4f0455ecb9970ca;p=ardour.git diff --git a/gtk2_ardour/about.h b/gtk2_ardour/about.h index 363bc57f33..3468a31a19 100644 --- a/gtk2_ardour/about.h +++ b/gtk2_ardour/about.h @@ -21,57 +21,18 @@ #ifndef __ardour_gtk_about_h__ #define __ardour_gtk_about_h__ -#include -#include -#include +#include class ARDOUR_UI; -class About : public Gtk::Window +class About : public Gtk::AboutDialog { public: - About (ARDOUR_UI *); + About (); ~About (); - void show_sub (bool yn); - - protected: - void realize_impl (); - - private: - Gtk::DrawingArea logo_area; - GdkPixmap* logo_pixmap; - Gtk::Label first_label; - Gtk::Label second_label; - Gtk::Label third_label; - Gtk::VBox vbox; - Gtk::VBox subvbox; - - vector authors; - vector supporters; - - uint32_t about_index; - uint32_t about_cnt; - int logo_height; - int logo_width; - bool drawn; - bool support; - ARDOUR_UI * _ui; - - SigC::Connection timeout_connection; - - bool load_logo_size (); - bool load_logo (Gtk::Window&); - gint logo_area_expose (GdkEventExpose*); - - gint button_release_event_impl (GdkEventButton*); - gint start_animating (); - void stop_animating (); - - void gone_hidden (); - #ifdef WITH_PAYMENT_OPTIONS - Gtk::Pixmap paypal_pixmap; + Gtk::Image paypal_pixmap; Gtk::Button paypal_button; void goto_paypal (); #endif