diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2014-12-11 17:03:52 -0500 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2014-12-11 17:03:52 -0500 |
commit | bd430c2080e24e624495858552c217d7bc9101a6 (patch) | |
tree | fea511ff10fe85714b2fb8dedbbcc071c35a0d80 /gtk2_ardour/ui_config.h | |
parent | 9278ae23c4e048093231ec8ac44da72b07684ec7 (diff) |
allow UIConfiguration::color() to tell caller that it could not find the named color
Diffstat (limited to 'gtk2_ardour/ui_config.h')
-rw-r--r-- | gtk2_ardour/ui_config.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk2_ardour/ui_config.h b/gtk2_ardour/ui_config.h index f72dc46289..c343da018b 100644 --- a/gtk2_ardour/ui_config.h +++ b/gtk2_ardour/ui_config.h @@ -83,7 +83,7 @@ class UIConfiguration : public PBD::Stateful ArdourCanvas::Color quantized (ArdourCanvas::Color) const; ArdourCanvas::Color base_color_by_name (const std::string&) const; - ArdourCanvas::Color color (const std::string&) const; + ArdourCanvas::Color color (const std::string&, bool* failed = 0) const; ArdourCanvas::HSV color_hsv (const std::string&) const; sigc::signal<void,std::string> ParameterChanged; |