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
|
|
|
|
*
|
|
|
|
* Full author contact details are available in file CREDITS
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef ROWPAINTER_H
|
|
|
|
#define ROWPAINTER_H
|
|
|
|
|
|
|
|
#include <config.h>
|
|
|
|
|
2003-04-01 10:10:28 +00:00
|
|
|
#include "RowList.h"
|
2003-02-26 17:04:10 +00:00
|
|
|
|
|
|
|
class LyXText;
|
|
|
|
class BufferView;
|
|
|
|
class VSpace;
|
|
|
|
|
2003-07-28 20:04:43 +00:00
|
|
|
/// paint the rows
|
|
|
|
// return last used y
|
|
|
|
int paintRows(BufferView const & bv, LyXText const & text,
|
|
|
|
RowList::iterator rit, int xo, int y, int yf, int y2, int yo);
|
2003-02-26 17:04:10 +00:00
|
|
|
|
|
|
|
/// return the pixel height of a space marker before/after a par
|
|
|
|
int getLengthMarkerHeight(BufferView const & bv, VSpace const & vsp);
|
|
|
|
|
|
|
|
#endif // ROWPAINTER_H
|