X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FColorSet.h;h=c1de480f4f0b66dd8a2f0cba2572627a110b0e04;hb=d79637a88e368d8e67e4b38ddcf25a4b7f40176e;hp=b1a984427fbe8fe2671e3ee7096abf6f5cfc4b5c;hpb=77c8a2df0fa2659b9edb7e56f13d0160ba96b7da;p=lyx.git diff --git a/src/ColorSet.h b/src/ColorSet.h index b1a984427f..c1de480f4f 100644 --- a/src/ColorSet.h +++ b/src/ColorSet.h @@ -69,6 +69,11 @@ public: */ 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;