Ardour  9.0-pre0-582-g084a23a80d
VelocityGhostRegion Class Reference

#include <velocity_ghost_region.h>

Inheritance diagram for VelocityGhostRegion:
[legend]

Public Member Functions

 VelocityGhostRegion (MidiRegionView &, TimeAxisView &tv, TimeAxisView &source_tv, double initial_unit_pos)
 
 ~VelocityGhostRegion ()
 
void remove_note (NoteBase *)
 
void add_note (NoteBase *)
 
void note_selected (NoteBase *)
 
void update_note (GhostEvent *)
 
void update_contents_height ()
 
void update_hit (GhostEvent *)
 
ArdourCanvas::Rectanglebase_item ()
 
void set_colors ()
 
- Public Member Functions inherited from MidiGhostRegion
 MidiGhostRegion (MidiRegionView &rv, TimeAxisView &tv, TimeAxisView &source_tv, double initial_unit_pos)
 
 ~MidiGhostRegion ()
 
MidiStreamViewmidi_view ()
 
void set_height ()
 
void set_samples_per_pixel (double spu)
 
void model_changed ()
 
void view_changed ()
 
void clear_events ()
 
- Public Member Functions inherited from GhostRegion
 GhostRegion (RegionView &rv, ArdourCanvas::Container *parent, TimeAxisView &tv, TimeAxisView &source_tv, double initial_unit_pos)
 
virtual ~GhostRegion ()
 
void set_duration (double units)
 
virtual void set_selected (bool)
 
guint source_track_color (unsigned char alpha=0xff)
 
bool is_automation_ghost ()
 
- Public Member Functions inherited from VelocityDisplay
 VelocityDisplay (EditingContext &, MidiViewBackground &, MidiView &, ArdourCanvas::Rectangle &base_rect, ArdourCanvas::Container &, GhostEvent::EventList &el, Gtkmm2ext::Color oc)
 
virtual ~VelocityDisplay ()
 
void hide ()
 
void show ()
 
void redisplay ()
 
void add_note (NoteBase *)
 
void update_note (NoteBase *)
 
void update_ghost_event (GhostEvent *)
 
void update_note (GhostEvent *gev)
 
void update_hit (GhostEvent *gev)
 
void note_selected (NoteBase *)
 
void clear ()
 
void set_colors ()
 
void drag_lolli (ArdourCanvas::Lollipop *l, GdkEventMotion *ev)
 
int y_position_to_velocity (double y) const
 
void set_selected (bool)
 
bool line_draw_motion (ArdourCanvas::Duple const &d, ArdourCanvas::Rectangle const &r, double last_x)
 
bool line_extended (ArdourCanvas::Duple const &from, ArdourCanvas::Duple const &to, ArdourCanvas::Rectangle const &r, double last_x)
 
void start_line_drag ()
 
void end_line_drag (bool did_change)
 
ArdourCanvas::Rectanglebase_item ()
 
MidiViewmidi_view () const
 

Private Member Functions

bool base_event (GdkEvent *)
 
bool lollevent (GdkEvent *, GhostEvent *)
 

Additional Inherited Members

- Public Attributes inherited from GhostRegion
RegionViewparent_rv
 
TimeAxisViewtrackview
 
TimeAxisViewsource_trackview
 
ArdourCanvas::Containergroup
 
ArdourCanvas::Rectanglebase_rect
 
- Protected Member Functions inherited from MidiGhostRegion
GhostEventfind_event (std::shared_ptr< GhostEvent::NoteType >)
 
- Protected Member Functions inherited from VelocityDisplay
void set_size_and_position (GhostEvent &)
 
void lollis_close_to_x (int x, double distance, std::vector< GhostEvent * > &events)
 
void lollis_between (int x0, int x1, std::vector< GhostEvent * > &events)
 
void desensitize_lollis ()
 
void sensitize_lollis ()
 
- Protected Attributes inherited from MidiGhostRegion
ArdourCanvas::Container_note_group
 
Gtkmm2ext::Color _outline
 
ArdourCanvas::Rectangle_tmp_rect
 
ArdourCanvas::Polygon_tmp_poly
 
MidiRegionViewparent_mrv
 
GhostEvent::EventList events
 
- Protected Attributes inherited from VelocityDisplay
EditingContextediting_context
 
MidiViewBackgroundbg
 
MidiViewview
 
ArdourCanvas::Rectanglebase
 
ArdourCanvas::Containerlolli_container
 
GhostEvent::EventListevents
 
Gtkmm2ext::Color _outline
 
bool dragging
 
ArdourCanvas::PolyLinedragging_line
 
int last_drag_x
 
bool drag_did_change
 
bool selected
 
GhostEvent::EventList::iterator _optimization_iterator
 

Detailed Description

Definition at line 34 of file velocity_ghost_region.h.

Constructor & Destructor Documentation

◆ VelocityGhostRegion()

VelocityGhostRegion::VelocityGhostRegion ( MidiRegionView ,
TimeAxisView tv,
TimeAxisView source_tv,
double  initial_unit_pos 
)

◆ ~VelocityGhostRegion()

VelocityGhostRegion::~VelocityGhostRegion ( )

Member Function Documentation

◆ add_note()

void VelocityGhostRegion::add_note ( NoteBase )
virtual

Reimplemented from MidiGhostRegion.

◆ base_event()

bool VelocityGhostRegion::base_event ( GdkEvent )
privatevirtual

Implements VelocityDisplay.

◆ base_item()

ArdourCanvas::Rectangle& VelocityGhostRegion::base_item ( )

◆ lollevent()

bool VelocityGhostRegion::lollevent ( GdkEvent ,
GhostEvent  
)
privatevirtual

Implements VelocityDisplay.

◆ note_selected()

void VelocityGhostRegion::note_selected ( NoteBase )
virtual

Reimplemented from MidiGhostRegion.

◆ remove_note()

void VelocityGhostRegion::remove_note ( NoteBase )
virtual

Reimplemented from MidiGhostRegion.

◆ set_colors()

void VelocityGhostRegion::set_colors ( )
virtual

Reimplemented from MidiGhostRegion.

◆ update_contents_height()

void VelocityGhostRegion::update_contents_height ( )
virtual

Reimplemented from MidiGhostRegion.

◆ update_hit()

void VelocityGhostRegion::update_hit ( GhostEvent )
virtual

Reimplemented from MidiGhostRegion.

◆ update_note()

void VelocityGhostRegion::update_note ( GhostEvent )
virtual

Reimplemented from MidiGhostRegion.


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