#pragma interface
#endif
-#include <config.h>
#include "LString.h"
// This is only included to provide stuff for the non-public sections
class WorkArea;
/** An inplementation for the X Window System. Xlib.
-
Classes similar to this one can be made for gtk+, Qt, etc.
*/
class Painter : public PainterBase {
LColor::color);
/// For the graphics inset.
- PainterBase & image(int x, int y, int w, int h, LyXImage const * image);
-
- /// For the figinset
- PainterBase & pixmap(int x, int y, int w, int h, Pixmap bitmap);
+ PainterBase & image(int x, int y, int w, int h,
+ grfx::GImage const & image);
/// Draw a string at position x, y (y is the baseline)
PainterBase & text(int x, int y,
/// Draw a char at position x, y (y is the baseline)
PainterBase & text(int x, int y, char c, LyXFont const & f);
-
+
/// Draw a wide string at position x, y
PainterBase & text(int x, int y, XChar2b const * str, int l,
- LyXFont const & f);
+ LyXFont const & f);
private:
/// Check the font, and if set, draw an underline
void underline(LyXFont const & f, int x, int y, int width);
-
- ///
- Display * display;
};
#endif