From e42c4bbe297997e1a9378d2c24694f1182f938bb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Nusser?= Date: Tue, 18 Apr 2017 09:12:42 +0200 Subject: 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. --- ABOUT | 4 ++++ plugingui/Makefile.am | 2 +- plugingui/mainwindow.cc | 21 ++++++--------------- plugingui/mainwindow.h | 2 ++ 4 files changed, 13 insertions(+), 16 deletions(-) create mode 100644 ABOUT diff --git a/ABOUT b/ABOUT new file mode 100644 index 0000000..46cdc24 --- /dev/null +++ b/ABOUT @@ -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; -- cgit v1.2.3