summaryrefslogtreecommitdiff
path: root/libs/surfaces/push2/track_mix.h
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2016-07-11 18:17:04 -0400
committerPaul Davis <paul@linuxaudiosystems.com>2016-09-27 14:59:31 -0500
commitad7543c02f947e15a88b5eeae8db6dc55bad9b60 (patch)
treed9ef55f3cf2ed9da7596956b7171b2505068bbd1 /libs/surfaces/push2/track_mix.h
parentf20618ae19ee9368a3e8264040ec878d63b8116f (diff)
push2: track mix layout somewhat working
Diffstat (limited to 'libs/surfaces/push2/track_mix.h')
-rw-r--r--libs/surfaces/push2/track_mix.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/libs/surfaces/push2/track_mix.h b/libs/surfaces/push2/track_mix.h
index 84aa4f043d..102b9940da 100644
--- a/libs/surfaces/push2/track_mix.h
+++ b/libs/surfaces/push2/track_mix.h
@@ -39,7 +39,8 @@ class TrackMixLayout : public Push2Layout
void set_stripable (boost::shared_ptr<ARDOUR::Stripable>);
- bool redraw (Cairo::RefPtr<Cairo::Context>) const;
+ bool redraw (Cairo::RefPtr<Cairo::Context>, bool force) const;
+ void on_show ();
void button_upper (uint32_t n);
void button_lower (uint32_t n);
@@ -52,14 +53,16 @@ class TrackMixLayout : public Push2Layout
PBD::ScopedConnectionList stripable_connections;
bool _dirty;
- Glib::RefPtr<Pango::Layout> name_layout;
Glib::RefPtr<Pango::Layout> upper_layout[8];
Glib::RefPtr<Pango::Layout> lower_layout[8];
- std::vector<Push2Knob*> knobs;
+ Push2Knob* knobs[8];
void stripable_property_change (PBD::PropertyChange const& what_changed);
+ PBD::ScopedConnection selection_connection;
+ void selection_changed ();
+
void drop_stripable ();
void name_changed ();
void color_changed ();