X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=synfig-studio%2Ftags%2Fstable%2Fsrc%2Fgtkmm%2Fabout.h;h=3be68be674bf421dd70a0d4f44e26b8ddcc34f46;hb=47fce282611fbba1044921d22ca887f9b53ad91a;hp=2af5ceb2038d2b9d4779457f1e7e23bd3d5d9803;hpb=f6184c2a9c2245aae802c31c8f3300e1b744359c;p=synfig.git diff --git a/synfig-studio/tags/stable/src/gtkmm/about.h b/synfig-studio/tags/stable/src/gtkmm/about.h index 2af5ceb..3be68be 100644 --- a/synfig-studio/tags/stable/src/gtkmm/about.h +++ b/synfig-studio/tags/stable/src/gtkmm/about.h @@ -1,11 +1,11 @@ /* === S Y N F I G ========================================================= */ /*! \file about.h -** \brief Header File +** \brief About dialog class ** ** $Id$ ** ** \legal -** Copyright (c) 2002-2005 Robert B. Quattlebaum Jr., Adrian Bentley +** Copyright (c) 2008 Paul Wise ** ** This package is free software; you can redistribute it and/or ** modify it under the terms of the GNU General Public License as @@ -17,10 +17,8 @@ ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ** General Public License for more details. ** \endlegal -** -** === N O T E S =========================================================== -** -** ========================================================================= */ +*/ +/* ========================================================================= */ /* === S T A R T =========================================================== */ @@ -29,12 +27,7 @@ /* === H E A D E R S ======================================================= */ -//#include -#include -#include -#include -#include -#include +#include /* === M A C R O S ========================================================= */ @@ -42,39 +35,20 @@ /* === C L A S S E S & S T R U C T S ======================================= */ -namespace synfig { class ProgressCallback; }; +# namespace studio { -class AboutProgress; - -class About : public Gtk::Window +class About : public Gtk::AboutDialog { - friend class AboutProgress; - - AboutProgress *cb; - - Gtk::Tooltips _tooltips; - - Gtk::Label *tasklabel; - Gtk::ProgressBar *progressbar; - Gtk::Button *CloseButton; - - void close(); - - bool can_self_destruct; - public: - synfig::ProgressCallback *get_callback(); - - void set_can_self_destruct(bool x); - About(); - ~About(); + void close(int); + void on_link_clicked(Gtk::AboutDialog&, const Glib::ustring &url); }; - -} + +}; // END of namespace studio /* === E N D =============================================================== */