]> git.lyx.org Git - features.git/commitdiff
only cosmetics
authorUwe Stöhr <uwestoehr@web.de>
Sat, 1 Mar 2008 23:50:08 +0000 (23:50 +0000)
committerUwe Stöhr <uwestoehr@web.de>
Sat, 1 Mar 2008 23:50:08 +0000 (23:50 +0000)
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
src/ColorCode.h
src/Font.cpp

index 5d1af0865b9f0a68d72c7973fd1a948b63a2e514..d9f4d5e999cb6a9253355ba62b9c97b04a46dca4 100644 (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" },
index 625957b73ee0914c91e4c4a99886e5d14609c89b..cee2c007568ff338818d5dd23ccb546e1956ab51 100644 (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
index 39b78be01d5f11fae28a56ef2b516c1866b9f8f3..6ce11c2b9566a92e380e140003edc298240789e2 100644 (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");