#include <gtkmm/layout.h>
#include "gtkmm2ext/bindings.h"
-#include "gtkmm2ext/click_box.h"
#include "gtkmm2ext/dndtreeview.h"
-#include "gtkmm2ext/pane.h"
-#include "gtkmm2ext/selector.h"
-#include "gtkmm2ext/stateful_button.h"
#include "pbd/stateful.h"
#include "pbd/signals.h"
#include "widgets/ardour_button.h"
#include "widgets/ardour_dropdown.h"
+#include "widgets/pane.h"
#include "ardour_dialog.h"
#include "public_editor.h"
class AutomationSelection;
class AutomationTimeAxisView;
class BundleManager;
-class ButtonJoiner;
class ControlPoint;
class CursorContext;
class DragManager;
class EditorRouteGroups;
class EditorSnapshots;
class EditorSummary;
-class GroupedButtons;
class GUIObjectState;
class ArdourMarker;
class MidiRegionView;
void foreach_time_axis_view (sigc::slot<void,TimeAxisView&>);
void add_to_idle_resize (TimeAxisView*, int32_t);
- RouteTimeAxisView* get_route_view_by_route_id (const PBD::ID& id) const;
+ StripableTimeAxisView* get_stripable_time_axis_by_id (const PBD::ID& id) const;
void consider_auditioning (boost::shared_ptr<ARDOUR::Region>);
void hide_a_region (boost::shared_ptr<ARDOUR::Region>);
void set_group_tabs ();
void toggle_measure_visibility ();
+ /* returns the left-most and right-most time that the gui should allow the user to scroll to */
+ std::pair <framepos_t,framepos_t> session_gui_extents( bool use_extra = true ) const;
+
/* fades */
void toggle_region_fades (int dir);
void add_notebook_page (std::string const &, Gtk::Widget &);
bool notebook_tab_clicked (GdkEventButton *, Gtk::Widget *);
- Gtkmm2ext::HPane edit_pane;
- Gtkmm2ext::VPane editor_summary_pane;
+ ArdourWidgets::HPane edit_pane;
+ ArdourWidgets::VPane editor_summary_pane;
Gtk::EventBox meter_base;
Gtk::HBox meter_box;
void control_scroll (float);
void control_select (boost::shared_ptr<ARDOUR::Stripable>, Selection::Operation);
void control_unselect ();
- void access_action (std::string,std::string);
+ void access_action (const std::string&, const std::string&);
+ void set_toggleaction (const std::string&, const std::string&, bool);
bool deferred_control_scroll (framepos_t);
sigc::connection control_scroll_connection;
void calc_extra_zoom_edges(framepos_t &start, framepos_t &end);
void temporal_zoom_selection (Editing::ZoomAxis);
void temporal_zoom_session ();
+ void temporal_zoom_extents ();
void temporal_zoom (framecnt_t samples_per_pixel);
void temporal_zoom_by_frame (framepos_t start, framepos_t end);
void temporal_zoom_to_frame (bool coarser, framepos_t frame);
void toggle_marker_lock_style ();
void toggle_tempo_clamped ();
void toggle_tempo_type ();
- void continue_previous_tempo ();
void ramp_to_next_tempo ();
void toggle_marker_menu_lock ();
void toggle_marker_menu_glue ();
void stop_updating_meters ();
bool meters_running;
- void select_next_route ();
- void select_prev_route ();
+ void select_next_stripable (bool routes_only = true);
+ void select_prev_stripable (bool routes_only = true);
void snap_to_internal (ARDOUR::MusicFrame& first,
ARDOUR::RoundMode direction = ARDOUR::RoundNearest,
friend class ControlPointDrag;
friend class LineDrag;
friend class RubberbandSelectDrag;
- friend class RulerZoomDrag;
friend class EditorRubberbandSelectDrag;
friend class TimeFXDrag;
friend class ScrubDrag;