X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FLColor.h;h=c6bf6cebf7c47a754bd67411c3643b61157cd712;hb=35204f8f33d7400a5fefeffea533fb4cb4097211;hp=ab0fdd3a24a7b234419dcf5b8b75e07691361145;hpb=c9f9ba315c8e475ad47c64fef6c9c755dea3d55c;p=lyx.git diff --git a/src/LColor.h b/src/LColor.h index ab0fdd3a24..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,6 +222,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 +255,7 @@ extern LColor lcolor; /// the system color definitions extern LColor system_lcolor; + +} // namespace lyx + #endif