diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2016-06-08 21:25:48 -0400 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2016-06-08 21:25:48 -0400 |
commit | 3f0cbfc152fa6de8bd14df6701565f4f9dfc4c34 (patch) | |
tree | b9771d4eff4071d450ae45731c08395b18608859 /gtk2_ardour/route_ui.cc | |
parent | 7015ece8ef8368439cb65adc107c926687093b73 (diff) |
comment and minor fix
Diffstat (limited to 'gtk2_ardour/route_ui.cc')
-rw-r--r-- | gtk2_ardour/route_ui.cc | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/gtk2_ardour/route_ui.cc b/gtk2_ardour/route_ui.cc index 868d6cae09..9dc8bd8727 100644 --- a/gtk2_ardour/route_ui.cc +++ b/gtk2_ardour/route_ui.cc @@ -2246,16 +2246,20 @@ RouteUI::route_color () const stringstream ss (p); + /* old color format version was: + + 16bit value for red:16 bit value for green:16 bit value for blue + + decode to rgb .. + */ + ss >> component; ss >> colon; color |= ((component >> 2) << 16); - ss >> component; ss >> colon; color |= ((component >> 2) << 8); - ss >> component; - ss >> colon; color |= (component >> 2); _route->presentation_info().set_color (color); |