- // Paint the labels
- offset = View::RulerHeight - _view.v_offset();
- BOOST_FOREACH(const shared_ptr<Signal> s, sigs)
- {
- assert(s);
-
- const QRect label_rect(0, offset,
- View::LabelMarginWidth, SignalHeight);
- s->paint_label(painter, label_rect);
-
- offset += SignalHeight;
- }
-