mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-03 12:19:33 +01:00
Make processor box send faders adjust their size correctly.
git-svn-id: svn://localhost/ardour2/branches/3.0@6280 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
4a836618f3
commit
12c9728530
15 changed files with 104 additions and 48 deletions
|
|
@ -76,7 +76,8 @@ public:
|
|||
Gtk::Widget& widget ();
|
||||
std::string drag_text () const;
|
||||
boost::shared_ptr<ARDOUR::Processor> processor () const;
|
||||
void set_width (Width);
|
||||
void set_enum_width (Width);
|
||||
virtual void set_pixel_width (int) {}
|
||||
|
||||
protected:
|
||||
|
||||
|
|
@ -104,6 +105,9 @@ public:
|
|||
|
||||
static void setup_slider_pix ();
|
||||
|
||||
void set_enum_width (Width, int);
|
||||
void set_pixel_width (int);
|
||||
|
||||
private:
|
||||
void show_gain ();
|
||||
void gain_adjusted ();
|
||||
|
|
@ -242,6 +246,7 @@ class ProcessorBox : public Gtk::HBox, public PluginInterestedObject
|
|||
gint idle_delete_processor (boost::weak_ptr<ARDOUR::Processor>);
|
||||
|
||||
void weird_plugin_dialog (ARDOUR::Plugin& p, ARDOUR::Route::ProcessorStreams streams);
|
||||
void on_size_allocate (Gtk::Allocation &);
|
||||
|
||||
static ProcessorBox* _current_processor_box;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue