TimeAxisView(ARDOUR::Session* sess, PublicEditor& ed, TimeAxisView* parent, ArdourCanvas::Canvas& canvas);
virtual ~TimeAxisView ();
TimeAxisView(ARDOUR::Session* sess, PublicEditor& ed, TimeAxisView* parent, ArdourCanvas::Canvas& canvas);
virtual ~TimeAxisView ();
ArdourCanvas::Container* canvas_display () { return _canvas_display; }
ArdourCanvas::Container* ghost_group () { return _ghost_group; }
/** @return effective height (taking children into account) in canvas units, or
ArdourCanvas::Container* canvas_display () { return _canvas_display; }
ArdourCanvas::Container* ghost_group () { return _ghost_group; }
/** @return effective height (taking children into account) in canvas units, or
uint32_t effective_height () const { return _effective_height; }
/** @return y position, or -1 if hidden */
uint32_t effective_height () const { return _effective_height; }
/** @return y position, or -1 if hidden */
virtual void reset_visual_state ();
std::pair<TimeAxisView*, double> covers_y_position (double) const;
virtual void reset_visual_state ();
std::pair<TimeAxisView*, double> covers_y_position (double) const;
virtual void get_selectables (ARDOUR::framepos_t, ARDOUR::framepos_t, double, double, std::list<Selectable*>&);
virtual void get_inverted_selectables (Selection&, std::list<Selectable *>& results);
virtual void get_selectables (ARDOUR::framepos_t, ARDOUR::framepos_t, double, double, std::list<Selectable*>&);
virtual void get_inverted_selectables (Selection&, std::list<Selectable *>& results);
std::string controls_base_unselected_name;
std::string controls_base_selected_name;
Gtk::Menu* display_menu; /* The standard LHS Track control popup-menus */
std::string controls_base_unselected_name;
std::string controls_base_selected_name;
Gtk::Menu* display_menu; /* The standard LHS Track control popup-menus */
bool name_entry_key_release (GdkEventKey *ev);
bool name_entry_key_press (GdkEventKey *ev);
bool name_entry_focus_out (GdkEventFocus *ev);
bool name_entry_key_release (GdkEventKey *ev);
bool name_entry_key_press (GdkEventKey *ev);
bool name_entry_focus_out (GdkEventFocus *ev);
- Gtk::Entry* name_entry;
- void begin_name_edit ();
- void end_name_edit (int);
+ Gtk::Entry* name_entry;
+ void begin_name_edit ();
+ void end_name_edit (int);
int _order;
uint32_t _effective_height;
double _resize_drag_start;
GdkCursor* _preresize_cursor;
bool _have_preresize_cursor;
int _order;
uint32_t _effective_height;
double _resize_drag_start;
GdkCursor* _preresize_cursor;
bool _have_preresize_cursor;
static uint32_t button_height;
static uint32_t extra_height;
static int const _max_order;
static uint32_t button_height;
static uint32_t extra_height;
static int const _max_order;
void compute_heights ();
bool maybe_set_cursor (int y);
}; /* class TimeAxisView */
#endif /* __ardour_gtk_time_axis_h__ */
void compute_heights ();
bool maybe_set_cursor (int y);
}; /* class TimeAxisView */
#endif /* __ardour_gtk_time_axis_h__ */