Ardour  9.0-pre0-582-g084a23a80d
SelectionMarker Class Reference

#include <marker.h>

Inheritance diagram for SelectionMarker:
[legend]

Public Member Functions

 SelectionMarker (PublicEditor &ed, ArdourCanvas::Item &parent, std::string const &color_name, Type)
 
- 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 ()
 
virtual void set_position (Temporal::timepos_t const &)
 
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
 

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 181 of file marker.h.

Constructor & Destructor Documentation

◆ SelectionMarker()

SelectionMarker::SelectionMarker ( PublicEditor ed,
ArdourCanvas::Item parent,
std::string const &  color_name,
Type   
)

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