diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2015-10-04 14:51:05 -0400 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2015-10-04 14:51:05 -0400 |
commit | 4dc63966f0872efe768dad61eb9b8785d06b92d1 (patch) | |
tree | e54104d57d6c2da7840979181368151fd0819c96 /libs/canvas/item.cc | |
parent | 297e80e020da94a56984b20782584bb1dd96ea34 (diff) |
globally remove all trailing whitespace from ardour code base.
Paul Davis was responsible for introducing almost all of this.
Diffstat (limited to 'libs/canvas/item.cc')
-rw-r--r-- | libs/canvas/item.cc | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/libs/canvas/item.cc b/libs/canvas/item.cc index ab8764a97a..ab68ea2e95 100644 --- a/libs/canvas/item.cc +++ b/libs/canvas/item.cc @@ -126,9 +126,9 @@ Item::canvas_origin () const } Duple -Item::window_origin () const +Item::window_origin () const { - /* This is slightly subtle. Our _position is in the coordinate space of + /* This is slightly subtle. Our _position is in the coordinate space of our parent. So to find out where that is in window coordinates, we have to ask our parent. */ @@ -150,7 +150,7 @@ Item::scroll_offset () const { if (_scroll_parent) { return _scroll_parent->scroll_offset(); - } + } return Duple (0,0); } @@ -583,7 +583,7 @@ Item::bounding_box () const } Coord -Item::height () const +Item::height () const { boost::optional<ArdourCanvas::Rect> bb = bounding_box(); @@ -594,7 +594,7 @@ Item::height () const } Coord -Item::width () const +Item::width () const { boost::optional<ArdourCanvas::Rect> bb = bounding_box(); @@ -688,7 +688,7 @@ Item::set_ignore_events (bool ignore) } std::string -Item::whatami () const +Item::whatami () const { std::string type = demangle (typeid (*this).name()); return type.substr (type.find_last_of (':') + 1); @@ -738,7 +738,7 @@ Item::render_children (Rect const & area, Cairo::RefPtr<Cairo::Context> context) #ifdef CANVAS_DEBUG if (DEBUG_ENABLED(PBD::DEBUG::CanvasRender)) { - cerr << string_compose ("%1%7 %2 @ %7 render %5 @ %6 %3 items out of %4\n", + cerr << string_compose ("%1%7 %2 @ %7 render %5 @ %6 %3 items out of %4\n", _canvas->render_indent(), (name.empty() ? string ("[unnamed]") : name), items.size(), _items.size(), area, _position, this, whatami()); } @@ -778,7 +778,7 @@ Item::render_children (Rect const & area, Cairo::RefPtr<Cairo::Context> context) if (DEBUG_ENABLED(PBD::DEBUG::CanvasRender)) { if (dynamic_cast<Container*>(*i) == 0) { cerr << _canvas->render_indent() << "render " - << ' ' + << ' ' << (*i) << ' ' << (*i)->whatami() @@ -786,11 +786,11 @@ Item::render_children (Rect const & area, Cairo::RefPtr<Cairo::Context> context) << (*i)->name << " item " << item_bbox.get() - << " window = " + << " window = " << item << " intersect = " << draw - << " @ " + << " @ " << _position << endl; } |