From 5a7a53e34681bfa76209d3f68786d2913451c0d9 Mon Sep 17 00:00:00 2001 From: Stefan Schimanski Date: Thu, 1 Nov 2007 10:57:20 +0000 Subject: [PATCH] * color definitions for math macros git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21324 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/Color.cpp | 5 +++++ src/ColorCode.h | 8 ++++++++ 2 files changed, 13 insertions(+) diff --git a/src/Color.cpp b/src/Color.cpp index 03f4f6c97a..c56ecc42fb 100644 --- a/src/Color.cpp +++ b/src/Color.cpp @@ -187,6 +187,11 @@ Color::Color() { Color_mathframe, N_("math frame"), "mathframe", "Magenta", "mathframe" }, { Color_mathcorners, N_("math corners"), "mathcorners", "linen", "mathcorners" }, { Color_mathline, N_("math line"), "mathline", "Blue", "mathline" }, + { Color_mathmacrobg, N_("Math macro background"), "mathmacrobg", "#ede2d8", "mathmacrobg" }, + { Color_mathmacrohoverbg, N_("Math macro hovered background"), "mathmacrohoverbg", "#cdc3b8", "mathmacrohoverbg" }, + { Color_mathmacrolabel, N_("Math macro label"), "mathmacrolabel", "#a19992", "mathmacrolabel" }, + { Color_mathmacroframe, N_("Math macro frame"), "mathmacroframe", "#ede2d8", "mathmacroframe" }, + { Color_mathmacroblend, N_("Math macro blended out"), "mathmacroblend", "#000000", "mathmacroblend" }, { Color_captionframe, N_("caption frame"), "captionframe", "DarkRed", "captionframe" }, { Color_collapsable, N_("collapsable inset text"), "collapsable", "DarkRed", "collapsable" }, { Color_collapsableframe, N_("collapsable inset frame"), "collapsableframe", "IndianRed", "collapsableframe" }, diff --git a/src/ColorCode.h b/src/ColorCode.h index 8df8ff4c8f..3feb992559 100644 --- a/src/ColorCode.h +++ b/src/ColorCode.h @@ -87,6 +87,14 @@ enum ColorCode Color_mathbg, /// Macro math inset background color Color_mathmacrobg, + /// Macro math inset background color hovered + Color_mathmacrohoverbg, + /// Macro math label color + Color_mathmacrolabel, + /// Macro math frame color + Color_mathmacroframe, + /// Macro math blended color + Color_mathmacroblend, /// Math inset frame color under focus Color_mathframe, /// Math inset frame color not under focus