mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 10:00:33 +00:00
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:
parent
9d95e4f708
commit
19c8baa1e1
@ -161,6 +161,7 @@ InsetLayout Listings
|
||||
Color foreground
|
||||
Size Small
|
||||
EndFont
|
||||
BgColor listingsbg
|
||||
MultiPar true
|
||||
PassThru true
|
||||
KeepEmpty true
|
||||
|
@ -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" },
|
||||
|
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user