mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-07 23:35:03 +01:00
remove cruft (monitor section knobs are cairo now)
This commit is contained in:
parent
f39286f92f
commit
bd5713f009
3 changed files with 0 additions and 47 deletions
|
|
@ -246,8 +246,6 @@ Mixer_UI::Mixer_UI ()
|
||||||
|
|
||||||
MixerStrip::CatchDeletion.connect (*this, invalidator (*this), boost::bind (&Mixer_UI::remove_strip, this, _1), gui_context());
|
MixerStrip::CatchDeletion.connect (*this, invalidator (*this), boost::bind (&Mixer_UI::remove_strip, this, _1), gui_context());
|
||||||
|
|
||||||
MonitorSection::setup_knob_images ();
|
|
||||||
|
|
||||||
#ifndef DEFER_PLUGIN_SELECTOR_LOAD
|
#ifndef DEFER_PLUGIN_SELECTOR_LOAD
|
||||||
_plugin_selector = new PluginSelector (PluginManager::instance ());
|
_plugin_selector = new PluginSelector (PluginManager::instance ());
|
||||||
#endif
|
#endif
|
||||||
|
|
|
||||||
|
|
@ -50,8 +50,6 @@ using namespace PBD;
|
||||||
using namespace std;
|
using namespace std;
|
||||||
|
|
||||||
Glib::RefPtr<ActionGroup> MonitorSection::monitor_actions;
|
Glib::RefPtr<ActionGroup> MonitorSection::monitor_actions;
|
||||||
Glib::RefPtr<Gdk::Pixbuf> MonitorSection::big_knob_pixbuf;
|
|
||||||
Glib::RefPtr<Gdk::Pixbuf> MonitorSection::little_knob_pixbuf;
|
|
||||||
|
|
||||||
MonitorSection::MonitorSection (Session* s)
|
MonitorSection::MonitorSection (Session* s)
|
||||||
: AxisView (s)
|
: AxisView (s)
|
||||||
|
|
@ -871,45 +869,6 @@ MonitorSection::solo_use_pfl ()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
|
||||||
MonitorSection::setup_knob_images ()
|
|
||||||
{
|
|
||||||
|
|
||||||
try {
|
|
||||||
uint32_t c = ARDOUR_UI::config()->color_by_name ("monitor knob");
|
|
||||||
char buf[16];
|
|
||||||
snprintf (buf, 16, "#%x", (c >> 8));
|
|
||||||
MotionFeedback::set_lamp_color (buf);
|
|
||||||
big_knob_pixbuf = MotionFeedback::render_pixbuf (80);
|
|
||||||
|
|
||||||
} catch (...) {
|
|
||||||
|
|
||||||
error << "No usable large knob image" << endmsg;
|
|
||||||
throw failed_constructor ();
|
|
||||||
}
|
|
||||||
|
|
||||||
if (!big_knob_pixbuf) {
|
|
||||||
error << "No usable large knob image" << endmsg;
|
|
||||||
throw failed_constructor ();
|
|
||||||
}
|
|
||||||
|
|
||||||
try {
|
|
||||||
|
|
||||||
little_knob_pixbuf = MotionFeedback::render_pixbuf (30);
|
|
||||||
|
|
||||||
} catch (...) {
|
|
||||||
|
|
||||||
error << "No usable small knob image" << endmsg;
|
|
||||||
throw failed_constructor ();
|
|
||||||
}
|
|
||||||
|
|
||||||
if (!little_knob_pixbuf) {
|
|
||||||
error << "No usable small knob image" << endmsg;
|
|
||||||
throw failed_constructor ();
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
void
|
void
|
||||||
MonitorSection::update_solo_model ()
|
MonitorSection::update_solo_model ()
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -43,7 +43,6 @@ class MonitorSection : public RouteUI
|
||||||
~MonitorSection ();
|
~MonitorSection ();
|
||||||
|
|
||||||
void set_session (ARDOUR::Session*);
|
void set_session (ARDOUR::Session*);
|
||||||
static void setup_knob_images ();
|
|
||||||
|
|
||||||
Gtkmm2ext::TearOff& tearoff() const { return *_tearoff; }
|
Gtkmm2ext::TearOff& tearoff() const { return *_tearoff; }
|
||||||
|
|
||||||
|
|
@ -95,9 +94,6 @@ class MonitorSection : public RouteUI
|
||||||
static Glib::RefPtr<Gtk::ActionGroup> monitor_actions;
|
static Glib::RefPtr<Gtk::ActionGroup> monitor_actions;
|
||||||
void register_actions ();
|
void register_actions ();
|
||||||
|
|
||||||
static Glib::RefPtr<Gdk::Pixbuf> big_knob_pixbuf;
|
|
||||||
static Glib::RefPtr<Gdk::Pixbuf> little_knob_pixbuf;
|
|
||||||
|
|
||||||
void cut_channel (uint32_t);
|
void cut_channel (uint32_t);
|
||||||
void dim_channel (uint32_t);
|
void dim_channel (uint32_t);
|
||||||
void solo_channel (uint32_t);
|
void solo_channel (uint32_t);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue