From 585999c31627b61b98414e1966847a0e8a98b3ba Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Nusser?= <andre.nusser@googlemail.com>
Date: Sun, 12 May 2019 01:56:44 +0200
Subject: Add short tooltip text for sample selection frame.

---
 plugingui/maintab.cc | 6 ++++++
 plugingui/maintab.h  | 2 +-
 2 files changed, 7 insertions(+), 1 deletion(-)

(limited to 'plugingui')

diff --git a/plugingui/maintab.cc b/plugingui/maintab.cc
index cdc0b05..e2ea9d2 100644
--- a/plugingui/maintab.cc
+++ b/plugingui/maintab.cc
@@ -57,6 +57,12 @@ MainTab::MainTab(Widget* parent,
 	humanizer_frame.setHelpText("Hello World\nThis is a nice World\n... I think");
 	add("Timing Humanizer", timing_frame, timingframe_content, 10, 1);
 	add("Sample Selection", sampleselection_frame, sampleselectionframe_content, 10, 1);
+	sampleselection_frame.setHelpText(
+		"These three knobs influence how DrumGizmo selects its samples in the following way:\n"
+		"    * Close: importance given to choosing a sample close to the actual MIDI value (after humanization)\n"
+		"    * Diversity: importance given to choosing samples which haven't been played recently\n"
+		"    * Random: amount of randomness added"
+		);
 	add("Visualizer", visualizer_frame, visualizerframe_content, 10, 1);
 	add("Bleed Control", bleedcontrol_frame, bleedcontrolframe_content, 9, 1);
 	add("Disk Streaming", diskstreaming_frame, diskstreamingframe_content, 10, 1);
diff --git a/plugingui/maintab.h b/plugingui/maintab.h
index eb3e666..3e5eb1f 100644
--- a/plugingui/maintab.h
+++ b/plugingui/maintab.h
@@ -75,7 +75,7 @@ private:
 	FrameWidget bleedcontrol_frame{this, true};
 	FrameWidget resampling_frame{this, true};
 	FrameWidget timing_frame{this, true};
-	FrameWidget sampleselection_frame{this, false};
+	FrameWidget sampleselection_frame{this, false, true};
 	FrameWidget visualizer_frame{this, false};
 
 	DrumkitframeContent drumkitframe_content;
-- 
cgit v1.2.3