+2003-02-27 Angus Leeming <leeming@lyx.org>
+
+ * screen.C (redraw, greyOut): ensure that the painter is started
+ before attempting to paint.
+
2003-02-26 John Levon <levon@movementarian.org>
* screen.C: use RowPainter
LyXScreen::LyXScreen()
- : cursor_visible_(false), force_clear_(true), greyed_out_(false)
+ : cursor_visible_(false), force_clear_(true), greyed_out_(true)
{
// Start loading the pixmap as soon as possible
if (lyxrc.show_banner) {
{
greyed_out_ = !text;
- workarea().getPainter().start();
-
if (greyed_out_) {
greyOut();
return;
}
+ workarea().getPainter().start();
+
drawFromTo(text, bv, 0, workarea().workHeight(), 0, 0, text == bv->text);
expose(0, 0, workarea().workWidth(), workarea().workHeight());
if (!greyed_out_)
return;
+ workarea().getPainter().start();
+
workarea().getPainter().fillRectangle(0, 0,
workarea().workWidth(),
workarea().workHeight(),