diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2014-12-08 10:13:27 -0500 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2014-12-08 22:02:38 -0500 |
commit | aff8a806a269df27d442de401ad73b08ba7c509c (patch) | |
tree | 10d86e67a79cc521631d7ae82df9c88af0136f0b /gtk2_ardour/ui_config.h | |
parent | 8455ebce909baebe51b530d949cfd194693bf150 (diff) |
more color work, including removing rgba{_p_}_from_style()
Diffstat (limited to 'gtk2_ardour/ui_config.h')
-rw-r--r-- | gtk2_ardour/ui_config.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gtk2_ardour/ui_config.h b/gtk2_ardour/ui_config.h index 7637bcf228..b343333371 100644 --- a/gtk2_ardour/ui_config.h +++ b/gtk2_ardour/ui_config.h @@ -93,7 +93,7 @@ class UIConfiguration : public PBD::Stateful double quantized_hue; ArdourCanvas::HSV get() const; - }; +}; UIConfiguration(); ~UIConfiguration(); @@ -127,6 +127,7 @@ class UIConfiguration : public PBD::Stateful void reset_relative (const std::string& name, const RelativeHSV& new_value); RelativeHSV color_as_relative_hsv (ArdourCanvas::Color c); + std::string color_as_alias (ArdourCanvas::Color c); ArdourCanvas::Color quantized (ArdourCanvas::Color) const; ArdourCanvas::Color base_color_by_name (const std::string&) const; @@ -197,5 +198,7 @@ class UIConfiguration : public PBD::Stateful int _saved_state_version; }; +std::ostream& operator<< (std::ostream& o, const UIConfiguration::RelativeHSV& rhsv); + #endif /* __ardour_ui_configuration_h__ */ |