diff options
author | Carl Hetherington <carl@carlh.net> | 2010-11-11 15:21:37 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2010-11-11 15:21:37 +0000 |
commit | 4527566217563bb524b60c23e925e4ff20aebccb (patch) | |
tree | 9398551723552bac4583f1805ba6702f0866b921 /gtk2_ardour/marker.h | |
parent | 08fcd8c9e9eba60fb1be52a5ffcf806427f23987 (diff) |
Visual tweaks to marker lines.
git-svn-id: svn://localhost/ardour2/branches/3.0@8011 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/marker.h')
-rw-r--r-- | gtk2_ardour/marker.h | 6 |
1 files changed, 4 insertions, 2 deletions
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 |