From f2543ccf9c1489aa4de8faf61922e24c4ca1e1a2 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Uwe=20St=C3=B6hr?= Date: Sat, 1 Mar 2008 23:50:08 +0000 Subject: [PATCH] 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 --- src/Color.cpp | 6 +++--- src/ColorCode.h | 12 ++++++------ src/Font.cpp | 2 +- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/src/Color.cpp b/src/Color.cpp index 5d1af0865b..d9f4d5e999 100644 --- a/src/Color.cpp +++ b/src/Color.cpp @@ -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" }, diff --git a/src/ColorCode.h b/src/ColorCode.h index 625957b73e..cee2c00756 100644 --- a/src/ColorCode.h +++ b/src/ColorCode.h @@ -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 diff --git a/src/Font.cpp b/src/Font.cpp index 39b78be01d..6ce11c2b95 100644 --- a/src/Font.cpp +++ b/src/Font.cpp @@ -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"); -- 2.39.5