#ifndef LCOLOR_H
#define LCOLOR_H
+#include "support/docstring.h"
+
#include <boost/scoped_ptr.hpp>
-#include <string>
namespace lyx {
bool setColor(std::string const & lyxname, std::string const & x11name);
/// Get the GUI name of \c color.
- std::string const getGUIName(LColor::color c) const;
+ docstring const getGUIName(LColor::color c) const;
/// Get the X11 name of \c color.
std::string const getX11Name(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.