* Copyright 2000-2001 The LyX Team.
* See the file COPYING.
*
- * \author Angus Leeming, a.leeming@ic.ac.uk
+ * \author Angus Leeming <leeming@lyx.org>
*/
#include <config.h>
FormPreferences::FormPreferences(LyXView & lv, Dialogs & d)
- : FormBaseBI(&lv, &d, _("Preferences"), false),
+ : FormBaseBI(lv, d, _("Preferences"), false),
colors_(*this), converters_(*this), inputs_misc_(*this),
formats_(*this), interface_(*this), language_(*this),
lnf_misc_(*this), outputs_misc_(*this), paths_(*this),
colors_.modifiedXformsPrefs = !XformsColor::write(filename);
}
- lv_->dispatch(FuncRequest(LFUN_SAVEPREFERENCES));
+ lv_.dispatch(FuncRequest(LFUN_SAVEPREFERENCES));
}
setCursorColor(GUI_COLOR_CURSOR);
}
}
- parent_.lv_->getDialogs().redrawGUI();
+ parent_.lv_.getDialogs().redrawGUI();
}
// Now do the same for the LyX LColors...
string const s = lcolor.getLyXName(lc) + string(" ") +
hexname;
- parent_.lv_->dispatch(FuncRequest(LFUN_SET_COLOR, s));
+ parent_.lv_.dispatch(FuncRequest(LFUN_SET_COLOR, s));
}
}
}
<< "\". Set to \"black\"!" << endl;
string const arg = lcolor.getLyXName(lc) + " black";
- parent_.lv_->dispatch(FuncRequest(LFUN_SET_COLOR, arg));
+ parent_.lv_.dispatch(FuncRequest(LFUN_SET_COLOR, arg));
continue;
}
if (changed) {
// Now update the buffers
// Can anything below here affect the redraw process?
- parent_.lv_->dispatch(FuncRequest(LFUN_SCREEN_FONT_UPDATE));
+ parent_.lv_.dispatch(FuncRequest(LFUN_SCREEN_FONT_UPDATE));
}
}
// Show the file browser dialog
string const new_filename =
- browseFile(lv_, filename, title, pattern, dir1, dir2);
+ browseFile(&lv_, filename, title, pattern, dir1, dir2);
// Save the filename to the dialog
if (new_filename != filename && !new_filename.empty()) {