specify a background color for listings and allow the user to change it, patch by Vincent

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26340 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Uwe Stöhr 2008-09-08 21:38:01 +00:00
parent 9d95e4f708
commit 19c8baa1e1
3 changed files with 5 additions and 1 deletions

View File

@ -161,6 +161,7 @@ InsetLayout Listings
Color foreground
Size Small
EndFont
BgColor listingsbg
MultiPar true
PassThru true
KeepEmpty true

View File

@ -120,6 +120,7 @@ ColorSet::ColorSet()
{ 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_listingsbg, N_("listings background"), "listingsbg", "white", "listingsbg" },
{ Color_branchlabel, N_("branch label"), "branchlabel", "#c88000", "branchlabel" },
{ Color_footlabel, N_("footnote label"), "footlabel", "#00aaff", "footlabel" },
{ Color_indexlabel, N_("index label"), "indexlabel", "green", "indexlabel" },

View File

@ -67,8 +67,10 @@ enum ColorCode
Color_greyedoutlabel,
/// Background color of greyedout inset
Color_greyedoutbg,
/// Shaded box background
/// Background color of shaded box
Color_shadedbg,
/// Background color of listings inset
Color_listingsbg,
/// Label color for branches
Color_branchlabel,