/* This file is part of
* ======================================================
- *
+ *
* LyX, The Document Processor
- *
+ *
* Copyright 1995 Matthias Ettrich
* Copyright 1995-2001 The LyX Team.
*
#include "BufferView.h"
#include "font.h"
+#include "lyxfont.h"
#include "gettext.h"
#include "inseterror.h"
#include "LyXView.h"
LyXFont efont;
efont.setSize(font.size()).decSize();
efont.setColor(LColor::error);
-
+
// Draw as "Error" in a framed box
x += 1;
pain.fillRectangle(int(x), baseline - ascent(bv, font) + 1,
}
-string const InsetError::editMessage() const
+string const InsetError::editMessage() const
{
return _("Opened error");
}
void InsetError::edit(BufferView * bv, int, int, unsigned int)
{
- bv->owner()->getDialogs()->showError( this );
+ bv->owner()->getDialogs()->showError(this);
}