summaryrefslogtreecommitdiff
path: root/gtk2_ardour/time_axis_view.h
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2014-09-02 18:12:39 +0200
committerRobin Gareus <robin@gareus.org>2014-09-02 18:12:39 +0200
commitb184df3286599c3d31d97d264cae832550e55641 (patch)
tree840a44ced555a688b5610b9c4c2f2c8c88e49187 /gtk2_ardour/time_axis_view.h
parenteed95429305e9b99d228c4e14c575c2704e502f9 (diff)
static global definition for track-header width
the track-header minimum width is defined by the name-label (IFF the 2nd row fader is not visible, but the fader is rather small by default and and grows) track-header width in almost all cases is: name-label width + width of three button (1 char each) + max size of all meters (if visible) + width of MIDI scroomer (if visible) + 2px table cellspacing (per column)
Diffstat (limited to 'gtk2_ardour/time_axis_view.h')
-rw-r--r--gtk2_ardour/time_axis_view.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gtk2_ardour/time_axis_view.h b/gtk2_ardour/time_axis_view.h
index 90c05761c0..bfdcf9f4f1 100644
--- a/gtk2_ardour/time_axis_view.h
+++ b/gtk2_ardour/time_axis_view.h
@@ -201,6 +201,7 @@ class TimeAxisView : public virtual AxisView
protected:
static Glib::RefPtr<Gtk::SizeGroup> controls_meters_size_group;
+ static unsigned int name_width_px;
/* The Standard LHS Controls */
Gtk::Table controls_table;
Glib::RefPtr<Gtk::SizeGroup> controls_button_size_group;