mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-10 00:34:59 +01:00
Somewhat unconvincing visual indication that plugin inserts are splitting mono inputs to stereo.
git-svn-id: svn://localhost/ardour2/branches/3.0@8636 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
636ffd7d8d
commit
4233a54ac3
6 changed files with 141 additions and 12 deletions
|
|
@ -121,7 +121,10 @@ public:
|
|||
|
||||
protected:
|
||||
|
||||
virtual void setup_visuals ();
|
||||
|
||||
Gtk::VBox _vbox;
|
||||
Position _position;
|
||||
|
||||
private:
|
||||
|
||||
|
|
@ -129,7 +132,6 @@ private:
|
|||
void processor_active_changed ();
|
||||
void processor_property_changed (const PBD::PropertyChange&);
|
||||
std::string name () const;
|
||||
void setup_visuals ();
|
||||
|
||||
Gtk::Frame _frame;
|
||||
Gtk::EventBox _event_box;
|
||||
|
|
@ -139,7 +141,6 @@ private:
|
|||
boost::shared_ptr<ARDOUR::Processor> _processor;
|
||||
Width _width;
|
||||
Gtk::StateType _visual_state;
|
||||
Position _position;
|
||||
PBD::ScopedConnection active_connection;
|
||||
PBD::ScopedConnection name_connection;
|
||||
};
|
||||
|
|
@ -167,6 +168,26 @@ private:
|
|||
static Glib::RefPtr<Gdk::Pixbuf> _slider;
|
||||
};
|
||||
|
||||
class PluginInsertProcessorEntry : public ProcessorEntry
|
||||
{
|
||||
public:
|
||||
PluginInsertProcessorEntry (boost::shared_ptr<ARDOUR::PluginInsert>, Width);
|
||||
|
||||
private:
|
||||
void setup_visuals ();
|
||||
void plugin_insert_splitting_changed ();
|
||||
|
||||
/* XXX: this seems a little ridiculous just for a simple scaleable icon */
|
||||
class SplittingIcon : public Gtk::DrawingArea {
|
||||
private:
|
||||
bool on_expose_event (GdkEventExpose *);
|
||||
};
|
||||
|
||||
boost::shared_ptr<ARDOUR::PluginInsert> _plugin_insert;
|
||||
SplittingIcon _splitting_icon;
|
||||
PBD::ScopedConnection _splitting_connection;
|
||||
};
|
||||
|
||||
class ProcessorBox : public Gtk::HBox, public PluginInterestedObject, public ARDOUR::SessionHandlePtr
|
||||
{
|
||||
public:
|
||||
|
|
@ -217,8 +238,6 @@ class ProcessorBox : public Gtk::HBox, public PluginInterestedObject, public ARD
|
|||
|
||||
void selection_changed ();
|
||||
|
||||
Gtk::EventBox processor_eventbox;
|
||||
Gtk::HBox processor_hpacker;
|
||||
Gtkmm2ext::DnDVBox<ProcessorEntry> processor_display;
|
||||
Gtk::ScrolledWindow processor_scroller;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue