ardour
Public Member Functions | Protected Member Functions | Protected Attributes | Private Member Functions | Private Attributes | List of all members
RegionEditor Class Reference

#include <region_editor.h>

Inheritance diagram for RegionEditor:
ArdourDialog ARDOUR::SessionHandlePtr AudioRegionEditor

Public Member Functions

 RegionEditor (ARDOUR::Session *, boost::shared_ptr< ARDOUR::Region >)
 
virtual ~RegionEditor ()
 
- Public Member Functions inherited from ArdourDialog
 ArdourDialog (std::string title, bool modal=false, bool use_separator=false)
 
 ArdourDialog (Gtk::Window &parent, std::string title, bool modal=false, bool use_separator=false)
 
 ~ArdourDialog ()
 
bool on_focus_in_event (GdkEventFocus *)
 
bool on_focus_out_event (GdkEventFocus *)
 
bool on_delete_event (GdkEventAny *)
 
void on_unmap ()
 
void on_show ()
 
- Public Member Functions inherited from ARDOUR::SessionHandlePtr
 SessionHandlePtr (ARDOUR::Session *s)
 
 SessionHandlePtr ()
 
virtual ~SessionHandlePtr ()
 
virtual void set_session (ARDOUR::Session *)
 

Protected Member Functions

virtual void region_changed (const PBD::PropertyChange &)
 
- Protected Member Functions inherited from ARDOUR::SessionHandlePtr
virtual void session_going_away ()
 

Protected Attributes

Gtk::Table _table
 
int _table_row
 
- Protected Attributes inherited from ARDOUR::SessionHandlePtr
ARDOUR::Session_session
 
PBD::ScopedConnectionList _session_connections
 

Private Member Functions

void connect_editor_events ()
 
void bounds_changed (const PBD::PropertyChange &)
 
void name_changed ()
 
void audition_state_changed (bool)
 
void activation ()
 
void name_entry_changed ()
 
void position_clock_changed ()
 
void end_clock_changed ()
 
void length_clock_changed ()
 
void sync_offset_absolute_clock_changed ()
 
void sync_offset_relative_clock_changed ()
 
void audition_button_toggled ()
 
gint bpressed (GdkEventButton *ev, Gtk::SpinButton *but, void(RegionEditor::*pmf)())
 
gint breleased (GdkEventButton *ev, Gtk::SpinButton *but, void(RegionEditor::*pmf)())
 
bool on_delete_event (GdkEventAny *)
 
void handle_response (int)
 

Private Attributes

boost::shared_ptr< ARDOUR::Region_region
 
Gtk::Label name_label
 
Gtk::Entry name_entry
 
Gtk::ToggleButton audition_button
 
Gtk::Label position_label
 
Gtk::Label end_label
 
Gtk::Label length_label
 
Gtk::Label sync_relative_label
 
Gtk::Label sync_absolute_label
 
Gtk::Label start_label
 
ClockGroup_clock_group
 
AudioClock position_clock
 
AudioClock end_clock
 
AudioClock length_clock
 
AudioClock sync_offset_relative_clock
 sync offset relative to the start of the region More...
 
AudioClock sync_offset_absolute_clock
 sync offset relative to the start of the timeline More...
 
AudioClock start_clock
 
PBD::ScopedConnection state_connection
 
PBD::ScopedConnection audition_connection
 
bool spin_arrow_grab
 
Gtk::Label _sources_label
 
Gtk::ListViewText _sources
 

Detailed Description

Definition at line 52 of file region_editor.h.

Constructor & Destructor Documentation

RegionEditor::RegionEditor ( ARDOUR::Session s,
boost::shared_ptr< ARDOUR::Region r 
)

Definition at line 45 of file region_editor.cc.

RegionEditor::~RegionEditor ( )
virtual

Definition at line 197 of file region_editor.cc.

Member Function Documentation

void RegionEditor::activation ( )
private

Definition at line 377 of file region_editor.cc.

void RegionEditor::audition_button_toggled ( )
private

Definition at line 325 of file region_editor.cc.

void RegionEditor::audition_state_changed ( bool  yn)
private

Definition at line 391 of file region_editor.cc.

void RegionEditor::bounds_changed ( const PBD::PropertyChange what_changed)
private

Definition at line 343 of file region_editor.cc.

gint RegionEditor::bpressed ( GdkEventButton *  ev,
Gtk::SpinButton *  but,
void(RegionEditor::*)()  pmf 
)
private

Definition at line 222 of file region_editor.cc.

gint RegionEditor::breleased ( GdkEventButton *  ev,
Gtk::SpinButton *  but,
void(RegionEditor::*)()  pmf 
)
private

Definition at line 245 of file region_editor.cc.

void RegionEditor::connect_editor_events ( )
private

Definition at line 255 of file region_editor.cc.

void RegionEditor::end_clock_changed ( )
private

Definition at line 287 of file region_editor.cc.

void RegionEditor::handle_response ( int  )
private

Definition at line 440 of file region_editor.cc.

void RegionEditor::length_clock_changed ( )
private

Definition at line 305 of file region_editor.cc.

void RegionEditor::name_changed ( )
private

Definition at line 335 of file region_editor.cc.

void RegionEditor::name_entry_changed ( )
private

Definition at line 383 of file region_editor.cc.

bool RegionEditor::on_delete_event ( GdkEventAny *  )
private

Definition at line 425 of file region_editor.cc.

void RegionEditor::position_clock_changed ( )
private

Definition at line 271 of file region_editor.cc.

void RegionEditor::region_changed ( const PBD::PropertyChange what_changed)
protectedvirtual

Reimplemented in AudioRegionEditor.

Definition at line 203 of file region_editor.cc.

void RegionEditor::sync_offset_absolute_clock_changed ( )
private

Definition at line 401 of file region_editor.cc.

void RegionEditor::sync_offset_relative_clock_changed ( )
private

Definition at line 413 of file region_editor.cc.

Member Data Documentation

ClockGroup* RegionEditor::_clock_group
private

Definition at line 80 of file region_editor.h.

boost::shared_ptr<ARDOUR::Region> RegionEditor::_region
private

Definition at line 65 of file region_editor.h.

Gtk::ListViewText RegionEditor::_sources
private

Definition at line 117 of file region_editor.h.

Gtk::Label RegionEditor::_sources_label
private

Definition at line 116 of file region_editor.h.

Gtk::Table RegionEditor::_table
protected

Definition at line 61 of file region_editor.h.

int RegionEditor::_table_row
protected

Definition at line 62 of file region_editor.h.

Gtk::ToggleButton RegionEditor::audition_button
private

Definition at line 71 of file region_editor.h.

PBD::ScopedConnection RegionEditor::audition_connection
private

Definition at line 90 of file region_editor.h.

AudioClock RegionEditor::end_clock
private

Definition at line 83 of file region_editor.h.

Gtk::Label RegionEditor::end_label
private

Definition at line 74 of file region_editor.h.

AudioClock RegionEditor::length_clock
private

Definition at line 84 of file region_editor.h.

Gtk::Label RegionEditor::length_label
private

Definition at line 75 of file region_editor.h.

Gtk::Entry RegionEditor::name_entry
private

Definition at line 70 of file region_editor.h.

Gtk::Label RegionEditor::name_label
private

Definition at line 69 of file region_editor.h.

AudioClock RegionEditor::position_clock
private

Definition at line 82 of file region_editor.h.

Gtk::Label RegionEditor::position_label
private

Definition at line 73 of file region_editor.h.

bool RegionEditor::spin_arrow_grab
private

Definition at line 114 of file region_editor.h.

AudioClock RegionEditor::start_clock
private

Definition at line 87 of file region_editor.h.

Gtk::Label RegionEditor::start_label
private

Definition at line 78 of file region_editor.h.

PBD::ScopedConnection RegionEditor::state_connection
private

Definition at line 89 of file region_editor.h.

Gtk::Label RegionEditor::sync_absolute_label
private

Definition at line 77 of file region_editor.h.

AudioClock RegionEditor::sync_offset_absolute_clock
private

sync offset relative to the start of the timeline

Definition at line 86 of file region_editor.h.

AudioClock RegionEditor::sync_offset_relative_clock
private

sync offset relative to the start of the region

Definition at line 85 of file region_editor.h.

Gtk::Label RegionEditor::sync_relative_label
private

Definition at line 76 of file region_editor.h.


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