add API to GainMeterBase to allow use of explicit fader colors
This commit is contained in:
parent
bfa40895b3
commit
f8a77c7dcb
@ -645,6 +645,30 @@ GainMeterBase::set_fader_name (const char * name)
|
||||
gain_slider->set_name (name);
|
||||
}
|
||||
|
||||
void
|
||||
GainMeterBase::set_fader_fg (uint32_t c)
|
||||
{
|
||||
gain_slider->set_fg (c);
|
||||
}
|
||||
|
||||
void
|
||||
GainMeterBase::set_fader_bg (uint32_t c)
|
||||
{
|
||||
gain_slider->set_bg (c);
|
||||
}
|
||||
|
||||
void
|
||||
GainMeterBase::unset_fader_fg ()
|
||||
{
|
||||
gain_slider->unset_fg ();
|
||||
}
|
||||
|
||||
void
|
||||
GainMeterBase::unset_fader_bg ()
|
||||
{
|
||||
gain_slider->unset_bg ();
|
||||
}
|
||||
|
||||
void
|
||||
GainMeterBase::update_gain_sensitive ()
|
||||
{
|
||||
|
@ -94,6 +94,10 @@ public:
|
||||
void set_width (Width, int len=0);
|
||||
void set_meter_strip_name (const char * name);
|
||||
void set_fader_name (const char * name);
|
||||
void set_fader_fg (uint32_t);
|
||||
void set_fader_bg (uint32_t);
|
||||
void unset_fader_fg ();
|
||||
void unset_fader_bg ();
|
||||
|
||||
virtual void setup_meters (int len=0);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user