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 Member Functions

void add_extra_xml (XMLNode &)
virtual void add_instant_xml (XMLNode &, const std::string &dir)
bool choose_time_axis_color ()
void clip_to_viewport ()
Gdk::Color color () const
TimeAxisViewcovers_y_position (double y)
uint32_t current_height () const
virtual bool cut_copy_clear (Selection &, Editing::CutCopyOp)
virtual ARDOUR::RouteGroup * edit_group () const
virtual void entered ()
virtual void exited ()
XMLNode * extra_xml (const std::string &str)
virtual boost::shared_ptr
< ARDOUR::Region > 
find_next_region (nframes_t pos, ARDOUR::RegionPoint, int32_t dir)
virtual void first_idle ()
virtual XMLNode * get_child_xml_node (const string &childname)
virtual void get_inverted_selectables (Selection &, list< Selectable * > &results)
TimeAxisViewget_marked_time_axis ()
TimeAxisViewget_parent ()
virtual void get_selectables (nframes_t start, nframes_t end, double top, double bot, list< Selectable * > &results)
bool get_selected () const
XMLNode & get_state (void)
MarkerTimeAxisViewget_view ()
bool has_state () const
bool hidden () const
virtual void hide ()
void hide_click ()
virtual void hide_dependent_views (TimeAxisViewItem &)
virtual void hide_feature_lines ()
void hide_name_entry ()
void hide_name_label ()
virtual void hide_selection ()
virtual void hide_timestretch ()
const PBD::ID & id () const
void idle_resize (uint32_t)
XMLNode * instant_xml (const std::string &str, const std::string &dir)
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 &)
bool resizer_button_press (GdkEventButton *)
bool resizer_button_release (GdkEventButton *)
bool resizer_expose (GdkEventExpose *)
bool resizer_motion (GdkEventMotion *)
virtual void reveal_dependent_views (TimeAxisViewItem &)
ARDOUR::Session & session () const
virtual void set_height (uint32_t 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 yn)
virtual void set_selected_points (PointSelection &)
virtual void set_selected_regionviews (RegionSelection &)
int 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)
virtual void show_feature_lines (const ARDOUR::AnalysisFeatureList &)
void show_name_entry ()
void show_name_label ()
virtual void show_selected (Selection &)
virtual void show_selection (TimeSelection &)
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 gint idle_remove_this_time_axis (VisualTimeAxis *ta, void *src)

Public Attributes

ArdourCanvas::Group * canvas_background
ArdourCanvas::Group * canvas_display
Gtk::VBoxcontrol_parent
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 * > 
gui_changed
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 * > 
NameChanged
int order
Gtk::HBox other_button_hbox
double resize_drag_start
int32_t resize_idle_target
Gtk::DrawingArea resizer
Gtk::HBox resizer_box
sigc::connection resizer_motion_signal
Gtk::Button size_button
std::string time_axis_name
Gtk::Button visual_button
sigc::signal< void, const
string &, void * > 
VisualTimeAxisRemoved
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 ()
void conditionally_add_to_selection ()
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 *)
void reshow_feature_lines ()
virtual void selection_click (GdkEventButton *)
void set_heights (uint32_t h)
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
XMLNode * _extra_xml
bool _has_state
bool _hidden
PBD::ID _id
XMLNode * _instant_xml
bool _marked_for_display
uint32_t _old_order_key
bool _selected
ARDOUR::Session & _session
ARDOUR::AnalysisFeatureList analysis_features
std::vector< TimeAxisView * > children
string controls_base_selected_name
string controls_base_unselected_name
Gtk::Menudisplay_menu
list< ArdourCanvas::SimpleLine * > feature_lines
list< SelectionRect * > free_selection_rects
uint32_t height
guint32 last_name_entry_key_press_event
sigc::connection name_entry_key_timeout
Gtk::Label name_label
NamePackingBits name_packing
TimeAxisViewparent
ArdourCanvas::Group * selection_group
Gtk::Menusize_menu
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

TimeAxisViewmarked_time_axis
Gtk::Menumarker_item_menu
Gtk::Menumarker_menu
MarkerTimeAxisViewview

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

Generated by  Doxygen 1.6.0   Back to index