+2000-11-29 John Levon <moz@compsoc.man.ac.uk>
+
+ * src/frontends/xforms/FormPrint.C: set to valid()
+ when we update from the passed parameters.
+
+2000-11-29 Angus Leeming <a.leeming@ic.ac.uk>
+
+ * src/LColor.C (getFromGUIName): internationalise the comparison.
+
+ * src/lyx_gui_misc.h (LyXBell): turn off that BLOODY bell until it's a
+ FormPreferences choice.
+
+ * src/frontends/xforms/FormPreferences.C: some additional Color safety.
+ Should be redundant.
+
2000-11-29 John Levon <moz@compsoc.man.ac.uk>
* src/lyx_rc.C: more detail for the printer program config
InfoTab::const_iterator ici = infotab.begin();
InfoTab::const_iterator end = infotab.end();
for (; ici != end; ++ici) {
- if (!compare_no_case((*ici).second.guiname, guiname))
+ if (!compare_no_case(_((*ici).second.guiname), guiname))
return (*ici).first;
}
return LColor::inherit;
for (vector<NamedColor>::const_iterator cit = lyxColorDB.begin();
cit != lyxColorDB.end(); ++cit) {
LColor::color lc = lcolor.getFromGUIName((*cit).getname());
- if (lc == LColor::ignore) continue;
+ if (lc == LColor::inherit) continue;
// Ascertain the X11 name
RGBColor const & col = (*cit).color();
for (int i=0; i<LColor::ignore; ++i) {
LColor::color lc = static_cast<LColor::color>(i);
+ if (lc == LColor::none
+ || lc == LColor::black
+ || lc == LColor::white
+ || lc == LColor::red
+ || lc == LColor::green
+ || lc == LColor::blue
+ || lc == LColor::cyan
+ || lc == LColor::magenta
+ || lc == LColor::yellow
+ || lc == LColor::inherit
+ || lc == LColor::ignore) continue;
+
string name = lowercase(lcolor.getX11Name(lc));
Display * display = fl_get_display();;
Colormap const colormap = fl_state[fl_get_vclass()].colormap;
fl_set_input(dialog_->input_count,
tostr(pp.count_copies).c_str());
+ bc_.valid();
}
}
inline
void LyXBell() {
// if (audio()) ON/OFF switch yet to be implemented
- fl_ringbell(20);
+ //fl_ringbell(20);
}
#endif