Merge branch 'ardour'
This commit is contained in:
commit
c7da560052
@ -380,6 +380,13 @@ GainMeterBase::setup_meters (int len)
|
||||
meter_channels = route()->shared_peak_meter()->input_streams().n_total();
|
||||
}
|
||||
|
||||
if (len == 0) {
|
||||
assert (gain_slider);
|
||||
Gtk::Requisition sz;
|
||||
sz = gain_slider->size_request ();
|
||||
len = gain_slider->orientation () == FaderWidget::VERT ? sz.height : sz.width;
|
||||
}
|
||||
|
||||
switch (_width) {
|
||||
case Wide:
|
||||
//meter_ticks1_area.show();
|
||||
|
@ -52,6 +52,8 @@ public:
|
||||
void set_tweaks (Tweaks);
|
||||
Tweaks tweaks() const { return _tweaks; }
|
||||
|
||||
int orientation () const { return _orien; }
|
||||
|
||||
virtual void set_bg (Gtkmm2ext::Color) = 0;
|
||||
virtual void set_fg (Gtkmm2ext::Color) = 0;
|
||||
virtual void unset_bg () = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user