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

TimeAxisView Class Reference

#include <time_axis_view.h>

Inheritance diagram for TimeAxisView:

AxisView sigc::trackable VisualTimeAxis ImageFrameTimeAxis MarkerTimeAxis

List of all members.

Detailed Description

TimeAxisView defines the abstract base class for time-axis views.

This class provides the basic LHS controls and display methods. This should be extended to create functional time-axis based views.

Definition at line 74 of file time_axis_view.h.

Public Member Functions

void add_extra_xml (XMLNode &)
virtual void add_instant_xml (XMLNode &, const std::string &dir)
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)
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)
bool has_state () const
bool hidden () const
virtual void hide ()
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 bool marked_for_display () const
virtual string name () const =0
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 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)
virtual void set_selected (bool)
virtual void set_selected_points (PointSelection &)
virtual void set_selected_regionviews (RegionSelection &)
int set_state (const XMLNode &)
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_selection (TimeSelection &)
virtual void show_timestretch (nframes_t start, nframes_t end)
virtual void step_height (bool bigger)
 TimeAxisView (ARDOUR::Session &sess, PublicEditor &ed, TimeAxisView *parent, ArdourCanvas::Canvas &canvas)
bool touched (double top, double bot)

Public Attributes

ArdourCanvas::Group * canvas_background
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 > Hiding
Gtkmm2ext::FocusEntry name_entry
Gtk::Frame name_frame
Gtk::HBox name_hbox
int order
double resize_drag_start
int32_t resize_idle_target
Gtk::DrawingArea resizer
Gtk::HBox resizer_box
sigc::connection resizer_motion_signal
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_display_menu ()
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 void name_entry_changed ()
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
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
ArdourCanvas::Group * selection_group
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 Types

enum  NamePackingBits { NameLabelPacked = 0x1, NameEntryPacked = 0x2 }

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

Generated by  Doxygen 1.6.0   Back to index