add ::on_name_changed() to ArdourButton, to use recently added ::on_name_changed() in CairoWidget
This commit is contained in:
parent
e4e6010cd4
commit
f9dbc28086
@ -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 ()
|
||||
{
|
||||
|
@ -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*);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user