]> git.lyx.org Git - lyx.git/blobdiff - src/LColor.h
do not create invalid .lyx files when importing \i{}, \j{}, \l{} or \L{}.
[lyx.git] / src / LColor.h
index ab0fdd3a24a7b234419dcf5b8b75e07691361145..95a4cf7cd4b5f239144bb02a1ff427e535ac4ae6 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,
@@ -162,16 +166,12 @@ public:
                pagebreak,
 
                // FIXME: why are the next four separate ??
-               /// Color used for top of boxes
-               top,
-               /// Color used for bottom of boxes
-               bottom,
-               /// Color used for left side of boxes
-               left,
-               /// Color used for right side of boxes
-               right,
+               /// Color used for button frame
+               buttonframe,
                /// Color used for bottom background
                buttonbg,
+               /// Color used for buttom under focus
+               buttonhoverbg,
 
                // Logical attributes
 
@@ -218,6 +218,8 @@ 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;
@@ -249,4 +251,7 @@ extern LColor lcolor;
 /// the system color definitions
 extern LColor system_lcolor;
 
+
+} // namespace lyx
+
 #endif