X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FColor.h;h=865f0ab8a8e6e25e61b7670e4301eebc6aca30b6;hb=05282ceeec5fc9872f73f7de93136fc218f8ecb4;hp=fbfe10fb226385138c29b76ed63ff0435b1b4110;hpb=4d30bc757931ddb6f3a35809f48c4f6528004060;p=lyx.git diff --git a/src/Color.h b/src/Color.h index fbfe10fb22..865f0ab8a8 100644 --- a/src/Color.h +++ b/src/Color.h @@ -41,8 +41,8 @@ class Color public: /// Color(ColorCode base_color = Color_none); - - /// comparison operators. + + /// \name Comparison operators //@{ bool operator==(Color const & color) const; bool operator!=(Color const & color) const; @@ -62,6 +62,8 @@ std::ostream & operator<<(std::ostream & os, Color color); std::string const X11hexname(RGBColor const & col); RGBColor rgbFromHexName(std::string const & x11hexname); std::string const outputLaTeXColor(RGBColor const & color); +/// Inverse of outputLaTeXColor +RGBColor const RGBColorFromLaTeX(std::string const & color); } // namespace lyx