-
- Font font(Font::ALL_SANE);
- font.decSize();
- font.decSize();
-
- switch (params_.type) {
- case InsetNoteParams::Note:
- font.setColor(Color::note);
- setBackgroundColor(Color::notebg);
- break;
- case InsetNoteParams::Comment:
- font.setColor(Color::comment);
- setBackgroundColor(Color::commentbg);
- break;
- case InsetNoteParams::Greyedout:
- font.setColor(Color::greyedout);
- setBackgroundColor(Color::greyedoutbg);
- break;
- case InsetNoteParams::Framed:
- font.setColor(Color::greyedout);
- setBackgroundColor(Color::greyedoutbg);
- break;
- case InsetNoteParams::Shaded:
- font.setColor(Color::greyedout);
- setBackgroundColor(Color::shadedbg);
- break;
- }
- setLabelFont(font);