-/*! ========================================================================
-** Sinfg
-** Template Header File
-** $Id: about.h,v 1.1.1.1 2005/01/07 03:34:35 darco Exp $
+/* === S Y N F I G ========================================================= */
+/*! \file about.h
+** \brief About dialog class
**
-** Copyright (c) 2002 Robert B. Quattlebaum Jr.
+** $Id$
**
-** This software and associated documentation
-** are CONFIDENTIAL and PROPRIETARY property of
-** the above-mentioned copyright holder.
+** \legal
+** Copyright (c) 2008 Paul Wise
**
-** You may not copy, print, publish, or in any
-** other way distribute this software without
-** a prior written agreement with
-** the copyright holder.
+** This package is free software; you can redistribute it and/or
+** modify it under the terms of the GNU General Public License as
+** published by the Free Software Foundation; either version 2 of
+** the License, or (at your option) any later version.
**
-** === N O T E S ===========================================================
-**
-** ========================================================================= */
+** This package is distributed in the hope that it will be useful,
+** 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.
+** \endlegal
+*/
+/* ========================================================================= */
/* === S T A R T =========================================================== */
-#ifndef __SINFG_GTKMM_ABOUT_H
-#define __SINFG_GTKMM_ABOUT_H
+#ifndef __SYNFIG_GTKMM_ABOUT_H
+#define __SYNFIG_GTKMM_ABOUT_H
/* === H E A D E R S ======================================================= */
-//#include <gtk/gtk.h>
-#include <gtkmm/window.h>
-#include <gtkmm/tooltips.h>
-#include <gtkmm/label.h>
-#include <gtkmm/button.h>
-#include <gtkmm/progressbar.h>
+#include <gtkmm/aboutdialog.h>
/* === M A C R O S ========================================================= */
/* === C L A S S E S & S T R U C T S ======================================= */
-namespace sinfg { 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:
-
- sinfg::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 =============================================================== */