summaryrefslogtreecommitdiff
path: root/gtk2_ardour/port_matrix.h
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2008-09-30 14:18:15 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2008-09-30 14:18:15 +0000
commitcaa305ed2b5f2b5ed976a1e0b18b3794c2ab2465 (patch)
treeb609da362fdeb0a5be7758e9f6dee1869170477c /gtk2_ardour/port_matrix.h
parent9a30bb2aecabcdd16568e6548dd1aeade8effa48 (diff)
more tweaks to the IO Selector
git-svn-id: svn://localhost/ardour2/branches/3.0@3840 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/port_matrix.h')
-rw-r--r--gtk2_ardour/port_matrix.h12
1 files changed, 7 insertions, 5 deletions
diff --git a/gtk2_ardour/port_matrix.h b/gtk2_ardour/port_matrix.h
index a945d00496..dc863ad26b 100644
--- a/gtk2_ardour/port_matrix.h
+++ b/gtk2_ardour/port_matrix.h
@@ -162,6 +162,7 @@ class PortMatrix : public Gtk::VBox {
void set_type (ARDOUR::DataType);
void set_offer_inputs (bool);
+ bool offering_input() const { return _offer_inputs; }
virtual void set_state (int, std::string const &, bool) = 0;
virtual bool get_state (int, std::string const &) const = 0;
@@ -178,11 +179,6 @@ class PortMatrix : public Gtk::VBox {
bool _offer_inputs;
private:
- void setup ();
- void clear ();
- void setup_dimensions ();
- bool row_label_button_pressed (GdkEventButton*, int);
-
PortGroupList _port_group_list;
ARDOUR::DataType _type;
std::vector<PortGroupUI*> _port_group_ui;
@@ -195,6 +191,12 @@ class PortMatrix : public Gtk::VBox {
Gtk::ScrolledWindow _scrolled_window;
Gtk::Label* _side_vbox_pad[2];
Gtk::HBox _visibility_checkbutton_box;
+
+ void setup ();
+ void clear ();
+ void setup_dimensions ();
+ bool row_label_button_pressed (GdkEventButton*, int);
+ void reset_visibility ();
};
#endif