Ardour  9.0-pre0-582-g084a23a80d
BBTMarker Class Reference

#include <marker.h>

Inheritance diagram for BBTMarker:
[legend]

Public Member Functions

 BBTMarker (PublicEditor &editor, ArdourCanvas::Item &, std::string const &color_name, Temporal::MusicTimePoint const &)
 
 ~BBTMarker ()
 
void reset_point (Temporal::MusicTimePoint const &)
 
void update ()
 
void set_position (Temporal::timepos_t const &)
 
Temporal::MusicTimePoint const & mt_point () const
 
Temporal::Point const & point () const
 
- Public Member Functions inherited from MetricMarker
 MetricMarker (PublicEditor &ed, ArdourCanvas::Item &parent, std::string const &color_name, const std::string &annotation, Type type, Temporal::timepos_t const &pos, bool handle_events)
 
- Public Member Functions inherited from ArdourMarker
 ArdourMarker (PublicEditor &editor, ArdourCanvas::Item &, std::string const &color_name, std::string const &text, Type, Temporal::timepos_t const &position, bool handle_events=true, RegionView *rv=nullptr, bool use_tooltip=true)
 
virtual ~ArdourMarker ()
 
ArdourCanvas::Itemthe_item () const
 
void set_selected (bool)
 
void set_entered (bool)
 
void set_show_line (bool)
 
void set_line_height (double)
 
virtual void reposition ()
 
void set_name (const std::string &, const std::string &tooltip=std::string())
 
void set_color (std::string const &color_name)
 
void set_points_color (std::string const &color_name)
 
void setup_line ()
 
ARDOUR::timepos_t position () const
 
ArdourCanvas::Itemget_parent ()
 
void reparent (ArdourCanvas::Item &parent)
 
void hide ()
 
void show ()
 
Type type ()
 
void set_left_label_limit (double)
 
void set_right_label_limit (double)
 
std::string name () const
 
bool label_on_left () const
 
RegionViewregion_view () const
 
void set_cue_index (int c)
 
int cue_index () const
 

Private Attributes

Temporal::MusicTimePoint const * _point
 
TempoMarkertempo_marker
 
MeterMarkermeter_marker
 

Additional Inherited Members

- Public Types inherited from ArdourMarker
enum  Type {
  Mark , Tempo , Meter , BBTPosition ,
  SessionStart , SessionEnd , Section , RangeStart ,
  RangeEnd , LoopStart , LoopEnd , PunchIn ,
  PunchOut , RegionCue , Cue , SelectionStart ,
  SelectionEnd
}
 
- Static Public Member Functions inherited from ArdourMarker
static void setup_sizes (const double timebar_height)
 
- Static Public Attributes inherited from ArdourMarker
static PBD::Signal< void(ArdourMarker *)> CatchDeletion
 
- Protected Member Functions inherited from ArdourMarker
void setup_line_x ()
 
void setup_name_display ()
 
- Protected Attributes inherited from ArdourMarker
PublicEditoreditor
 
Pango::FontDescription name_font
 
ArdourCanvas::Item_parent
 
ArdourCanvas::Itemgroup
 
ArdourCanvas::Circle_pcue
 
ArdourCanvas::Polygon_pmark
 
ArdourCanvas::Text_name_item
 
ArdourCanvas::Pointspoints
 
ArdourCanvas::Line_track_canvas_line
 
ArdourCanvas::Rectangle_name_flag
 
std::string _name
 
double unit_position
 
ARDOUR::timepos_t _position
 
double _shift
 
Type _type
 
int name_height
 
int name_descent
 
bool _selected
 
bool _entered
 
bool _shown
 
bool _line_shown
 
bool _use_tooltip
 
std::string _color
 
std::string _points_color
 
double _left_label_limit
 the number of pixels available to the left of this marker for a label More...
 
double _right_label_limit
 the number of pixels available to the right of this marker for a label More...
 
double _label_offset
 
double _line_height
 
RegionView_region_view
 
int _cue_index
 

Detailed Description

Definition at line 231 of file marker.h.

Constructor & Destructor Documentation

◆ BBTMarker()

BBTMarker::BBTMarker ( PublicEditor editor,
ArdourCanvas::Item ,
std::string const &  color_name,
Temporal::MusicTimePoint const &   
)

◆ ~BBTMarker()

BBTMarker::~BBTMarker ( )

Member Function Documentation

◆ mt_point()

Temporal::MusicTimePoint const& BBTMarker::mt_point ( ) const
inline

Definition at line 241 of file marker.h.

◆ point()

Temporal::Point const& BBTMarker::point ( ) const
virtual

Implements MetricMarker.

◆ reset_point()

void BBTMarker::reset_point ( Temporal::MusicTimePoint const &  )

◆ set_position()

void BBTMarker::set_position ( Temporal::timepos_t const &  )
virtual

Reimplemented from ArdourMarker.

◆ update()

void BBTMarker::update ( )
virtual

Implements MetricMarker.

Member Data Documentation

◆ _point

Temporal::MusicTimePoint const* BBTMarker::_point
private

Definition at line 245 of file marker.h.

◆ meter_marker

MeterMarker* BBTMarker::meter_marker
private

Definition at line 247 of file marker.h.

◆ tempo_marker

TempoMarker* BBTMarker::tempo_marker
private

Definition at line 246 of file marker.h.


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