X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FLColor.h;h=c6bf6cebf7c47a754bd67411c3643b61157cd712;hb=35204f8f33d7400a5fefeffea533fb4cb4097211;hp=700bb66abaf0ac9269b2c32f07fc217ea39281f6;hpb=59413be9a0b999c17784d1abad01e55819ecd27a;p=lyx.git diff --git a/src/LColor.h b/src/LColor.h index 700bb66aba..c6bf6cebf7 100644 --- a/src/LColor.h +++ b/src/LColor.h @@ -22,6 +22,9 @@ #include #include + +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_; }; @@ -249,4 +255,7 @@ extern LColor lcolor; /// the system color definitions extern LColor system_lcolor; + +} // namespace lyx + #endif