- PublicEditor& editor;
-
- TrackHeight height_style;
- uint32_t height; /* in canvas units */
- uint32_t effective_height; /* in canvas units */
- double y_position;
- int order;
-
- ArdourCanvas::Group *canvas_display;
- Gtk::VBox *control_parent;
+ /** @return index of this TimeAxisView within its parent */
+ int order () const { return _order; }
+
+ /** @return maximum allowable value of order */
+ static int max_order () { return _max_order; }
+
+ ArdourCanvas::Group* canvas_display () { return _canvas_display; }
+ ArdourCanvas::Group* canvas_background () { return _canvas_background; }
+ ArdourCanvas::Group* ghost_group () { return _ghost_group; }
+
+ /** @return effective height (taking children into account) in canvas units, or
+ 0 if this TimeAxisView has not yet been shown */
+ uint32_t effective_height () const { return _effective_height; }
+
+ /** @return y position, or -1 if hidden */
+ double y_position () const { return _y_position; }
+
+ /** @return our Editor */
+ PublicEditor& editor () const { return _editor; }
+
+ uint32_t current_height() const { return height; }
+
+ bool resizer_button_press (GdkEventButton*);
+ bool resizer_button_release (GdkEventButton*);
+ bool resizer_motion (GdkEventMotion*);
+ bool resizer_expose (GdkEventExpose*);
+
+ void idle_resize (uint32_t);