- /// get the color from the GUI name
- LColor::color getFromGUIName(string const & guiname) const;
- /// get the color from the LyX name
- LColor::color getFromLyXName(string const & lyxname) const;
+ /// Get the LaTeX name of \c color.
+ std::string const getLaTeXName(LColor::color c) const;
+
+ /// Get the LyX name of \c color.
+ std::string const getLyXName(LColor::color c) const;
+
+ /// \returns the LColor::color associated with the GUI name.
+ 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;