mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-15 19:16:40 +01:00
Move ARDOUR_UI::ThemeChanged signal into Gtkmm2ext::UI
This means ThemeManager no longer depends on ARDOUR_UI git-svn-id: svn://localhost/ardour2/trunk@2057 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
e7a1e2c18e
commit
7092ef3d08
7 changed files with 14 additions and 20 deletions
|
|
@ -32,6 +32,7 @@
|
|||
#include <gtkmm2ext/fastmeter.h>
|
||||
#include <gtkmm2ext/stop_signal.h>
|
||||
#include <gtkmm2ext/barcontroller.h>
|
||||
#include <gtkmm2ext/gtk_ui.h>
|
||||
#include <midi++/manager.h>
|
||||
#include <pbd/fastlog.h>
|
||||
|
||||
|
|
@ -211,7 +212,7 @@ GainMeter::GainMeter (boost::shared_ptr<IO> io, Session& s)
|
|||
ResetAllPeakDisplays.connect (mem_fun(*this, &GainMeter::reset_peak_display));
|
||||
ResetGroupPeakDisplays.connect (mem_fun(*this, &GainMeter::reset_group_peak_display));
|
||||
|
||||
ThemeChanged.connect (mem_fun(*this, &GainMeter::redraw_pixmaps));
|
||||
UI::instance()->theme_changed.connect (mem_fun(*this, &GainMeter::on_theme_changed));
|
||||
}
|
||||
|
||||
void
|
||||
|
|
@ -317,11 +318,10 @@ GainMeter::meter_metrics_expose (GdkEventExpose *ev)
|
|||
return true;
|
||||
}
|
||||
|
||||
int
|
||||
GainMeter::redraw_pixmaps(string blah)
|
||||
void
|
||||
GainMeter::on_theme_changed()
|
||||
{
|
||||
style_changed = true;
|
||||
return 0;
|
||||
}
|
||||
|
||||
GainMeter::~GainMeter ()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue