2003-04-09 21:34:31 +00:00
|
|
|
// -*- C++ -*-
|
2003-02-26 17:04:10 +00:00
|
|
|
/**
|
|
|
|
* \file rowpainter.h
|
|
|
|
* This file is part of LyX, the document processor.
|
|
|
|
* Licence details can be found in the file COPYING.
|
|
|
|
*
|
|
|
|
* \author various
|
|
|
|
* \author John Levon
|
|
|
|
*
|
2003-08-23 00:17:00 +00:00
|
|
|
* Full author contact details are available in file CREDITS.
|
2003-02-26 17:04:10 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef ROWPAINTER_H
|
|
|
|
#define ROWPAINTER_H
|
|
|
|
|
|
|
|
class LyXText;
|
|
|
|
class BufferView;
|
|
|
|
class VSpace;
|
|
|
|
|
|
|
|
/// return the pixel height of a space marker before/after a par
|
|
|
|
int getLengthMarkerHeight(BufferView const & bv, VSpace const & vsp);
|
|
|
|
|
2003-08-19 16:46:47 +00:00
|
|
|
/// paint the rows of the main text, return last drawn y value
|
2003-08-27 14:55:20 +00:00
|
|
|
int paintText(BufferView & bv);
|
2003-08-19 16:46:47 +00:00
|
|
|
|
|
|
|
/// paint the rows of a text inset
|
|
|
|
void paintTextInset(BufferView & bv, LyXText & text, int x, int y);
|
|
|
|
|
2003-02-26 17:04:10 +00:00
|
|
|
#endif // ROWPAINTER_H
|