Logo Search packages:      
Sourcecode: ardour version File versions  Download package

MarkerTimeAxis Class Reference

#include <marker_time_axis.h>

Inheritance diagram for MarkerTimeAxis:

VisualTimeAxis TimeAxisView AxisView sigc::trackable

List of all members.

Detailed Description

MarkerTimeAxis defines a visual time axis for holding marker items associated with other time axis, and time axis items.

The intention of this time axis is to allow markers with duration to be arranged on the time line to add additional timing information to items on an associated time axis, for instance the addition of effect duration and timings

Definition at line 53 of file marker_time_axis.h.

Public Types

enum  TrackHeight {
  Largest, Large, Larger, Normal,
  Smaller, Small

Public Member Functions

bool choose_time_axis_color ()
Gdk::Color color () const
TimeAxisViewcovers_y_position (double y)
virtual bool cut_copy_clear (Selection &, Editing::CutCopyOp)
virtual ARDOUR::RouteGroup * edit_group () const
virtual void entered ()
virtual void exited ()
virtual boost::shared_ptr
< ARDOUR::Region > 
find_next_region (nframes_t pos, ARDOUR::RegionPoint, int32_t dir)
virtual XMLNode * get_child_xml_node (const string &childname)
virtual void get_inverted_selectables (Selection &, list< Selectable * > &results)
TimeAxisViewget_marked_time_axis ()
virtual void get_selectables (nframes_t start, nframes_t end, double top, double bot, list< Selectable * > &results)
bool get_selected () const
virtual XMLNode * get_state_node ()
MarkerTimeAxisViewget_view ()
bool has_state () const
bool hidden () const
virtual void hide ()
void hide_click ()
virtual void hide_dependent_views (TimeAxisViewItem &)
void hide_name_entry ()
void hide_name_label ()
virtual void hide_selection ()
virtual void hide_temporary_lines ()
virtual void hide_timestretch ()
virtual void label_view ()
virtual bool marked_for_display () const
 MarkerTimeAxis (PublicEditor &ed, ARDOUR::Session &sess, ArdourCanvas::Canvas &canvas, const string &name, TimeAxisView *tav)
virtual std::string name () const
gint name_entry_button_press_handler (GdkEventButton *)
gint name_entry_button_release_handler (GdkEventButton *)
void name_entry_changed ()
gint name_entry_focus_out_handler (GdkEventFocus *)
gint name_entry_key_release_handler (GdkEventKey *)
uint32_t old_order_key () const
void order_selection_trims (ArdourCanvas::Item *item, bool put_start_on_top)
virtual bool paste (nframes_t, float times, Selection &, size_t nth)
virtual boost::shared_ptr
< ARDOUR::Playlist > 
playlist () const
void popup_marker_time_axis_edit_menu (int button, int32_t time, MarkerView *clicked_mv, bool with_item)
virtual void remove_this_time_axis (void *src)
void reset_height ()
virtual void reshow_selection (TimeSelection &)
virtual void reveal_dependent_views (TimeAxisViewItem &)
ARDOUR::Session & session () const
virtual void set_height (TimeAxisView::TrackHeight h)
virtual void set_marked_for_display (bool yn)
void set_old_order_key (uint32_t ok)
void set_parent (TimeAxisView &p)
virtual void set_samples_per_unit (double spu)
virtual void set_selected (bool)
virtual void set_selected_points (PointSelection &)
virtual void set_selected_regionviews (RegionSelection &)
virtual void set_state (const XMLNode &)
void set_time_axis_color (Gdk::Color c)
virtual void set_time_axis_name (const string &name, void *src)
virtual guint32 show_at (double y, int &nth, Gtk::VBox *parent)
void show_name_entry ()
void show_name_label ()
virtual void show_selection (TimeSelection &)
virtual void show_temporary_lines (const ARDOUR::AnalysisFeatureList &)
void show_timestretch (nframes_t start, nframes_t end)
void start_time_axis_rename ()
virtual void step_height (bool bigger)
bool touched (double top, double bot)
void visual_click ()
virtual ~MarkerTimeAxis ()

Static Public Member Functions

static uint32_t height_to_pixels (TrackHeight)
static gint idle_remove_this_time_axis (VisualTimeAxis *ta, void *src)

Public Attributes

ArdourCanvas::Group * canvas_display
Gtk::EventBox controls_ebox
Gtk::Frame controls_frame
Gtk::HBox controls_hbox
Gtk::EventBox controls_lhs_pad
Gtk::Table controls_table
Gtk::VBox controls_vbox
PublicEditor & editor
uint32_t effective_height
sigc::signal< void > GoingAway
sigc::signal< void, const
string &, void * > 
uint32_t height
TrackHeight height_style
Gtk::Button hide_button
sigc::signal< void > Hiding
Gtkmm2ext::FocusEntry name_entry
Gtk::Frame name_frame
Gtk::HBox name_hbox
sigc::signal< void, const
string &, const string &, void * > 
int order
Gtk::HBox other_button_hbox
Gtk::Button size_button
std::string time_axis_name
Gtk::Button visual_button
sigc::signal< void, const
string &, void * > 
double y_position

Static Public Attributes

static uint32_t hLarge = 0
static uint32_t hLarger = 0
static uint32_t hLargest = 0
static uint32_t hNormal = 0
static uint32_t hSmall = 0
static uint32_t hSmaller = 0

Protected Member Functions

void add_child (TimeAxisView *)
virtual void build_size_menu ()
void color_handler ()
virtual bool controls_ebox_button_release (GdkEventButton *ev)
virtual bool controls_ebox_scroll (GdkEventScroll *ev)
TimeAxisViewget_parent_with_state ()
SelectionRect * get_selection_rect (uint32_t id)
virtual bool handle_display_menu_map_event (GdkEventAny *ev)
bool is_child (TimeAxisView *)
void name_entry_activated ()
bool name_entry_button_press (GdkEventButton *ev)
bool name_entry_button_release (GdkEventButton *ev)
virtual bool name_entry_focus_in (GdkEventFocus *ev)
virtual bool name_entry_focus_out (GdkEventFocus *ev)
bool name_entry_key_release (GdkEventKey *ev)
bool name_entry_key_timed_out ()
virtual void popup_display_menu (guint32 when)
void popup_size_menu (guint32 when)
void remove_child (TimeAxisView *)
virtual void selection_click (GdkEventButton *)
void set_height_pixels (uint32_t h)
void set_heights (TrackHeight)
gint size_click (GdkEventButton *ev)

Static Protected Member Functions

static void compute_controls_size_info ()
static Gdk::Color unique_random_color ()

Protected Attributes

Gdk::Color _color
bool _has_state
bool _hidden
bool _marked_for_display
uint32_t _old_order_key
bool _selected
ARDOUR::Session & _session
std::vector< TimeAxisView * > children
string controls_base_selected_name
string controls_base_unselected_name
list< SelectionRect * > free_selection_rects
guint32 last_name_entry_key_press_event
sigc::connection name_entry_key_timeout
Gtk::Label name_label
NamePackingBits name_packing
ArdourCanvas::Group * selection_group
list< ArdourCanvas::SimpleLine * > temp_lines
list< SelectionRect * > used_selection_rects

Static Protected Attributes

static bool need_size_info = true
static list< Gdk::Colorused_colors

Package Functions

void add_destroy_notify_callback (void *data, func_destroy_notify func) const
void notify_callbacks ()
 Execute and remove all previously installed callbacks.
void remove_destroy_notify_callback (void *data) const

Package Attributes

 __pad0__:func_destroy_notify func_destroy_notify

Private Member Functions

virtual void build_display_menu ()
void build_marker_menu ()
void select_track_color ()

Private Attributes


The documentation for this class was generated from the following files:

Generated by  Doxygen 1.6.0   Back to index