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;
|
2003-12-15 11:36:19 +00:00
|
|
|
class PainterInfo;
|
2003-02-26 17:04:10 +00:00
|
|
|
|
2003-08-19 16:46:47 +00:00
|
|
|
/// paint the rows of the main text, return last drawn y value
|
2003-11-28 08:55:12 +00:00
|
|
|
int paintText(BufferView const & bv);
|
2003-08-19 16:46:47 +00:00
|
|
|
|
|
|
|
/// paint the rows of a text inset
|
2003-12-15 11:36:19 +00:00
|
|
|
void paintTextInset(LyXText const & text, PainterInfo & pi, int x, int y);
|
2003-08-19 16:46:47 +00:00
|
|
|
|
2003-02-26 17:04:10 +00:00
|
|
|
#endif // ROWPAINTER_H
|