summaryrefslogtreecommitdiff
path: root/gtk2_ardour/time_info_box.h
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2011-06-08 23:03:06 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2011-06-08 23:03:06 +0000
commit966b62516f2435c51ea0e44d6a38c2f00d3b9f9f (patch)
treed589cc5976157d0dc33f5ea1834bb0b05c7961da /gtk2_ardour/time_info_box.h
parent3e79689c643aae06ac2ef1673118b4ab9a924141 (diff)
use 2 tables for time info box to get correct vertical alignment (independent on left+right sides)
git-svn-id: svn://localhost/ardour2/branches/3.0@9695 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/time_info_box.h')
-rw-r--r--gtk2_ardour/time_info_box.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/gtk2_ardour/time_info_box.h b/gtk2_ardour/time_info_box.h
index 2731fda11d..c9231f0463 100644
--- a/gtk2_ardour/time_info_box.h
+++ b/gtk2_ardour/time_info_box.h
@@ -36,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 ();
@@ -48,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;