-#else
-void InsetInfo::Draw(LyXFont font, LyXScreen & scr,
- int baseline, float & x)
-{
- /* Info-insets are never LaTeX, so just correct the font */
- font.setLatex(LyXFont::OFF);
-
- // Draw as "Note" in a yellow box
- x += 1;
- scr.fillRectangle(gc_note,
- int(x), baseline - Ascent(font)+1,
- Width(font)-2, Ascent(font)+Descent(font)-2);
- scr.drawRectangle(gc_note_frame,
- int(x), baseline- Ascent(font)+1,
- Width(font)-2, Ascent(font)+Descent(font)-2);
-
- scr.drawString(font, _("Note"), baseline, int(x+2));
- x += Width(font) - 1;
-}
-#endif