Ardour  9.0-pre0-582-g084a23a80d
CueMidiBackground Class Reference

#include <midi_cue_background.h>

Inheritance diagram for CueMidiBackground:
[legend]

Public Member Functions

 CueMidiBackground (ArdourCanvas::Item *parent)
 
 ~CueMidiBackground ()
 
double height () const
 
double width () const
 
double contents_height () const
 
uint8_t get_preferred_midi_channel () const
 
void set_note_highlight (bool)
 
void record_layer_check (std::shared_ptr< ARDOUR::Region >, samplepos_t)
 
void set_size (double w, double h)
 
void set_view (MidiView *)
 
- Public Member Functions inherited from MidiViewBackground
 MidiViewBackground (ArdourCanvas::Item *parent)
 
 ~MidiViewBackground ()
 
ARDOUR::NoteMode note_mode () const
 
void set_note_mode (ARDOUR::NoteMode nm)
 
ARDOUR::ColorMode color_mode () const
 
void set_color_mode (ARDOUR::ColorMode)
 
Gtkmm2ext::Color region_color () const
 
void set_note_visibility_range_style (VisibleNoteRange r)
 
VisibleNoteRange visibility_range_style () const
 
uint8_t lowest_note () const
 
uint8_t highest_note () const
 
void maybe_extend_note_range (uint8_t note_num)
 
double note_to_y (uint8_t note) const
 
uint8_t y_to_note (double y) const
 
uint8_t contents_note_range () const
 
double note_height () const
 
void apply_note_range (uint8_t lowest, uint8_t highest, bool to_children)
 
virtual double y_position () const
 
- Public Member Functions inherited from ViewBackground
 ViewBackground ()
 
virtual ~ViewBackground ()
 

Protected Member Functions

void apply_note_range_to_children ()
 
- Protected Member Functions inherited from MidiViewBackground
void color_handler ()
 
void parameter_changed (std::string const &)
 
void note_range_adjustment_changed ()
 
void draw_note_lines ()
 
bool update_data_note_range (uint8_t min, uint8_t max)
 
void update_contents_height ()
 
virtual bool updates_suspended () const
 
void sync_data_and_visual_range ()
 

Protected Attributes

MidiViewview
 
double _width
 
double _height
 
- Protected Attributes inherited from MidiViewBackground
bool _range_dirty
 
double _range_sum_cache
 
uint8_t _lowest_note
 currently visible More...
 
uint8_t _highest_note
 currently visible More...
 
uint8_t _data_note_min
 in data More...
 
uint8_t _data_note_max
 in data More...
 
ArdourCanvas::LineSet_note_lines
 
ARDOUR::NoteMode _note_mode
 
Gtkmm2ext::Color _region_color
 
ARDOUR::ColorMode _color_mode
 
VisibleNoteRange _visibility_note_range
 

Additional Inherited Members

- Public Types inherited from MidiViewBackground
enum  VisibleNoteRange { FullRange , ContentsRange }
 
- Public Attributes inherited from MidiViewBackground
Gtk::Adjustment note_range_adjustment
 
sigc::signal< void > NoteRangeChanged
 
PBD::Signal< void()> HeightChanged
 

Detailed Description

Definition at line 36 of file midi_cue_background.h.

Constructor & Destructor Documentation

◆ CueMidiBackground()

CueMidiBackground::CueMidiBackground ( ArdourCanvas::Item parent)

◆ ~CueMidiBackground()

CueMidiBackground::~CueMidiBackground ( )

Member Function Documentation

◆ apply_note_range_to_children()

void CueMidiBackground::apply_note_range_to_children ( )
protectedvirtual

Implements MidiViewBackground.

◆ contents_height()

double CueMidiBackground::contents_height ( ) const
virtual

Reimplemented from ViewBackground.

◆ get_preferred_midi_channel()

uint8_t CueMidiBackground::get_preferred_midi_channel ( ) const
virtual

Implements MidiViewBackground.

◆ height()

double CueMidiBackground::height ( ) const
virtual

Reimplemented from ViewBackground.

◆ record_layer_check()

void CueMidiBackground::record_layer_check ( std::shared_ptr< ARDOUR::Region ,
samplepos_t   
)
virtual

Implements MidiViewBackground.

◆ set_note_highlight()

void CueMidiBackground::set_note_highlight ( bool  )
virtual

Implements MidiViewBackground.

◆ set_size()

void CueMidiBackground::set_size ( double  w,
double  h 
)
virtual

Reimplemented from MidiViewBackground.

◆ set_view()

void CueMidiBackground::set_view ( MidiView )

◆ width()

double CueMidiBackground::width ( ) const
virtual

Reimplemented from ViewBackground.

Member Data Documentation

◆ _height

double CueMidiBackground::_height
protected

Definition at line 56 of file midi_cue_background.h.

◆ _width

double CueMidiBackground::_width
protected

Definition at line 55 of file midi_cue_background.h.

◆ view

MidiView* CueMidiBackground::view
protected

Definition at line 54 of file midi_cue_background.h.


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