]> git.lyx.org Git - lyx.git/blobdiff - src/LColor.h
hopefully fix tex2lyx linking.
[lyx.git] / src / LColor.h
index 700bb66abaf0ac9269b2c32f07fc217ea39281f6..c6bf6cebf7c47a754bd67411c3643b61157cd712 100644 (file)
@@ -22,6 +22,9 @@
 #include <boost/scoped_ptr.hpp>
 #include <string>
 
+
+namespace lyx {
+
 /**
  * This is a stateless class.
  *
@@ -93,7 +96,8 @@ public:
                greyedout,
                /// Background color of greyedout inset
                greyedoutbg,
-
+               /// Shaded box background
+               shadedbg,
 
                /// Color for the depth bars in the margin
                depthbar,
@@ -218,11 +222,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_;
 };
@@ -249,4 +255,7 @@ extern LColor lcolor;
 /// the system color definitions
 extern LColor system_lcolor;
 
+
+} // namespace lyx
+
 #endif