]> git.lyx.org Git - lyx.git/blobdiff - src/ColorCode.h
Hack to display section symbol
[lyx.git] / src / ColorCode.h
index 744eb51ca8ff5c2e6c6a8bd83ab2f33cafa56250..3439c287277c6beda78f7922600b5c2567cdf596 100644 (file)
@@ -13,8 +13,7 @@
 namespace lyx {
 
 /// Names of colors, including all logical colors
-enum ColorCode
-{
+enum ColorCode {
        /// No particular color---clear or default
        Color_none,
        /// The different text colors
@@ -22,16 +21,38 @@ enum ColorCode
        ///
        Color_white,
        ///
-       Color_red,
+       Color_blue,
+       ///
+       Color_brown,
+       ///
+       Color_cyan,
+       ///
+       Color_darkgray,
+       ///
+       Color_gray,
        ///
        Color_green,
        ///
-       Color_blue,
+       Color_lightgray,
        ///
-       Color_cyan,
+       Color_lime,
        ///
        Color_magenta,
        ///
+       Color_olive,
+       ///
+       Color_orange,
+       ///
+       Color_pink,
+       ///
+       Color_purple,
+       ///
+       Color_red,
+       ///
+       Color_teal,
+       ///
+       Color_violet,
+       ///
        Color_yellow,
 
        // Needed interface colors
@@ -65,6 +86,8 @@ enum ColorCode
        Color_commentbg,
        /// Label color for greyedout insets
        Color_greyedoutlabel,
+       /// Color for greyedout inset text
+       Color_greyedouttext,
        /// Background color of greyedout inset
        Color_greyedoutbg,
        /// Background color of shaded box
@@ -80,14 +103,25 @@ enum ColorCode
        Color_indexlabel,
        /// Label color for margin notes
        Color_marginlabel,
+       /// Text color for phantom insets
+       Color_phantomtext,
        /// Label color for URL insets
        Color_urllabel,
 
+       /// Label color 1 for text (layout) labels
+       Color_textlabel1,
+       /// Label color 2 for text (layout) labels
+       Color_textlabel2,
+       /// Label color 3 for text (layout) labels
+       Color_textlabel3,
+
        /// Color for URL inset text
        Color_urltext,
 
        /// Color for the depth bars in the margin
        Color_depthbar,
+       /// Color that indicates when a row can be scrolled
+       Color_scroll,
        /// Color for marking foreign language words
        Color_language,
 
@@ -115,58 +149,59 @@ enum ColorCode
        Color_mathmacrolabel,
        /// Macro math frame color
        Color_mathmacroframe,
-       /// Macro math blended color 
+       /// Macro math blended color
        Color_mathmacroblend,
-       /// Macro template color for old parameters 
+       /// Macro template color for old parameters
        Color_mathmacrooldarg,
-       /// Macro template color for new parameters 
+       /// Macro template color for new parameters
        Color_mathmacronewarg,
        /// Math inset frame color under focus
        Color_mathframe,
        /// Math inset frame color not under focus
        Color_mathcorners,
-       /// Math line color
+       /// Math empty box line color
        Color_mathline,
 
-       /// caption frame color
-       Color_captionframe,
-
-       /// collapsable insets text
-       Color_collapsable,
-       /// collapsable insets frame
-       Color_collapsableframe,
+       /// Collapsible insets text
+       Color_collapsible,
+       /// Collapsible insets frame
+       Color_collapsibleframe,
 
        /// Inset marker background color
        Color_insetbg,
        /// Inset marker frame color
        Color_insetframe,
+       /// Inset marker label color
+       Color_insetlabel,
 
        /// Error box text color
        Color_error,
-       /// EOL marker color
+       /// End of line (EOL) marker color
        Color_eolmarker,
        /// Added space colour
        Color_added_space,
        /// Appendix marker color
        Color_appendix,
-       /// changebar color
+       /// Changebar color
        Color_changebar,
-       /// deleted text color
-       Color_deletedtext,
-       /// added text color
-       Color_addedtext,
-       /// changed text color author 1
-       Color_changedtextauthor1,
-       /// changed text color author 2
-       Color_changedtextauthor2,
-       /// changed text color author 3
-       Color_changedtextauthor3,
-       /// changed text color author 4
-       Color_changedtextauthor4,
-       /// changed text color author 5
-       Color_changedtextauthor5,
-       /// Top and bottom line color
-       Color_topline,
+       /// Deleted text color (exported output) in CT
+       Color_deletedtext_output,
+       /// Added text color (exported output) in CT
+       Color_addedtext_output,
+       /// Changed text color author 1 (workarea)
+       Color_changedtext_workarea_author1,
+       /// Changed text color author 2 (workarea)
+       Color_changedtext_workarea_author2,
+       /// Changed text color author 3 (workarea)
+       Color_changedtext_workarea_author3,
+       /// Changed text color author 4 (workarea)
+       Color_changedtext_workarea_author4,
+       /// Changed text color author 5 (workarea)
+       Color_changedtext_workarea_author5,
+       /// Changed text color document comparison (workarea)
+       Color_changedtext_workarea_comparison,
+       /// Deleted text modifying color (for brightness modulation) (workarea)
+       Color_deletedtext_workarea_modifier,
        /// Table line color
        Color_tabularline,
        /// Table line color
@@ -183,15 +218,32 @@ enum ColorCode
        Color_buttonframe,
        /// Color used for bottom background
        Color_buttonbg,
-       /// Color used for buttom under focus
+       /// Color used for button under focus
        Color_buttonhoverbg,
+       /// Text color for broken insets
+       Color_command_broken,
+       /// Background color for broken insets
+       Color_buttonbg_broken,
+       /// Frame color for broken insets
+       Color_buttonframe_broken,
+       /// Color used for broken inset button under focus
+       Color_buttonhoverbg_broken,
+       /// Color used for the pilcrow sign to mark the end of a paragraph
+       Color_paragraphmarker,
+       /// Preview frame color
+       Color_previewframe,
+       /// Bookmark indicator color
+       Color_bookmark,
 
        // Logical attributes
 
        /// Color is inherited
        Color_inherit,
+       /// Color for regexp frame
+       Color_regexpframe,
        /// For ignoring updates of a color
-       Color_ignore
+       Color_ignore,
+       Color_max = 500
 };