bool setColor(std::string const & lyxname, std::string const & x11hexname,
std::string const & x11darkhexname = std::string());
+ /** set the given LyX color to a latexcolor if not yet defined
+ * \returns true if successful. A new color entry
+ * is created if the color is unknown.
+ */
+ bool setLaTeXName(std::string const & lyxname, std::string const & latexname);
+
+ /** set the GUI name of a given LyX color to a guiname if not yet defined
+ * \returns true if successful.
+ */
+ bool setGUIName(std::string const & lyxname, std::string const & guiname);
+
/// Get the GUI name of \c color.
docstring const getGUIName(ColorCode c) const;