diff options
| author | Carl Hetherington <cth@carlh.net> | 2012-07-25 20:31:19 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2012-07-25 20:31:19 +0100 |
| commit | f9263c8cbd604bab0036551fd4f5625a69112f8d (patch) | |
| tree | 6ed1ed8d010300fdab3666f9119cde40d92d5e47 /src/tools | |
| parent | 36d44180863cdbb5ef0e7e2f45794963047d07d4 (diff) | |
About box.
Diffstat (limited to 'src/tools')
| -rw-r--r-- | src/tools/dvdomatic.cc | 35 |
1 files changed, 14 insertions, 21 deletions
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 <iostream> #include <boost/filesystem.hpp> +#include <wx/aboutdlg.h> #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<string> 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 |
