summaryrefslogtreecommitdiff
path: root/plugingui/drumkittab.h
diff options
context:
space:
mode:
authorAndré Nusser <andre.nusser@googlemail.com>2018-06-10 15:13:53 +0200
committerBent Bisballe Nyeng <deva@aasimon.org>2018-08-12 11:13:52 +0200
commit3f259e92bf1a25a8db521a587b6d612e356b22bc (patch)
tree4c3d312028bcad0b0586003ed9702d4e6c38d1f8 /plugingui/drumkittab.h
parentd5c2ccc687a38e607b3532f4eb3eafa95d3b887a (diff)
Add highlight of single instruments on hits.
Diffstat (limited to 'plugingui/drumkittab.h')
-rw-r--r--plugingui/drumkittab.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugingui/drumkittab.h b/plugingui/drumkittab.h
index cd1d731..64806fd 100644
--- a/plugingui/drumkittab.h
+++ b/plugingui/drumkittab.h
@@ -65,6 +65,7 @@ private:
std::unordered_map<Colour, std::string, ColourHasher> colour_to_instrument;
bool shows_overlay{false};
+ bool shows_instrument_overlay{false};
std::unique_ptr<Image> drumkit_image;
std::unique_ptr<Image> map_image;
@@ -78,7 +79,7 @@ private:
// SettingsNotifier& settings_notifier;
// Config& config;
- void triggerAudition(int x, int y);
+ void triggerAudition(int x, int y, bool show_hit = true);
void updateVelocityLabel();
void updateInstrumentLabel();
};