#include <gtkmm/box.h>
#include <gtkmm/label.h>
+#include <gtkmm/table.h>
#include "ardour/ardour.h"
#include "ardour/session_handle.h"
-class CairoEditableText;
-class CairoCell;
-class CairoTextCell;
-
namespace ARDOUR {
class Session;
class Location;
class AudioClock;
-class TimeInfoBox : public Gtk::Table, public ARDOUR::SessionHandlePtr
+class TimeInfoBox : public Gtk::HBox, public ARDOUR::SessionHandlePtr
{
public:
TimeInfoBox ();
bool on_expose_event (GdkEventExpose*);
private:
+ Gtk::Table left;
+ Gtk::Table right;
+
AudioClock* selection_start;
AudioClock* selection_end;
AudioClock* selection_length;
void punch_location_changed (ARDOUR::Location*);
void watch_punch (ARDOUR::Location*);
PBD::ScopedConnectionList punch_connections;
-
PBD::ScopedConnectionList editor_connections;
+ Gtkmm2ext::StatefulToggleButton punch_in_button;
+ Gtkmm2ext::StatefulToggleButton punch_out_button;
+
void selection_changed ();
void sync_selection_mode (AudioClock*);