]> git.lyx.org Git - lyx.git/blobdiff - src/Painter.h
whichFont down to 5.3%
[lyx.git] / src / Painter.h
index 7225500072c8fdd6470077e9284dd13ee54f362d..8d39c2ba02c72e75d74464b0fe9ac95fc41cb6bd 100644 (file)
@@ -4,7 +4,7 @@
  * 
  *           LyX, The Document Processor
  *      
- *         Copyright 1995-2000 The LyX Team
+ *         Copyright 1995-2001 The LyX Team
  *
  * ======================================================*/
 
 #pragma interface
 #endif
 
-#include "config.h"
 #include "LString.h"
 
 // This is only included to provide stuff for the non-public sections
 #include <X11/Xlib.h>
 
 #include "PainterBase.h"
-#include "LColor.h"
 
 class LyXFont;
 class WorkArea;
@@ -75,9 +73,12 @@ public:
        
        /// Fill a rectangle
        PainterBase & fillRectangle(int x, int y, int w, int h,
-                                   LColor::color = LColor::background);
+                                   LColor::color);
        
-       /// For the figure inset
+       /// 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);
        
        /// Draw a string at position x, y (y is the baseline)