]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/xforms/ColorHandler.h
Introduce LFUN_PRINT.
[lyx.git] / src / frontends / xforms / ColorHandler.h
index 7f6ccf2e53681963328fca882f9b37780055ae23..594d33d47cc3227e7ce133ed8e11f25015c559a5 100644 (file)
@@ -6,7 +6,7 @@
  *
  * \author unknown
  *
- * Full author contact details are available in file CREDITS
+ * Full author contact details are available in file CREDITS.
  */
 
 #ifndef COLOR_HANDLER_H
@@ -22,6 +22,7 @@
 // This is only included to provide stuff for the non-public sections
 #include <X11/Xlib.h>
 
+class LColor_color;
 class LyXFont;
 
 /**
@@ -35,24 +36,24 @@ public:
        ///
        ~LyXColorHandler();
        ///
-       unsigned long colorPixel(LColor::color c);
+       unsigned long colorPixel(LColor_color c);
        ///
-       GC getGCForeground(LColor::color c);
+       GC getGCForeground(LColor_color c);
        ///
        GC getGCLinepars(Painter::line_style,
-                        Painter::line_width, LColor::color c);
+                        Painter::line_width, LColor_color c);
        /// update the cache after a color definition change
-       void updateColor(LColor::color c);
+       void updateColor(LColor_color c);
 
 private:
        ///
        Display * display;
        ///
        Colormap colormap;
-       /// 
+       ///
        std::vector<GC> colorGCcache;
        ///
-       GC getGCForeground(string const & s);
+       GC getGCForeground(std::string const & s);
        ///
        typedef std::map<int, GC> LineGCCache;
        ///