diff options
author | André Nusser <andre.nusser@googlemail.com> | 2017-04-18 09:12:42 +0200 |
---|---|---|
committer | André Nusser <andre.nusser@googlemail.com> | 2017-04-18 09:12:42 +0200 |
commit | e42c4bbe297997e1a9378d2c24694f1182f938bb (patch) | |
tree | 8fe370c1f1ea45fcf23fa409dd172fbd46c4ab1e | |
parent | e1c74e7a6658f72abb3a5f76607bc9daf2b17b49 (diff) |
Use ABOUT and AUTHORS files for "About" tab.
FIXME: The font cannot display all special characters in the author's
names. We need to fix this.
-rw-r--r-- | ABOUT | 4 | ||||
-rw-r--r-- | plugingui/Makefile.am | 2 | ||||
-rw-r--r-- | plugingui/mainwindow.cc | 21 | ||||
-rw-r--r-- | plugingui/mainwindow.h | 2 |
4 files changed, 13 insertions, 16 deletions
@@ -0,0 +1,4 @@ +DrumGizmo is an open source, multichannel, multilayered, cross-platform drum +plugin and stand-alone application. It enables you to compose drums in midi and +mix them with a multichannel approach. It is comparable to that of mixing a +real drumkit that has been recorded with a multimic setup. diff --git a/plugingui/Makefile.am b/plugingui/Makefile.am index eeeeb34..b6ece08 100644 --- a/plugingui/Makefile.am +++ b/plugingui/Makefile.am @@ -2,7 +2,7 @@ noinst_PROGRAMS = plugingui rcgen noinst_LTLIBRARIES = libdggui.la resource_data.cc : rcgen - (cd resources; ../rcgen * ../../COPYING > ../resource_data.cc) + (cd resources; ../rcgen * ../../ABOUT ../../AUTHORS ../../COPYING > ../resource_data.cc) libdggui_la_CPPFLAGS = \ $(GUI_CPPFLAGS) \ diff --git a/plugingui/mainwindow.cc b/plugingui/mainwindow.cc index b7df977..4e2d8ac 100644 --- a/plugingui/mainwindow.cc +++ b/plugingui/mainwindow.cc @@ -136,32 +136,23 @@ std::string MainWindow::getAboutText() "=============\n" " About\n" "=============\n" - "\n" - "DrumGizmo is an open source, multichannel, multilayered, cross-platform\n" - "drum plugin and stand-alone application. It enables you to compose drums\n" - "in midi and mix them with a multichannel approach. It is comparable to\n" - "that of mixing a real drumkit that has been recorded with a multimic setup.\n" - "\n" "\n"); + about_text.append(about.data()); // Authors about_text.append( + "\n" + "\n" "=============\n" " Authors\n" "=============\n" - "\n" - "Bent Bisballe Nyeng\n" - "Jonas Suhr Cristensen\n" - "Lars Muldjord\n" - "Andre Nusser\n" - "Christian Gloeckner\n" - "Goran Mekic\n" - "... and others.\n" - "\n" "\n"); + about_text.append(authors.data()); // GPL about_text.append( + "\n" + "\n" "=============\n" " License\n" "=============\n" diff --git a/plugingui/mainwindow.h b/plugingui/mainwindow.h index 784254a..8e2c8c4 100644 --- a/plugingui/mainwindow.h +++ b/plugingui/mainwindow.h @@ -85,6 +85,8 @@ private: bool closing{false}; + Resource about{":../../ABOUT"}; + Resource authors{":../../AUTHORS"}; Resource gpl{":../../COPYING"}; Font font; |