projects
/
ardour.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Properly calculate VCA bottom padding & align fader
[ardour.git]
/
gtk2_ardour
/
vca_master_strip.h
diff --git
a/gtk2_ardour/vca_master_strip.h
b/gtk2_ardour/vca_master_strip.h
index 63b5e7a896b3e188ca455ea88bff6fe999aa890b..5a1ad74b7524936d7713bec77cfe0b89621dff73 100644
(file)
--- a/
gtk2_ardour/vca_master_strip.h
+++ b/
gtk2_ardour/vca_master_strip.h
@@
-42,6
+42,9
@@
class VCAMasterStrip : public AxisView, public Gtk::EventBox
VCAMasterStrip (ARDOUR::Session*, boost::shared_ptr<ARDOUR::VCA>);
~VCAMasterStrip ();
VCAMasterStrip (ARDOUR::Session*, boost::shared_ptr<ARDOUR::VCA>);
~VCAMasterStrip ();
+ boost::shared_ptr<ARDOUR::Stripable> stripable() const;
+ ARDOUR::PresentationInfo const & presentation_info () const;
+
std::string name() const;
Gdk::Color color () const;
std::string state_id() const;
std::string name() const;
Gdk::Color color () const;
std::string state_id() const;
@@
-49,6
+52,8
@@
class VCAMasterStrip : public AxisView, public Gtk::EventBox
static PBD::Signal1<void,VCAMasterStrip*> CatchDeletion;
static PBD::Signal1<void,VCAMasterStrip*> CatchDeletion;
+ bool marked_for_display () const;
+ bool set_marked_for_display (bool);
private:
boost::shared_ptr<ARDOUR::VCA> _vca;
private:
boost::shared_ptr<ARDOUR::VCA> _vca;
@@
-65,7
+70,6
@@
class VCAMasterStrip : public AxisView, public Gtk::EventBox
ArdourButton number_label;
ArdourButton solo_button;
ArdourButton mute_button;
ArdourButton number_label;
ArdourButton solo_button;
ArdourButton mute_button;
- ArdourButton drop_button;
Gtk::Menu* context_menu;
Gtk::MessageDialog* delete_dialog;
ArdourButton vertical_button;
Gtk::Menu* context_menu;
Gtk::MessageDialog* delete_dialog;
ArdourButton vertical_button;
@@
-93,11
+97,14
@@
class VCAMasterStrip : public AxisView, public Gtk::EventBox
void hide_confirmation (int);
void self_delete ();
void remove ();
void hide_confirmation (int);
void self_delete ();
void remove ();
- void drop_button_press ();
void drop_all_slaves ();
void parameter_changed (std::string const& p);
void set_button_names ();
void drop_all_slaves ();
void parameter_changed (std::string const& p);
void set_button_names ();
+ void update_bottom_padding ();
+
+ void start_color_edit ();
+ void finish_color_edit (int, Gtk::ColorSelectionDialog*);
};
};