CairoWidget::set_dirty ();
}
+void ArdourButton::reset_fixed_colors ()
+{
+ if (_fixed_colors_set == 0) {
+ return;
+ }
+ _fixed_colors_set = 0;
+ _update_colors = true;
+ CairoWidget::set_dirty ();
+}
+
void
ArdourButton::build_patterns ()
{
bool changed = (_active_state != s);
CairoWidget::set_active_state (s);
if (changed) {
+ _update_colors = true;
CairoWidget::set_dirty ();
}
}
void set_fixed_colors (const uint32_t active_color, const uint32_t inactive_color);
void set_active_color (const uint32_t active_color);
void set_inactive_color (const uint32_t inactive_color);
+ void reset_fixed_colors ();
void set_fallthrough_to_parent(bool fall) { _fallthrough_to_parent = fall; }