summaryrefslogtreecommitdiff
path: root/gtk2_ardour/midi_region_view.h
diff options
context:
space:
mode:
Diffstat (limited to 'gtk2_ardour/midi_region_view.h')
-rw-r--r--gtk2_ardour/midi_region_view.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/gtk2_ardour/midi_region_view.h b/gtk2_ardour/midi_region_view.h
index 7c755c5869..6d5a6c2506 100644
--- a/gtk2_ardour/midi_region_view.h
+++ b/gtk2_ardour/midi_region_view.h
@@ -161,6 +161,8 @@ public:
void delete_sysex (SysEx*);
/** Change a patch to the next or previous bank/program.
+ *
+ * @param patch The patch-change instance (canvas item)
* @param bank If true, step bank, otherwise, step program.
* @param delta Amount to adjust number.
*/
@@ -216,8 +218,11 @@ public:
void select_matching_notes (uint8_t notenum, uint16_t channel_mask, bool add, bool extend);
void toggle_matching_notes (uint8_t notenum, uint16_t channel_mask);
- /** Return true iff the note is within the extent of the region.
+ /** Test if a note is within this region's range
+ *
+ * @param note the note to test
* @param visible will be set to true if the note is within the visible note range, false otherwise.
+ * @return true iff the note is within the (time) extent of the region.
*/
bool note_in_region_range(const boost::shared_ptr<NoteType> note, bool& visible) const;