X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Ffrontends%2FApplication.h;h=6c11007bbb15fb23ca7cdf76cbcb315742ea8a1e;hb=eea79637c78bb9916031924eca7b305cfb8e83df;hp=a682207c0581976a797f540628f48ed6aa006580;hpb=1f07a7f929d34b0d64d839d5d7963ed60e04b5a3;p=features.git diff --git a/src/frontends/Application.h b/src/frontends/Application.h index a682207c05..6c11007bbb 100644 --- a/src/frontends/Application.h +++ b/src/frontends/Application.h @@ -11,6 +11,8 @@ #ifndef LYX_APPLICATION_H #define LYX_APPLICATION_H +#include "ColorCode.h" + #include #include @@ -18,7 +20,6 @@ namespace lyx { class BufferView; -class Color_color; struct RGBColor; namespace frontend { @@ -187,17 +188,17 @@ public: * The function returns true if successful. * It returns false on failure and sets r, g, b to 0. */ - virtual bool getRgbColor(Color_color col, RGBColor & rgbcol) = 0; + virtual bool getRgbColor(ColorCode col, RGBColor & rgbcol) = 0; - /** Eg, passing Color::black returns "000000", - * passing Color::white returns "ffffff". + /** Eg, passing Color_black returns "000000", + * passing Color_white returns "ffffff". */ - virtual std::string const hexName(Color_color col) = 0; + virtual std::string const hexName(ColorCode col) = 0; /** * update an altered GUI color */ - virtual void updateColor(Color_color col) = 0; + virtual void updateColor(ColorCode col) = 0; /** * add a callback for socket read notification