lyx_mirror/src/rowpainter.h
Alfredo Braunstein cf6549229d moves top_y from lyxtext to BufferView
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7616 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-27 14:55:20 +00:00

30 lines
711 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
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);
/// paint the rows of the main text, return last drawn y value
int paintText(BufferView & bv);
/// paint the rows of a text inset
void paintTextInset(BufferView & bv, LyXText & text, int x, int y);
#endif // ROWPAINTER_H