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 /// Label color for branches
69 /// Label color for footnotes
71 /// Label color for index insets
73 /// Label color for margin notes
75 /// Label color for URL insets
77 /// Label color for URL text
80 /// Color for the depth bars in the margin
82 /// Color for marking foreign language words
85 /// Text color for command insets
87 /// Background color for command insets
89 /// Frame color for command insets
92 /// Special chars text color
95 /// Graphics inset background color
97 /// Math inset text color
99 /// Math inset background color
101 /// Macro math inset background color
103 /// Macro math inset background color hovered
104 Color_mathmacrohoverbg,
105 /// Macro math label color
106 Color_mathmacrolabel,
107 /// Macro math frame color
108 Color_mathmacroframe,
109 /// Macro math blended color
110 Color_mathmacroblend,
111 /// Math inset frame color under focus
113 /// Math inset frame color not under focus
118 /// caption frame color
121 /// collapsable insets text
123 /// collapsable insets frame
124 Color_collapsableframe,
126 /// Inset marker background color
128 /// Inset marker frame color
131 /// Error box text color
135 /// Added space colour
137 /// Appendix marker color
141 /// deleted text color
145 /// Top and bottom line color
150 Color_tabularonoffline,
151 /// Bottom area color
158 // FIXME: why are the next four separate ??
159 /// Color used for button frame
161 /// Color used for bottom background
163 /// Color used for buttom under focus
166 // Logical attributes
168 /// Color is inherited
170 /// For ignoring updates of a color
179 RGBColor() : r(0), g(0), b(0) {}
180 RGBColor(unsigned int red, unsigned int green, unsigned int blue)
181 : r(red), g(green), b(blue) {}
184 inline bool operator==(RGBColor const & c1, RGBColor const & c2)
186 return (c1.r == c2.r && c1.g == c2.g && c1.b == c2.b);
190 inline bool operator!=(RGBColor const & c1, RGBColor const & c2)