X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=synfig-studio%2Ftrunk%2Fsrc%2Fgtkmm%2Fabout.h;h=f00a7731136ec12ed402ba668cb975d5bd5110b2;hb=9459638ad6797b8139f1e9f0715c96076dbf0890;hp=9aa3e6415de814de82156643c996c8bb6f821720;hpb=1d004d8e5de5bb024ec40193df34651454d91501;p=synfig.git diff --git a/synfig-studio/trunk/src/gtkmm/about.h b/synfig-studio/trunk/src/gtkmm/about.h index 9aa3e64..f00a773 100644 --- a/synfig-studio/trunk/src/gtkmm/about.h +++ b/synfig-studio/trunk/src/gtkmm/about.h @@ -1,9 +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 @@ -14,10 +16,9 @@ ** but WITHOUT ANY WARRANTY; without even the implied warranty of ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ** General Public License for more details. -** -** === N O T E S =========================================================== -** -** ========================================================================= */ +** \endlegal +*/ +/* ========================================================================= */ /* === S T A R T =========================================================== */ @@ -26,12 +27,7 @@ /* === H E A D E R S ======================================================= */ -//#include -#include -#include -#include -#include -#include +#include /* === M A C R O S ========================================================= */ @@ -39,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 =============================================================== */