mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-04 20:55:48 +01:00
more color work, including removing rgba{_p_}_from_style()
This commit is contained in:
parent
8455ebce90
commit
aff8a806a2
11 changed files with 78 additions and 238 deletions
|
|
@ -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__ */
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue