+2002-07-12 John Levon <moz@compsoc.man.ac.uk>
+
+ * lyxfunc.C: use lyx_gui::update_color()
+
2002-07-11 John Levon <moz@compsoc.man.ac.uk>
* bufferlist.C:
+2002-07-12 John Levon <moz@compsoc.man.ac.uk>
+
+ * lyx_gui.h: add update_color
+
2002-07-09 John Levon <moz@compsoc.man.ac.uk>
* Painter.C:
* passing LColor::white returns "ffffff".
*/
string const hexname(LColor::color col);
+
+ /**
+ * update an altered GUI color
+ */
+ void update_color(LColor::color col);
}
#endif // LYX_GUI_H
+2002-07-12 John Levon <moz@compsoc.man.ac.uk>
+
+ * lyx_gui.C: add un-needed update_color()
+
2002-07-12 John Levon <moz@compsoc.man.ac.uk>
* QtView.h:
// FIXME
return "";
}
+
+
+void lyx_gui::update_color(LColor::color col)
+{
+ // no need
+}
+2002-07-12 John Levon <moz@compsoc.man.ac.uk>
+
+ * lyx_gui.C: add update_color()
+
2002-07-11 John Levon <moz@compsoc.man.ac.uk>
* FormPreferences.C:
return os.str().c_str();
}
+
+void lyx_gui::update_color(LColor::color col)
+{
+ lyxColorHandler->updateColor(col);
+}
#include "lyxrow.h"
#include "bufferlist.h"
#include "BufferView.h"
-#include "frontends/xforms/ColorHandler.h"
#include "lyxserver.h"
#include "intl.h"
#include "lyx_main.h"
#include "layout.h"
#include "bufferview_funcs.h"
#include "frontends/MiniBuffer.h"
-#include "vspace.h"
#include "frontends/LyXView.h"
+#include "frontends/lyx_gui.h"
+#include "vspace.h"
#include "FloatList.h"
#include "converter.h"
#include "exporter.h"
#include "importer.h"
-#include "frontends/font_loader.h"
#include "TextCache.h"
#include "lyxfind.h"
#include "undo_funcs.h"
#include <utility>
#include <algorithm>
+#include "frontends/font_loader.h"
using std::pair;
using std::make_pair;
break;
}
- lyxColorHandler->updateColor(lcolor.getFromLyXName(lyx_name));
+ lyx_gui::update_color(lcolor.getFromLyXName(lyx_name));
if (graphicsbg_changed) {
#ifdef WITH_WARNINGS