Ardour  9.0-pre0-822-g12e3bc5c20
RegionEditor Class Reference

#include <region_editor.h>

Inheritance diagram for RegionEditor:
[legend]

Classes

class  RegionFxBox
 
class  RegionFxEntry
 

Public Member Functions

 RegionEditor (ARDOUR::Session *, RegionView *)
 
virtual ~RegionEditor ()
 
std::shared_ptr< ARDOUR::Regionregion () const
 
- Public Member Functions inherited from ArdourWidgets::Frame
 Frame (Orientation orientation=Horizontal, bool force_boxy=false)
 
 ~Frame ()
 
void set_label (std::string const &)
 
void set_padding (int)
 
void set_edge_color (Gtkmm2ext::Color)
 
void reset_edge_color ()
 
void set_draw (bool yn)
 
bool draw () const
 
- Public Member Functions inherited from ARDOUR::SessionHandlePtr
 SessionHandlePtr (ARDOUR::Session *s)
 
 SessionHandlePtr ()
 
virtual ~SessionHandlePtr ()
 
virtual void set_session (ARDOUR::Session *)
 
virtual ARDOUR::Sessionsession () const
 

Protected Member Functions

virtual void region_changed (const PBD::PropertyChange &)
 
virtual void region_fx_changed ()
 
- Protected Member Functions inherited from ArdourWidgets::Frame
void on_add (Gtk::Widget *)
 
void on_remove (Gtk::Widget *)
 
void on_size_request (GtkRequisition *)
 
void on_size_allocate (Gtk::Allocation &)
 
bool on_expose_event (GdkEventExpose *)
 
void on_style_changed (const Glib::RefPtr< Gtk::Style > &)
 
void on_name_changed ()
 
- Protected Member Functions inherited from ARDOUR::SessionHandlePtr
virtual void session_going_away ()
 

Protected Attributes

Gtk::Table _table_main
 
Gtk::Table _table_clocks
 
- 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 set_clock_mode_from_primary ()
 

Private Attributes

std::shared_ptr< ARDOUR::Region_region
 
Gtk::Label _name_label
 
Gtk::Entry _name_entry
 
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
 
Gtk::Label _region_fx_label
 
Gtk::ToggleButton _audition_button
 
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
 
RegionFxBox _region_fx_box
 
bool _spin_arrow_grab
 
Gtk::Label _sources_label
 
Gtk::ListViewText _sources
 
PBD::ScopedConnection _state_connection
 
PBD::ScopedConnection _audition_connection
 
PBD::ScopedConnection _region_connection
 

Additional Inherited Members

- Public Types inherited from ArdourWidgets::Frame
enum  Orientation { Horizontal , Vertical }
 
- Static Public Member Functions inherited from Gtkmm2ext::CairoTheme
static void set_flat_buttons (bool yn)
 
static void set_boxy_buttons (bool yn)
 
static void set_widget_prelight (bool yn)
 
static bool flat_buttons ()
 
static bool boxy_buttons ()
 
static bool widget_prelight ()
 

Detailed Description

Definition at line 61 of file region_editor.h.

Constructor & Destructor Documentation

◆ RegionEditor()

RegionEditor::RegionEditor ( ARDOUR::Session ,
RegionView  
)

◆ ~RegionEditor()

virtual RegionEditor::~RegionEditor ( )
virtual

Member Function Documentation

◆ activation()

void RegionEditor::activation ( )
private

◆ audition_button_toggled()

void RegionEditor::audition_button_toggled ( )
private

◆ audition_state_changed()

void RegionEditor::audition_state_changed ( bool  )
private

◆ bounds_changed()

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

◆ bpressed()

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

◆ breleased()

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

◆ connect_editor_events()

void RegionEditor::connect_editor_events ( )
private

◆ end_clock_changed()

void RegionEditor::end_clock_changed ( )
private

◆ length_clock_changed()

void RegionEditor::length_clock_changed ( )
private

◆ name_changed()

void RegionEditor::name_changed ( )
private

◆ name_entry_changed()

void RegionEditor::name_entry_changed ( )
private

◆ on_delete_event()

bool RegionEditor::on_delete_event ( GdkEventAny *  )
private

◆ position_clock_changed()

void RegionEditor::position_clock_changed ( )
private

◆ region()

std::shared_ptr<ARDOUR::Region> RegionEditor::region ( ) const
inline

Definition at line 67 of file region_editor.h.

◆ region_changed()

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

Reimplemented in AudioRegionEditor.

◆ region_fx_changed()

virtual void RegionEditor::region_fx_changed ( )
protectedvirtual

Reimplemented in AudioRegionEditor.

◆ set_clock_mode_from_primary()

void RegionEditor::set_clock_mode_from_primary ( )
private

◆ sync_offset_absolute_clock_changed()

void RegionEditor::sync_offset_absolute_clock_changed ( )
private

◆ sync_offset_relative_clock_changed()

void RegionEditor::sync_offset_relative_clock_changed ( )
private

Member Data Documentation

◆ _audition_button

Gtk::ToggleButton RegionEditor::_audition_button
private

Definition at line 166 of file region_editor.h.

◆ _audition_connection

PBD::ScopedConnection RegionEditor::_audition_connection
private

Definition at line 185 of file region_editor.h.

◆ _clock_group

ClockGroup* RegionEditor::_clock_group
private

Definition at line 168 of file region_editor.h.

◆ _end_clock

AudioClock RegionEditor::_end_clock
private

Definition at line 171 of file region_editor.h.

◆ _end_label

Gtk::Label RegionEditor::_end_label
private

Definition at line 159 of file region_editor.h.

◆ _length_clock

AudioClock RegionEditor::_length_clock
private

Definition at line 172 of file region_editor.h.

◆ _length_label

Gtk::Label RegionEditor::_length_label
private

Definition at line 160 of file region_editor.h.

◆ _name_entry

Gtk::Entry RegionEditor::_name_entry
private

Definition at line 157 of file region_editor.h.

◆ _name_label

Gtk::Label RegionEditor::_name_label
private

Definition at line 156 of file region_editor.h.

◆ _position_clock

AudioClock RegionEditor::_position_clock
private

Definition at line 170 of file region_editor.h.

◆ _position_label

Gtk::Label RegionEditor::_position_label
private

Definition at line 158 of file region_editor.h.

◆ _region

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

Definition at line 152 of file region_editor.h.

◆ _region_connection

PBD::ScopedConnection RegionEditor::_region_connection
private

Definition at line 186 of file region_editor.h.

◆ _region_fx_box

RegionFxBox RegionEditor::_region_fx_box
private

Definition at line 177 of file region_editor.h.

◆ _region_fx_label

Gtk::Label RegionEditor::_region_fx_label
private

Definition at line 164 of file region_editor.h.

◆ _sources

Gtk::ListViewText RegionEditor::_sources
private

Definition at line 182 of file region_editor.h.

◆ _sources_label

Gtk::Label RegionEditor::_sources_label
private

Definition at line 181 of file region_editor.h.

◆ _spin_arrow_grab

bool RegionEditor::_spin_arrow_grab
private

Definition at line 179 of file region_editor.h.

◆ _start_clock

AudioClock RegionEditor::_start_clock
private

Definition at line 175 of file region_editor.h.

◆ _start_label

Gtk::Label RegionEditor::_start_label
private

Definition at line 163 of file region_editor.h.

◆ _state_connection

PBD::ScopedConnection RegionEditor::_state_connection
private

Definition at line 184 of file region_editor.h.

◆ _sync_absolute_label

Gtk::Label RegionEditor::_sync_absolute_label
private

Definition at line 162 of file region_editor.h.

◆ _sync_offset_absolute_clock

AudioClock RegionEditor::_sync_offset_absolute_clock
private

sync offset relative to the start of the timeline

Definition at line 174 of file region_editor.h.

◆ _sync_offset_relative_clock

AudioClock RegionEditor::_sync_offset_relative_clock
private

sync offset relative to the start of the region

Definition at line 173 of file region_editor.h.

◆ _sync_relative_label

Gtk::Label RegionEditor::_sync_relative_label
private

Definition at line 161 of file region_editor.h.

◆ _table_clocks

Gtk::Table RegionEditor::_table_clocks
protected

Definition at line 74 of file region_editor.h.

◆ _table_main

Gtk::Table RegionEditor::_table_main
protected

Definition at line 73 of file region_editor.h.


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