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

ImageFrameTimeAxis Class Reference

#include <imageframe_time_axis.h>

Inheritance diagram for ImageFrameTimeAxis:

VisualTimeAxis TimeAxisView AxisView

List of all members.


Detailed Description

ImageFrameTimeAxis defines a visual time axis view for holding and arranging image items.

Definition at line 48 of file imageframe_time_axis.h.


Public Types

enum  TrackHeight {
  Largest = 301, Large = 201, Larger = 101, Normal = 51,
  Smaller = 31, Small = 21
}

Public Member Functions

bool add_marker_time_axis (MarkerTimeAxis *marker_track, void *src)
bool choose_time_axis_color ()
Gdk_Color color () const
virtual bool cut_copy_clear (Selection &, Editing::CutCopyOp)
virtual ARDOUR::RouteGroup * edit_group () const
virtual void entered ()
virtual void exited ()
virtual ARDOUR::Region * find_next_region (jack_nframes_t pos, ARDOUR::RegionPoint, int32_t dir)
void finish_time_axis_rename ()
virtual XMLNode * get_child_xml_node (std::string childname)
int get_image_display_height ()
virtual void get_inverted_selectables (Selection &, list< Selectable * > &results)
MarkerTimeAxisget_named_marker_time_axis (std::string track_id)
virtual void get_selectables (jack_nframes_t start, jack_nframes_t end, double top, double bot, list< Selectable * > &results)
virtual XMLNode * get_state_node ()
ImageFrameTimeAxisViewget_view ()
bool has_state () const
bool hidden () const
virtual void hide ()
void hide_click ()
virtual void hide_dependent_views (TimeAxisViewItem &)
virtual void hide_selection ()
virtual void hide_timestretch ()
 ImageFrameTimeAxis (std::string track_id, PublicEditor &ed, ARDOUR::Session &sess, Gtk::Widget *canvas)
virtual void label_view ()
virtual bool marked_for_display () const
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 *)
void order_selection_trims (GtkCanvasItem *item, bool put_start_on_top)
virtual bool paste (jack_nframes_t, float times, Selection &, size_t nth)
virtual ARDOUR::Playlist * playlist () const
void popup_imageframe_edit_menu (int button, int32_t time, ImageFrameView *clicked_imageframe, bool with_item)
MarkerTimeAxisremove_named_marker_time_axis (std::string track_id, void *src)
virtual void remove_this_time_axis (void *src)
void remove_time_axis_view (MarkerTimeAxis *tav, void *src)
void reset_height ()
virtual void reshow_selection (TimeSelection &)
virtual void reveal_dependent_views (TimeAxisViewItem &)
virtual bool selected () const
ARDOUR::Session & session () const
virtual void set_height (TimeAxisView::TrackHeight)
virtual void set_marked_for_display (bool yn)
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 (AudioRegionSelection &)
virtual void set_state (const XMLNode &)
void set_time_axis_color (Gdk_Color c)
virtual void set_time_axis_name (std::string name, void *src)
virtual guint32 show_at (double y, int &nth, Gtk::VBox *parent)
virtual void show_selection (TimeSelection &)
void show_timestretch (jack_nframes_t start, jack_nframes_t end)
void start_time_axis_rename ()
virtual void step_height (bool bigger)
bool touched (double top, double bot)
void visual_click ()
virtual ~ImageFrameTimeAxis ()

Static Public Member Functions

static gint idle_remove_this_time_axis (VisualTimeAxis *ta, void *src)

Public Attributes

GtkCanvasItem * canvas_display
Gtk::VBox * control_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
guint32 effective_height
SigC::Signal0< void > GoingAway
SigC::Signal2< void, string,
void * > 
gui_changed
guint32 height
Gtk::Button hide_button
SigC::Signal0< void > Hiding
SigC::Signal2< void,
MarkerTimeAxis *, void * > 
MarkerTimeAxisAdded
SigC::Signal2< void,
std::string, void * > 
MarkerTimeAxisRemoved
Gtk::Entry name_entry
Gtk::Frame name_frame
Gtk::HBox name_hbox
ArdourPrompter * name_prompter
SigC::Signal3< void,
std::string, std::string, void * > 
NameChanged
int order
Gtk::HBox other_button_hbox
Gtk::Button size_button
std::string time_axis_name
Gtk::Button visual_button
SigC::Signal2< void,
std::string, void * > 
VisualTimeAxisRemoved
double y_position

Protected Member Functions

void add_child (TimeAxisView *)
virtual void build_size_menu ()
virtual gint controls_ebox_button_release (GdkEventButton *ev)
TimeAxisViewget_parent_with_state ()
SelectionRect * get_selection_rect (uint32_t id)
virtual gint handle_display_menu_map_event (GdkEventAny *ev)
bool is_child (TimeAxisView *)
virtual gint name_entry_button_press (GdkEventButton *ev)
virtual gint name_entry_button_release (GdkEventButton *ev)
virtual void popup_display_menu (guint32 when)
void popup_size_menu (guint32 when)
void remove_child (TimeAxisView *)
virtual void selection_click (GdkEventButton *)
gint size_click (GdkEventButton *ev)

Static Protected Member Functions

static GdkColor unique_random_color ()

Protected Attributes

Gdk_Color _color
bool _has_state
bool _hidden
bool _marked_for_display
bool _selected
ARDOUR::Session & _session
std::vector< TimeAxisView * > children
string controls_base_selected_name
string controls_base_unselected_name
Gtk::Menu * display_menu
list< SelectionRect * > free_selection_rects
Gtk::Label name_label
TimeAxisViewparent
GtkCanvasItem * selection_group
Gtk::Menu * size_menu
list< SelectionRect * > used_selection_rects

Static Protected Attributes

static list< GdkColor > used_colors

Private Types

typedef std::list
< MarkerTimeAxis * > 
MarkerTimeAxisList

Private Member Functions

virtual void build_display_menu ()
void create_imageframe_menu ()
void select_track_color ()

Private Attributes

Gtk::Menu * image_action_menu
Gtk::Menu * imageframe_item_menu
Gtk::Menu * imageframe_menu
MarkerTimeAxisList marker_time_axis_list
ImageFrameTimeAxisViewview

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

Generated by  Doxygen 1.6.0   Back to index