21 #include <glibmm/thread.h>
98 std::shared_ptr<ARDOUR::Route> a = ma.
s->
route();
99 std::shared_ptr<ARDOUR::Route> b = mb.
s->
route();
100 if (a->is_master() || a->is_monitor()) {
105 }
else if (b->is_master() || b->is_monitor()) {
std::shared_ptr< ARDOUR::Route > route()
static const int32_t default_height
ARDOUR::MeterType _mt_left
void session_going_away()
void on_size_allocate(Gtk::Allocation &)
This is a default handler for the signal signal_size_allocate().
void fast_update_strips()
int set_state(const XMLNode &)
void add_strips(ARDOUR::RouteList &)
std::list< MeterBridgeStrip > strips
sigc::connection scroll_connection
Glib::Threads::Mutex _resync_mutex
ARDOUR::MeterType _mt_right
std::vector< MeterStrip * > _metrics
void set_session(ARDOUR::Session *)
sigc::connection fast_screen_update_connection
static const int32_t default_width
void on_size_request(Gtk::Requisition *)
This is a default handler for the signal signal_size_request().
static const int max_height
Gtk::VBox metrics_vpacker_left
Gtk::HBox metrics_spacer_left
static Meterbridge * instance()
bool on_configure_event(GdkEventConfigure *conf)
This is a default handler for the signal signal_configure_event().
void resync_order(PBD::PropertyChange what_changed=ARDOUR::Properties::order)
bool on_key_release_event(GdkEventKey *)
This is a default handler for the signal signal_key_release_event().
XMLNode & get_state() const
void set_window_pos_and_size()
Gtk::HBox metrics_spacer_right
static Meterbridge * _instance
Gtk::VBox metrics_vpacker_right
void parameter_changed(std::string const &p)
bool on_scroll_event(GdkEventScroll *)
This is a default handler for the signal signal_scroll_event().
Gtk::ScrolledWindow scroller
bool hide_window(GdkEventAny *ev)
bool on_key_press_event(GdkEventKey *)
This is a default handler for the signal signal_key_press_event().
void remove_strip(MeterStrip *)
PBD::PropertyDescriptor< uint32_t > order
std::list< std::shared_ptr< Route > > RouteList
MeterBridgeStrip(MeterStrip *ss)
bool operator()(struct MeterBridgeStrip ma, struct MeterBridgeStrip mb)