mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 14:54:56 +01:00
Add method to format set of MIDI channels
eg. channels 1,2,3,5,6 will be formatted as "1-3, 5, 6"
This commit is contained in:
parent
12e8235193
commit
ef8904210e
2 changed files with 47 additions and 0 deletions
|
|
@ -103,6 +103,8 @@ Gdk::Color unique_random_color (std::list<Gdk::Color> &);
|
|||
std::string rate_as_string (float r);
|
||||
std::string samples_as_time_string (ARDOUR::samplecnt_t s, float r, bool show_samples = false);
|
||||
|
||||
std::string midi_channels_as_string (std::set<uint8_t> const&);
|
||||
|
||||
bool windows_overlap (Gtk::Window *a, Gtk::Window *b);
|
||||
|
||||
bool overwrite_file_dialog (Gtk::Window& parent, std::string title, std::string text);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue