13
0

add ::on_name_changed() to ArdourButton, to use recently added ::on_name_changed() in CairoWidget

This commit is contained in:
Paul Davis 2014-03-06 09:49:00 -05:00
parent e4e6010cd4
commit f9dbc28086
2 changed files with 7 additions and 0 deletions

View File

@ -830,6 +830,12 @@ ArdourButton::on_style_changed (const RefPtr<Gtk::Style>&)
set_colors ();
}
void
ArdourButton::on_name_changed ()
{
set_colors ();
}
void
ArdourButton::setup_led_rect ()
{

View File

@ -103,6 +103,7 @@ class ArdourButton : public CairoWidget , public Gtkmm2ext::Activatable
void on_size_request (Gtk::Requisition* req);
void on_size_allocate (Gtk::Allocation&);
void on_style_changed (const Glib::RefPtr<Gtk::Style>&);
void on_name_changed ();
bool on_enter_notify_event (GdkEventCrossing*);
bool on_leave_notify_event (GdkEventCrossing*);