lyx_mirror/src/rowpainter.h
André Pönitz b6c4462095 slimmer interface to paintrows
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7425 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-28 20:04:43 +00:00

33 lines
718 B
C++

// -*- C++ -*-
/**
* \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>
#include "RowList.h"
class LyXText;
class BufferView;
class VSpace;
/// 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);
/// return the pixel height of a space marker before/after a par
int getLengthMarkerHeight(BufferView const & bv, VSpace const & vsp);
#endif // ROWPAINTER_H