summaryrefslogtreecommitdiff
path: root/plugingui
diff options
context:
space:
mode:
Diffstat (limited to 'plugingui')
-rw-r--r--plugingui/plugingui.cc10
1 files changed, 8 insertions, 2 deletions
diff --git a/plugingui/plugingui.cc b/plugingui/plugingui.cc
index f85d98d..d87f0c3 100644
--- a/plugingui/plugingui.cc
+++ b/plugingui/plugingui.cc
@@ -236,31 +236,37 @@ void PluginGUI::handleMessage(Message *msg)
std::string metadatatext;
metadatatext.append(m.name + " v. " + m.version + "\n");
metadatatext.append(m.author + "\n");
- metadatatext.append(m.email + " " + metadatatext.append(m.website + "\n\n"));
+ metadatatext.append(m.email + "\n");
+ metadatatext.append(m.website + "\n\n");
metadatatext.append(m.description + "\n");
metadatatext.append(m.notes + "\n\n");
metadatatext.append("Channels:\n");
std::vector<std::pair< std::string, std::string> >::iterator channels_it;
+
for(channels_it = m.channels.begin(); channels_it != m.channels.end();
channels_it++) {
std::string name = channels_it->first;
std::string microphone = channels_it->second;
metadatatext.append("\t" + name + ": " + microphone + "\n");
}
+
metadatatext.append("\n\n");
metadatatext.append("Instruments:\n");
std::vector<std::pair< std::string, std::string> >::iterator instruments_it;
- for(channels_it = m.instruments.begin(); instruments_it != m.instruments.end();
+ for(instruments_it = m.instruments.begin(); instruments_it != m.instruments.end();
instruments_it++) {
std::string name = instruments_it->first;
std::string microphone = instruments_it->second;
metadatatext.append("\t" + name + ": " + microphone + "\n");
}
+
drumkitinfo->setText(metadatatext);
+ printf("META:\n%s\n", metadatatext.c_str());
+
}
break;
case Message::EngineSettingsMessage: