Add missing files.
[ardour.git] / gtk2_ardour / time_info_box.h
index 5be6a0e45aba9c0004193b1401af73dea2a8a474..7409d7631e20f21ebbcc3f8e9c5f20f42ef7ee8b 100644 (file)
 
 #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;
@@ -39,7 +36,7 @@ namespace ARDOUR {
 
 class AudioClock;
 
-class TimeInfoBox : public Gtk::Table, public ARDOUR::SessionHandlePtr
+class TimeInfoBox : public Gtk::HBox, public ARDOUR::SessionHandlePtr
 {
   public:
     TimeInfoBox ();
@@ -51,6 +48,9 @@ class TimeInfoBox : public Gtk::Table, public ARDOUR::SessionHandlePtr
     bool on_expose_event (GdkEventExpose*);
 
   private:
+    Gtk::Table left;
+    Gtk::Table right;
+
     AudioClock* selection_start;
     AudioClock* selection_end;
     AudioClock* selection_length;
@@ -67,9 +67,11 @@ class TimeInfoBox : public Gtk::Table, public ARDOUR::SessionHandlePtr
     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*);