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

MarkerTimeAxisView Class Reference

#include <marker_time_axis_view.h>

Inheritance diagram for MarkerTimeAxisView:

sigc::trackable

List of all members.


Detailed Description

A view helper for handling MarkerView objects. This object is responsible for the time axis canvas view, and maintains the list of items that have been added to it

Definition at line 43 of file marker_time_axis_view.h.


Public Member Functions

MarkerViewadd_marker_view (ImageFrameView *ifv, std::string mark_type, std::string mark_id, nframes_t start, nframes_t dur, void *src)
void apply_color (Gdk::Color &color)
ArdourCanvas::Item * canvas_item ()
void clear_selected_time_axis_item ()
MarkerViewget_named_marker_view (std::string item_id)
gdouble get_samples_per_unit ()
MarkerViewget_selected_time_axis_item ()
 MarkerTimeAxisView (MarkerTimeAxis &mta)
void remove_marker_view (MarkerView *item, void *src)
MarkerViewremove_named_marker_view (std::string item_id, void *src)
void remove_selected_marker_view (void *src)
int set_height (gdouble height)
void set_marker_duration_sec (double sec)
int set_position (gdouble x, gdouble y)
int set_samples_per_unit (gdouble spu)
void set_selected_time_axis_item (MarkerView *mv)
MarkerTimeAxistrackview ()
 ~MarkerTimeAxisView ()

Public Attributes

sigc::signal< void, MarkerView
*, void * > 
MarkerViewAdded
sigc::signal< void,
std::string, void * > 
MarkerViewRemoved

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

typedef std::list< MarkerView * > MarkerViewList

Private Member Functions

void reset_samples_per_unit ()

Private Attributes

double _samples_per_unit
MarkerTimeAxis_trackview
ArdourCanvas::Group * canvas_group
ArdourCanvas::SimpleRect * canvas_rect
MarkerViewList marker_view_list
Gdk::Color region_color
MarkerViewselected_time_axis_item
uint32_t stream_base_color

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

Generated by  Doxygen 1.6.0   Back to index