From f9263c8cbd604bab0036551fd4f5625a69112f8d Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Wed, 25 Jul 2012 20:31:19 +0100 Subject: About box. --- src/tools/dvdomatic.cc | 35 ++++++++++++++--------------------- 1 file changed, 14 insertions(+), 21 deletions(-) (limited to 'src/tools') diff --git a/src/tools/dvdomatic.cc b/src/tools/dvdomatic.cc index a01d4627a..db0cce4c8 100644 --- a/src/tools/dvdomatic.cc +++ b/src/tools/dvdomatic.cc @@ -19,6 +19,7 @@ #include #include +#include #include "wx/film_viewer.h" #include "wx/film_editor.h" #ifndef DVDOMATIC_DISABLE_PLAYER @@ -26,7 +27,6 @@ #endif #include "wx/job_manager_view.h" //#include "gtk/config_dialog.h" -//#include "gtk/gpl.h" #include "wx/job_wrapper.h" //#include "gtk/dvd_title_dialog.h" #include "wx/wx_util.h" @@ -289,26 +289,19 @@ public: void help_about (wxCommandEvent &) { -// Gtk::AboutDialog d; -// d.set_name ("DVD-o-matic"); -// d.set_version (DVDOMATIC_VERSION); - -// stringstream s; -// s << "DCP generation from arbitrary formats\n\n" -// << "Using " << dependency_version_summary() << "\n"; -// d.set_comments (s.str ()); - -// vector authors; -// authors.push_back ("Carl Hetherington"); -// authors.push_back ("Terrence Meiczinger"); -// authors.push_back ("Paul Davis"); -// d.set_authors (authors); - -// d.set_website ("http://carlh.net/software/dvdomatic"); -// d.set_license (gpl); - -// d.run (); -} + wxAboutDialogInfo info; + info.SetName (_("DVD-o-matic")); + info.SetVersion (wxT (DVDOMATIC_VERSION)); + info.SetDescription (_("DCP generation from arbitrary formats")); + info.SetCopyright (_("(C) Carl Hetherington, Terrence Meiczinger, Paul Davis")); + wxArrayString authors; + authors.Add (wxT ("Carl Hetherington")); + authors.Add (wxT ("Terrence Meiczinger")); + authors.Add (wxT ("Paul Davis")); + info.SetDevelopers (authors); + info.SetWebSite (wxT ("http://carlh.net/software/dvdomatic")); + wxAboutBox (info); + } }; class App : public wxApp -- cgit v1.2.3