Ardour
9.0-pre0-582-g084a23a80d
|
#include <marker.h>
Public Types | |
enum | Type { Mark , Tempo , Meter , BBTPosition , SessionStart , SessionEnd , Section , RangeStart , RangeEnd , LoopStart , LoopEnd , PunchIn , PunchOut , RegionCue , Cue , SelectionStart , SelectionEnd } |
Public Member Functions | |
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::Item & | the_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::Item * | get_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 |
RegionView * | region_view () const |
void | set_cue_index (int c) |
int | cue_index () const |
Static Public Member Functions | |
static void | setup_sizes (const double timebar_height) |
Static Public Attributes | |
static PBD::Signal< void(ArdourMarker *)> | CatchDeletion |
Protected Member Functions | |
void | setup_line_x () |
void | setup_name_display () |
Protected Attributes | |
PublicEditor & | editor |
Pango::FontDescription | name_font |
ArdourCanvas::Item * | _parent |
ArdourCanvas::Item * | group |
ArdourCanvas::Circle * | _pcue |
ArdourCanvas::Polygon * | _pmark |
ArdourCanvas::Text * | _name_item |
ArdourCanvas::Points * | points |
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 |
Private Member Functions | |
ArdourMarker (ArdourMarker const &) | |
ArdourMarker & | operator= (ArdourMarker const &) |
void | apply_color () |
void | color_handler () |
Static Private Member Functions | |
static uint32_t | color (std::string const &) |
Location Marker
Editor ruler representation of a location marker or range on the timeline.
enum ArdourMarker::Type |
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 |
|
private |
|
private |
|
staticprivate |
|
private |
|
inline |
void ArdourMarker::hide | ( | ) |
bool ArdourMarker::label_on_left | ( | ) | const |
|
private |
|
inline |
|
inline |
void ArdourMarker::reparent | ( | ArdourCanvas::Item & | parent | ) |
|
virtual |
Reimplemented in TempoMarker.
void ArdourMarker::set_color | ( | std::string const & | color_name | ) |
void ArdourMarker::set_entered | ( | bool | ) |
void ArdourMarker::set_left_label_limit | ( | double | ) |
void ArdourMarker::set_line_height | ( | double | ) |
void ArdourMarker::set_name | ( | const std::string & | , |
const std::string & | tooltip = std::string() |
||
) |
void ArdourMarker::set_points_color | ( | std::string const & | color_name | ) |
|
virtual |
Reimplemented in BBTMarker.
void ArdourMarker::set_right_label_limit | ( | double | ) |
void ArdourMarker::set_selected | ( | bool | ) |
void ArdourMarker::set_show_line | ( | bool | ) |
void ArdourMarker::setup_line | ( | ) |
|
protected |
|
protected |
|
static |
void ArdourMarker::show | ( | ) |
ArdourCanvas::Item& ArdourMarker::the_item | ( | ) | const |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
static |
|
protected |
|
protected |
|
protected |