only cosmetics

Color.cpp: - clarify that this is the label color (to be uniform with the other label colors)
           - greyedout label color slightly changed from red to red with a bit blue (as we already have red for other stuff)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23377 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Uwe Stöhr 2008-03-01 23:50:08 +00:00
parent ea2c38bbcc
commit f2543ccf9c
3 changed files with 10 additions and 10 deletions

View File

@ -108,11 +108,11 @@ ColorSet::ColorSet()
{ Color_nonunique_inlinecompletion, N_("non-unique inline completion"),
"nonuniqueinlinecompletion", "grey80", "nonuniqueinlinecompletion" },
{ Color_preview, N_("previewed snippet"), "preview", "black", "preview" },
{ Color_note, N_("note"), "note", "yellow", "note" },
{ Color_notelabel, N_("note label"), "note", "yellow", "note" },
{ Color_notebg, N_("note background"), "notebg", "yellow", "notebg" },
{ Color_comment, N_("comment"), "comment", "magenta", "comment" },
{ Color_commentlabel, N_("comment label"), "comment", "magenta", "comment" },
{ Color_commentbg, N_("comment background"), "commentbg", "linen", "commentbg" },
{ Color_greyedout, N_("greyedout inset"), "greyedout", "red", "greyedout" },
{ Color_greyedoutlabel, N_("greyedout inset label"), "greyedout", "#ff0080", "greyedout" },
{ Color_greyedoutbg, N_("greyedout inset background"), "greyedoutbg", "linen", "greyedoutbg" },
{ Color_shadedbg, N_("shaded box"), "shaded", "#ff0000", "shaded" },
{ Color_branchlabel, N_("branch label"), "branchlabel", "#c88000", "branchlabel" },

View File

@ -53,16 +53,16 @@ enum ColorCode
/// Inline completion color for the non-unique part
Color_nonunique_inlinecompletion,
/// Text color for notes
Color_note,
/// Label color for notes
Color_notelabel,
/// Background color of notes
Color_notebg,
/// Text color for comments
Color_comment,
/// Label color for comments
Color_commentlabel,
/// Background color of comments
Color_commentbg,
/// Text color for greyedout inset
Color_greyedout,
/// Label color for greyedout insets
Color_greyedoutlabel,
/// Background color of greyedout inset
Color_greyedoutbg,
/// Shaded box background

View File

@ -755,7 +755,7 @@ void Font::validate(LaTeXFeatures & features) const
// probably we should put here all interface colors used for
// font displaying! For now I just add this ones I know of (Jug)
case Color_latex:
case Color_note:
case Color_notelabel:
break;
default:
features.require("color");