Ardour
9.0-pre0-822-g12e3bc5c20
|
#include <audio_clip_editor.h>
Classes | |
class | ClipBBTMetric |
class | LineDrag |
class | ScrollDrag |
Public Member Functions | |
AudioClipEditor () | |
~AudioClipEditor () | |
void | set_region (std::shared_ptr< ARDOUR::AudioRegion >, ARDOUR::TriggerReference) |
void | on_size_allocate (Gtk::Allocation &) |
double | sample_to_pixel (ARDOUR::samplepos_t) |
samplepos_t | pixel_to_sample (double) |
void | set_spp (double) |
double | spp () const |
bool | key_press (GdkEventKey *) |
Public Member Functions inherited from ArdourCanvas::GtkCanvas | |
GtkCanvas () | |
~GtkCanvas () | |
void | use_nsglview (bool retina=true) |
void | request_redraw (Rect const &) |
void | request_size (Duple) |
void | grab (Item *) |
void | ungrab () |
void | focus (Item *) |
void | unfocus (Item *) |
bool | have_grab () const |
bool | grab_can_translate () const |
Rect | visible_area () const |
Coord | width () const |
Coord | height () const |
bool | get_mouse_position (Duple &winpos) const |
void | set_single_exposure (bool s) |
bool | single_exposure () |
void | re_enter () |
void | start_tooltip_timeout (Item *) |
void | stop_tooltip_timeout () |
void | queue_draw () |
void | queue_draw_area (int x, int y, int width, int height) |
void | queue_resize () |
Glib::RefPtr< Pango::Context > | get_pango_context () |
void | render (Cairo::RefPtr< Cairo::Context > const &ctx, cairo_rectangle_t *r) |
void | prepare_for_render () const |
uint32_t | background_color () |
Public Member Functions inherited from ArdourCanvas::Canvas | |
Canvas () | |
virtual | ~Canvas () |
void | render (Rect const &, Cairo::RefPtr< Cairo::Context > const &) const |
void | prepare_for_render (Rect const &) const |
gint64 | get_last_render_start_timestamp () const |
gint64 | get_microseconds_since_render_start () const |
Item * | root () |
void | freeze_queue_draw () |
void | thaw_queue_draw () |
void | set_background_color (Gtkmm2ext::Color) |
Gtkmm2ext::Color | background_color () const |
void | item_visual_property_changed (Item *) |
void | item_changed (Item *, Rect) |
void | item_moved (Item *, Rect) |
Duple | canvas_to_window (Duple const &, bool rounded=true) const |
Duple | window_to_canvas (Duple const &) const |
void | canvas_to_window (Coord cx, Coord cy, Coord &wx, Coord &wy) |
void | window_to_canvas (Coord wx, Coord wy, Coord &cx, Coord &cy) |
void | scroll_to (Coord x, Coord y) |
void | add_scroller (ScrollGroup &i) |
Duple | clamp_to_window (Duple const &winpos, Duple border=Duple()) |
void | zoomed () |
std::string | indent () const |
std::string | render_indent () const |
void | dump (std::ostream &) const |
void | use_intermediate_surface (bool yn=true) |
void | set_debug_render (bool yn) |
bool | debug_render () const |
Public Member Functions inherited from Gtkmm2ext::CairoCanvas | |
virtual | ~CairoCanvas () |
Private Types | |
enum | LineType { StartLine , EndLine , LoopLine } |
Private Member Functions | |
void | scroll_left () |
void | scrol_right () |
bool | event_handler (GdkEvent *ev) |
bool | line_event_handler (GdkEvent *ev, ArdourCanvas::Line *) |
bool | scroll_event_handler (GdkEvent *ev) |
void | drop_waves () |
void | set_wave_heights () |
void | set_spp_from_length (ARDOUR::samplecnt_t) |
void | set_waveform_colors () |
void | set_colors () |
void | position_lines () |
void | scroll_changed () |
Private Attributes | |
ArdourCanvas::Rectangle * | frame |
ArdourCanvas::ScrollGroup * | waves_container |
ArdourCanvas::Container * | line_container |
ArdourCanvas::Line * | start_line |
ArdourCanvas::Line * | end_line |
ArdourCanvas::Line * | loop_line |
ArdourCanvas::Rectangle * | scroll_bar_trough |
ArdourCanvas::Rectangle * | scroll_bar_handle |
ArdourCanvas::Container * | ruler_container |
ArdourCanvas::Ruler * | ruler |
ClipBBTMetric * | clip_metric |
std::vector< ArdourWaveView::WaveView * > | waves |
double | non_wave_height |
samplepos_t | left_origin |
double | _spp |
double | scroll_fraction |
std::shared_ptr< ARDOUR::AudioRegion > | audio_region |
LineDrag * | current_line_drag |
ScrollDrag * | current_scroll_drag |
Friends | |
class | LineDrag |
class | ScrollDrag |
Additional Inherited Members | |
Static Public Member Functions inherited from ArdourCanvas::Canvas | |
static void | set_tooltip_timeout (uint32_t msecs) |
Public Attributes inherited from ArdourCanvas::Canvas | |
sigc::signal< void, Duple const & > | MouseMotion |
sigc::signal< void > | PreRender |
bool | item_save_restore |
Protected Member Functions inherited from ArdourCanvas::GtkCanvas | |
void | on_size_allocate (Gtk::Allocation &) |
bool | on_scroll_event (GdkEventScroll *) |
bool | on_expose_event (GdkEventExpose *) |
bool | on_key_press_event (GdkEventKey *) |
bool | on_key_release_event (GdkEventKey *) |
bool | on_button_press_event (GdkEventButton *) |
bool | on_button_release_event (GdkEventButton *event) |
bool | on_motion_notify_event (GdkEventMotion *) |
bool | on_touch_begin_event (GdkEventTouch *) |
bool | on_touch_update_event (GdkEventTouch *event) |
bool | on_touch_end_event (GdkEventTouch *) |
bool | on_enter_notify_event (GdkEventCrossing *) |
bool | on_leave_notify_event (GdkEventCrossing *) |
void | on_style_changed (const Glib::RefPtr< Gtk::Style > &) |
bool | on_visibility_notify_event (GdkEventVisibility *) |
void | on_map () |
void | on_unmap () |
void | on_realize () |
bool | button_handler (GdkEventButton *) |
bool | motion_notify_handler (GdkEventMotion *) |
bool | deliver_event (GdkEvent *) |
void | deliver_enter_leave (Duple const &point, int state) |
void | get_items_enclosing (Duple const &point, std::list< Item const * > &enclosing_items) |
void | pick_current_item (int state) |
void | pick_current_item (Duple const &, int state) |
Protected Member Functions inherited from ArdourCanvas::Canvas | |
void | queue_draw_item_area (Item *, Rect) |
Rect | compute_draw_item_area (Item *, Rect) |
Protected Attributes inherited from ArdourCanvas::Canvas | |
Root | _root |
uint32_t | _queue_draw_frozen |
Rect | frozen_area |
Gtkmm2ext::Color | _bg_color |
bool | _debug_render |
gint64 | _last_render_start_timestamp |
std::list< ScrollGroup * > | scrollers |
bool | _use_intermediate_surface |
Static Protected Attributes inherited from ArdourCanvas::Canvas | |
static uint32_t | tooltip_timeout_msecs |
Definition at line 88 of file audio_clip_editor.h.
|
private |
Enumerator | |
---|---|
StartLine | |
EndLine | |
LoopLine |
Definition at line 145 of file audio_clip_editor.h.
AudioClipEditor::AudioClipEditor | ( | ) |
AudioClipEditor::~AudioClipEditor | ( | ) |
|
private |
|
private |
bool AudioClipEditor::key_press | ( | GdkEventKey * | ) |
|
private |
void AudioClipEditor::on_size_allocate | ( | Gtk::Allocation & | ) |
samplepos_t AudioClipEditor::pixel_to_sample | ( | double | ) |
|
private |
double AudioClipEditor::sample_to_pixel | ( | ARDOUR::samplepos_t | ) |
|
private |
|
private |
|
private |
|
private |
|
private |
void AudioClipEditor::set_region | ( | std::shared_ptr< ARDOUR::AudioRegion > | , |
ARDOUR::TriggerReference | |||
) |
void AudioClipEditor::set_spp | ( | double | ) |
|
private |
|
private |
|
private |
|
inline |
Definition at line 101 of file audio_clip_editor.h.
|
friend |
Definition at line 176 of file audio_clip_editor.h.
|
friend |
Definition at line 193 of file audio_clip_editor.h.
|
private |
Definition at line 138 of file audio_clip_editor.h.
|
private |
Definition at line 140 of file audio_clip_editor.h.
|
private |
Definition at line 134 of file audio_clip_editor.h.
|
private |
Definition at line 177 of file audio_clip_editor.h.
|
private |
Definition at line 194 of file audio_clip_editor.h.
|
private |
Definition at line 113 of file audio_clip_editor.h.
|
private |
Definition at line 109 of file audio_clip_editor.h.
|
private |
Definition at line 137 of file audio_clip_editor.h.
|
private |
Definition at line 111 of file audio_clip_editor.h.
|
private |
Definition at line 114 of file audio_clip_editor.h.
|
private |
Definition at line 136 of file audio_clip_editor.h.
|
private |
Definition at line 118 of file audio_clip_editor.h.
|
private |
Definition at line 117 of file audio_clip_editor.h.
|
private |
Definition at line 116 of file audio_clip_editor.h.
|
private |
Definition at line 115 of file audio_clip_editor.h.
|
private |
Definition at line 139 of file audio_clip_editor.h.
|
private |
Definition at line 112 of file audio_clip_editor.h.
|
private |
Definition at line 135 of file audio_clip_editor.h.
|
private |
Definition at line 110 of file audio_clip_editor.h.