InsetCaption: we use IndianRad as frame color while the float frames use DarkRed; as discussed, providing to specify a special caption frame color in the preferences is unnecessary

-> remove caption frame color from preferences
-> use the collapsible frame color also for caption frames

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35187 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Uwe Stöhr 2010-08-24 01:29:22 +00:00
parent 3b43bcbeb0
commit c3b341cbcb
3 changed files with 1 additions and 5 deletions

View File

@ -213,7 +213,6 @@ ColorSet::ColorSet()
{ Color_mathmacroblend, N_("math macro blended out"), "mathmacroblend", "black", "mathmacroblend" },
{ Color_mathmacrooldarg, N_("math macro old parameter"), "mathmacrooldarg", grey80, "mathmacrooldarg" },
{ Color_mathmacronewarg, N_("math macro new parameter"), "mathmacronewarg", "black", "mathmacronewarg" },
{ Color_captionframe, N_("caption frame"), "captionframe", "IndianRed", "captionframe" },
{ Color_collapsable, N_("collapsable inset text"), "collapsable", "DarkRed", "collapsable" },
{ Color_collapsableframe, N_("collapsable inset frame"), "collapsableframe", "IndianRed", "collapsableframe" },
{ Color_insetbg, N_("inset background"), "insetbg", grey80, "insetbg" },

View File

@ -132,9 +132,6 @@ enum ColorCode
/// Math line color
Color_mathline,
/// Caption frame color
Color_captionframe,
/// Collapsable insets text
Color_collapsable,
/// Collapsable insets frame

View File

@ -53,7 +53,7 @@ InsetCaption::InsetCaption(Buffer * buf)
{
setAutoBreakRows(true);
setDrawFrame(true);
setFrameColor(Color_captionframe);
setFrameColor(Color_collapsableframe);
}