mutable int number_of_rows;
///
mutable long height;
- mutable int width;
+ mutable unsigned int width;
/// the current font settings
mutable LyXFont current_font;
/// the current font
mutable LyXFont real_current_font;
+ /// first visible pixel-row is set from LyXScreen!!!
+ unsigned long first;
+ ///
+ BufferView * bv_owner;
+ ///
+ InsetText * inset_owner;
///
// void owner(BufferView *);
solution but faster.
*/
void GetVisibleRow(BufferView *, int y_offset, int x_offset,
- Row * row_ptr, long y);
+ Row * row_ptr, long y, bool cleared=false);
/* footnotes: */
///
///
void init();
///
- BufferView * bv_owner;
- ///
- InsetText * inset_owner;
- ///
mutable Row * firstrow;
///
mutable Row * lastrow;
///
void draw(BufferView *, Row const * row,
LyXParagraph::size_type & pos,
- int offset, float & x);
+ int offset, float & x, bool cleared);
/// get the next breakpoint in a given paragraph
LyXParagraph::size_type NextBreakPoint(BufferView *, Row const * row,