]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/xforms/ColorHandler.h
Introduce LFUN_PRINT.
[lyx.git] / src / frontends / xforms / ColorHandler.h
index f1acce0b473150372811c931ee8361b554b69a61..594d33d47cc3227e7ce133ed8e11f25015c559a5 100644 (file)
@@ -22,7 +22,7 @@
 // This is only included to provide stuff for the non-public sections
 #include <X11/Xlib.h>
 
-class EnumLColor;
+class LColor_color;
 class LyXFont;
 
 /**
@@ -36,14 +36,14 @@ public:
        ///
        ~LyXColorHandler();
        ///
-       unsigned long colorPixel(EnumLColor c);
+       unsigned long colorPixel(LColor_color c);
        ///
-       GC getGCForeground(EnumLColor c);
+       GC getGCForeground(LColor_color c);
        ///
        GC getGCLinepars(Painter::line_style,
-                        Painter::line_width, EnumLColor c);
+                        Painter::line_width, LColor_color c);
        /// update the cache after a color definition change
-       void updateColor(EnumLColor c);
+       void updateColor(LColor_color c);
 
 private:
        ///
@@ -53,7 +53,7 @@ private:
        ///
        std::vector<GC> colorGCcache;
        ///
-       GC getGCForeground(string const & s);
+       GC getGCForeground(std::string const & s);
        ///
        typedef std::map<int, GC> LineGCCache;
        ///