diff options
author | nick_m <mainsbridge@gmail.com> | 2017-02-27 11:10:47 +1100 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2017-02-27 20:16:10 +0100 |
commit | 3a7bc1fd3f32f0681182bcb399c030eb1899e523 (patch) | |
tree | ed0adc8a2520f7df782d02c212b7e2820fbd679b /gtk2_ardour/marker.h | |
parent | f41748803ad8a9069b8bd6bdda5f500d2d8bd99b (diff) |
Tempo Marks : set point colour by discontinuity, display non-quarter pulse if we are non-quarter.
- a jump in tempo by more than 1 ntpm results in a red
tempo mark pointer.
- ignore UIConfiguration::get_allow_non_quarter_pulse()
when displaying note type in the marker text (only display
note type if we are non-quarter).
Diffstat (limited to 'gtk2_ardour/marker.h')
-rw-r--r-- | gtk2_ardour/marker.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk2_ardour/marker.h b/gtk2_ardour/marker.h index e80b87e9c8..e23c79b4bb 100644 --- a/gtk2_ardour/marker.h +++ b/gtk2_ardour/marker.h @@ -77,6 +77,7 @@ class ArdourMarker : public sigc::trackable void set_position (framepos_t); void set_name (const std::string&); + void set_points_color (uint32_t rgba); void set_color_rgba (uint32_t rgba); void setup_line (); @@ -123,6 +124,7 @@ class ArdourMarker : public sigc::trackable bool _line_shown; double _canvas_height; uint32_t _color; + uint32_t _points_color; double _left_label_limit; ///< the number of pixels available to the left of this marker for a label double _right_label_limit; ///< the number of pixels available to the right of this marker for a label double _label_offset; |