mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 14:54:56 +01:00
add ::on_name_changed() to ArdourButton, to use recently added ::on_name_changed() in CairoWidget
This commit is contained in:
parent
e4e6010cd4
commit
f9dbc28086
2 changed files with 7 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue