summaryrefslogtreecommitdiff
path: root/gtk2_ardour/time_axis_view.h
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2006-01-03 05:40:21 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2006-01-03 05:40:21 +0000
commite829e4d936614a551ea492dcc2b32b9e4858084c (patch)
tree1c60629353526cc13a2a574d205b717fd83db66d /gtk2_ardour/time_axis_view.h
parent6c4caff156e65ef66195e85ad2bcd39fc190a5ec (diff)
"fix" track heights etc.
git-svn-id: svn://localhost/trunk/ardour2@229 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/time_axis_view.h')
-rw-r--r--gtk2_ardour/time_axis_view.h16
1 files changed, 9 insertions, 7 deletions
diff --git a/gtk2_ardour/time_axis_view.h b/gtk2_ardour/time_axis_view.h
index b2e73e876a..e5e13a6c3f 100644
--- a/gtk2_ardour/time_axis_view.h
+++ b/gtk2_ardour/time_axis_view.h
@@ -75,12 +75,12 @@ class TimeAxisView : public virtual AxisView
valued so that there is a precise
middle.
*/
- Largest = 301,
- Large = 201,
- Larger = 101,
- Normal = 51,
- Smaller = 31,
- Small = 21
+ Largest = 307,
+ Large = 207,
+ Larger = 107,
+ Normal = 57,
+ Smaller = 37,
+ Small = 27
};
TimeAxisView(ARDOUR::Session& sess, PublicEditor& ed, TimeAxisView* parent, ArdourCanvas::Canvas& canvas);
@@ -89,7 +89,7 @@ class TimeAxisView : public virtual AxisView
/* public data: XXX create accessor/mutators for these ?? */
PublicEditor& editor;
-
+
guint32 height; /* in canvas units */
guint32 effective_height; /* in canvas units */
double y_position;
@@ -294,6 +294,8 @@ class TimeAxisView : public virtual AxisView
bool _hidden;
bool _has_state;
+ void check_height (Gdk::Rectangle&);
+
}; /* class TimeAxisView */
#endif /* __ardour_gtk_time_axis_h__ */