]> git.lyx.org Git - lyx.git/blobdiff - src/LColor.h
Fix bug 2115 ("blueline bug")
[lyx.git] / src / LColor.h
index b410378dc23ba89e2439af64334c2590472bb70a..b9595e393f061cf3efe547bf27498bed369689df 100644 (file)
@@ -189,7 +189,7 @@ public:
        ///
        ~LColor();
        ///
-       void operator=(LColor const &);
+       LColor & operator=(LColor);
 
        /** set the given LyX color to the color defined by the X11 name given
         *  \returns true if successful.
@@ -218,11 +218,13 @@ public:
        LColor::color getFromGUIName(std::string const & guiname) const;
        /// \returns the LColor::color associated with the LyX name.
        LColor::color getFromLyXName(std::string const & lyxname) const;
+       /// \returns the LColor::color associated with the LaTeX name.
+       LColor::color getFromLaTeXName(std::string const & latexname) const;
 private:
        ///
        void addColor(LColor::color c, std::string const & lyxname) const;
        ///
-       struct Pimpl;
+       class Pimpl;
        ///
        boost::scoped_ptr<Pimpl> pimpl_;
 };