4 * This file is part of LyX, the document processor.
5 * Licence details can be found in the file COPYING.
7 * Full author contact details are available in file CREDITS.
15 /// Names of colors, including all logical colors
18 /// No particular color---clear or default
20 /// The different text colors
37 // Needed interface colors
45 /// Background color of selected text
47 /// Text color in LaTeX mode
49 /// The color used for previews
52 /// Text color for notes
54 /// Background color of notes
56 /// Text color for comments
58 /// Background color of comments
60 /// Text color for greyedout inset
62 /// Background color of greyedout inset
64 /// Shaded box background
67 /// Color for the depth bars in the margin
69 /// Color for marking foreign language words
72 /// Text color for command insets
74 /// Background color for command insets
76 /// Frame color for command insets
79 /// Special chars text color
82 /// Graphics inset background color
84 /// Math inset text color
86 /// Math inset background color
88 /// Macro math inset background color
90 /// Macro math inset background color hovered
91 Color_mathmacrohoverbg,
92 /// Macro math label color
94 /// Macro math frame color
96 /// Macro math blended color
98 /// Math inset frame color under focus
100 /// Math inset frame color not under focus
105 /// caption frame color
108 /// collapsable insets text
110 /// collapsable insets frame
111 Color_collapsableframe,
113 /// Inset marker background color
115 /// Inset marker frame color
118 /// Error box text color
122 /// Added space colour
124 /// Appendix marker color
128 /// deleted text color
132 /// Top and bottom line color
137 Color_tabularonoffline,
138 /// Bottom area color
145 // FIXME: why are the next four separate ??
146 /// Color used for button frame
148 /// Color used for bottom background
150 /// Color used for buttom under focus
153 // Logical attributes
155 /// Color is inherited
157 /// For ignoring updates of a color
166 RGBColor() : r(0), g(0), b(0) {}
167 RGBColor(unsigned int red, unsigned int green, unsigned int blue)
168 : r(red), g(green), b(blue) {}
171 inline bool operator==(RGBColor const & c1, RGBColor const & c2)
173 return (c1.r == c2.r && c1.g == c2.g && c1.b == c2.b);
177 inline bool operator!=(RGBColor const & c1, RGBColor const & c2)