diff options
author | Hans Baier <hansfbaier@googlemail.com> | 2008-12-24 10:52:19 +0000 |
---|---|---|
committer | Hans Baier <hansfbaier@googlemail.com> | 2008-12-24 10:52:19 +0000 |
commit | 821683acf2c9b6913a552d7bb7014f1bcbfad462 (patch) | |
tree | 3974662dec7cd0291f06de2177badc0b4d76c272 /gtk2_ardour/canvas-flag.cc | |
parent | e2147fbc5bf0546fcafa32fe1d87f6e6d1b652c4 (diff) |
* fixed velocity text event handling
* fixed track note colors
* fixed color on ChannelMode
git-svn-id: svn://localhost/ardour2/branches/3.0@4345 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/canvas-flag.cc')
-rw-r--r-- | gtk2_ardour/canvas-flag.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk2_ardour/canvas-flag.cc b/gtk2_ardour/canvas-flag.cc index bd82b2d3f3..f0361c5bf9 100644 --- a/gtk2_ardour/canvas-flag.cc +++ b/gtk2_ardour/canvas-flag.cc @@ -24,7 +24,7 @@ CanvasFlag::set_text(string& a_text) { delete_allocated_objects(); - _text = new InteractiveText(*this, 0.0, 0.0, Glib::ustring(a_text)); + _text = new InteractiveText(*this, this, 0.0, 0.0, Glib::ustring(a_text)); _text->property_justification() = Gtk::JUSTIFY_CENTER; _text->property_fill_color_rgba() = _outline_color_rgba; double flagwidth = _text->property_text_width() + 10.0; @@ -34,7 +34,7 @@ CanvasFlag::set_text(string& a_text) _text->show(); _line = new SimpleLine(*this, 0.0, 0.0, 0.0, _height); _line->property_color_rgba() = _outline_color_rgba; - _rect = new InteractiveRect(*this, 0.0, 0.0, flagwidth, flagheight); + _rect = new InteractiveRect(*this, this, 0.0, 0.0, flagwidth, flagheight); _rect->property_outline_color_rgba() = _outline_color_rgba; _rect->property_fill_color_rgba() = _fill_color_rgba; _text->raise_to_top(); |