dotted_line_offset_ = int(0.5 * dotted_line_thickness_) + 1;
}
- x_ = row_.x + xo_;
+ x_ = row_.left_margin + xo_;
//lyxerr << "RowPainter: x: " << x_ << " xo: " << xo_ << " yo: " << yo_ << endl;
//row_.dump();
}
+void RowPainter::paintTooLargeMarks(bool const left, bool const right)
+{
+ if (left)
+ pi_.pain.line(int(dotted_line_thickness_), yo_ - row_.ascent(),
+ int(dotted_line_thickness_), yo_ + row_.descent(),
+ Color_scroll,
+ Painter::line_onoffdash, dotted_line_thickness_);
+ if (right) {
+ int const wwidth = pi_.base.bv->workWidth() - int(dotted_line_thickness_);
+ pi_.pain.line(wwidth, yo_ - row_.ascent(),
+ wwidth, yo_ + row_.descent(),
+ Color_scroll,
+ Painter::line_onoffdash, dotted_line_thickness_);
+ }
+}
+
+
void RowPainter::paintFirst()
{
BufferParams const & bparams = pi_.base.bv->buffer().params();