diff options
author | Carl Hetherington <carl@carlh.net> | 2010-11-13 22:39:42 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2010-11-13 22:39:42 +0000 |
commit | f83b9d678acdefdcf77ad0272d68d76d34e95436 (patch) | |
tree | 813dc014ff4dcb10b0e1e46959ddde03075b5670 /gtk2_ardour/marker.h | |
parent | 56910429f7c3a2185249ba010195046421e51845 (diff) |
Add backgrounds to marker labels.
git-svn-id: svn://localhost/ardour2/branches/3.0@8021 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/marker.h')
-rw-r--r-- | gtk2_ardour/marker.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gtk2_ardour/marker.h b/gtk2_ardour/marker.h index efe2c8ee78..c17af63134 100644 --- a/gtk2_ardour/marker.h +++ b/gtk2_ardour/marker.h @@ -106,6 +106,7 @@ class Marker : public sigc::trackable ArdourCanvas::Points *points; ArdourCanvas::SimpleLine* _line; ArdourCanvas::Points *line_points; + ArdourCanvas::SimpleRect* _name_background; std::string _name; double unit_position; @@ -120,10 +121,11 @@ class Marker : public sigc::trackable uint32_t _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; void reposition (); void setup_line_x (); - void setup_name_pixbuf (); + void setup_name_display (); }; class TempoMarker : public Marker |