when use stripable palette colors, use them sequentially

Also break this code out into a separate method
This commit is contained in:
Paul Davis 2022-12-08 10:52:57 -07:00
parent cd4b6e85a8
commit 74f95ff0dd
3 changed files with 28 additions and 19 deletions

View file

@ -98,7 +98,8 @@ void resize_window_to_proportion_of_monitor (Gtk::Window*, int, int);
std::string escape_underscores (std::string const &);
Gdk::Color unique_random_color (std::list<Gdk::Color> &, bool from_palette = false);
Gdk::Color unique_palette_color (std::list<Gdk::Color> &);
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);