more color work, including removing rgba{_p_}_from_style()

This commit is contained in:
Paul Davis 2014-12-08 10:13:27 -05:00
parent 8455ebce90
commit aff8a806a2
11 changed files with 78 additions and 238 deletions

View file

@ -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__ */