- ///
- void LColor::fill(LColor::color c,
- string const & lyxname,
- string const & x11name = string(),
- string const & latexname = string(),
- string const & guiname = string());
-
- /// set the given LyX color to the color defined by the X11 name given
- void setColor(LColor::color col, string const & x11name);
- /// set the given LyX color to the color defined by the X11 name given
- bool setColor(string const & lyxname, string const & x11name);
-
- /// Get GUI name of color
- string const getGUIName(LColor::color c) const;
- ///
- string const getGUIName(string const & s) const;
+ /** set the given LyX color to the color defined by the X11 name given
+ * \returns true if successful.
+ */
+ bool setColor(LColor::color col, std::string const & x11name);