From 4527566217563bb524b60c23e925e4ff20aebccb Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Thu, 11 Nov 2010 15:21:37 +0000 Subject: Visual tweaks to marker lines. git-svn-id: svn://localhost/ardour2/branches/3.0@8011 d708f5d6-7413-0410-9779-e7cbd77b26cf --- gtk2_ardour/marker.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'gtk2_ardour/marker.h') diff --git a/gtk2_ardour/marker.h b/gtk2_ardour/marker.h index e5885e6611..a6e48fc9c3 100644 --- a/gtk2_ardour/marker.h +++ b/gtk2_ardour/marker.h @@ -70,6 +70,7 @@ class Marker : public sigc::trackable void set_position (framepos_t); void set_name (const std::string&); void set_color_rgba (uint32_t rgba); + void setup_line (); framepos_t position() const { return frame_position; } @@ -97,16 +98,17 @@ class Marker : public sigc::trackable double unit_position; framepos_t frame_position; - unsigned char shift; /* should be double, but its always small and integral */ + double _shift; Type _type; int name_height; bool _selected; bool _shown; + bool _line_shown; double _canvas_height; uint32_t _color; void reposition (); - void setup_line (); + void setup_line_x (); }; class TempoMarker : public Marker -- cgit v1.2.3