mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-06 13:45:43 +01:00
remove unused code
This commit is contained in:
parent
3d1f955a0c
commit
196e29ddef
2 changed files with 4 additions and 11 deletions
|
|
@ -49,20 +49,15 @@ LevelMeterBase::LevelMeterBase (Session* s, PBD::EventLoop::InvalidationRecord*
|
|||
, regular_meter_width (6)
|
||||
, meter_length (0)
|
||||
, thin_meter_width(2)
|
||||
, max_peak (minus_infinity())
|
||||
, meter_type (MeterPeak)
|
||||
, color_changed (false)
|
||||
{
|
||||
set_session (s);
|
||||
|
||||
Config->ParameterChanged.connect (_parameter_connection, parent_invalidator, boost::bind (&LevelMeterBase::parameter_changed, this, _1), gui_context());
|
||||
ARDOUR_UI::config()->ParameterChanged.connect (sigc::mem_fun(*this, &LevelMeterBase::parameter_changed));
|
||||
UI::instance()->theme_changed.connect (sigc::mem_fun(*this, &LevelMeterBase::on_theme_changed));
|
||||
ColorsChanged.connect (sigc::mem_fun (*this, &LevelMeterBase::color_handler));
|
||||
max_peak = minus_infinity();
|
||||
meter_type = MeterPeak;
|
||||
}
|
||||
|
||||
void
|
||||
LevelMeterBase::on_theme_changed()
|
||||
{
|
||||
style_changed = true;
|
||||
}
|
||||
|
||||
LevelMeterBase::~LevelMeterBase ()
|
||||
|
|
|
|||
|
|
@ -121,8 +121,6 @@ class LevelMeterBase : public ARDOUR::SessionHandlePtr, virtual public sigc::tra
|
|||
void configuration_changed (ARDOUR::ChanCount in, ARDOUR::ChanCount out);
|
||||
void meter_type_changed (ARDOUR::MeterType);
|
||||
|
||||
void on_theme_changed ();
|
||||
bool style_changed;
|
||||
bool color_changed;
|
||||
void color_handler ();
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue