2 /* This file is part of
3 * ======================================================
5 * LyX, The Document Processor
7 * Copyright 1998-2000 The LyX Team
9 *======================================================*/
25 This is a stateless class.
27 It has one basic purposes:
28 To serve as a color-namespace container (the Color enum).
30 A color can be one of the following kinds:
32 - A real, predefined color, such as black, white, red or green.
33 - A logical color, such as no color, inherit, math
39 /// Names of colors, including all logical colors
41 /// No particular color---clear or default
43 /// The different text colors
60 /// Needed interface colors
66 /// Background color of selected text
68 /// Text color in LaTeX mode
70 /// Titles color of floats
73 /// Text color for notes
75 /// Background color of notes
77 /// Frame color for notes
81 /// Text color for command insets
83 /// Background color for command insets
85 /// Frame color for command insets
88 /// Text color for accents we can't handle nicely
95 /// Minipage line color
98 /// Special chars text color
101 /// Math inset text color
103 /// Math inset background color
105 /// Math inset frame color
107 /// Math cursor color
112 /// Footnote marker text
114 /// Footnote marker background color
116 /// Footnote line color
122 /// Text color for inset marker
124 /// Inset marker background color
126 /// Inset marker frame color
129 /// Error box text color
133 /// Appendix line color
137 /// Top and bottom line color
141 /// Bottom area color
146 /// Color used for top of boxes
148 /// Color used for bottom of boxes
150 /// Color used for left side of boxes
152 /// Color used for right side of boxes
154 /// Color used for bottom background
157 /// Logical attributes
159 /// Color is inherited
161 /// For ignoring updates of a color
168 void setColor(LColor::color col, string const & x11name);
169 /// Get GUI name of color
170 string getGUIName(LColor::color c) const;
172 /// Get X11 name of color
173 string getX11Name(LColor::color c) const;
175 /// Get LaTeX name of color
176 string getLaTeXName(LColor::color c) const;
178 /// Get LyX name of color
179 string getLyXName(LColor::color c) const;
181 LColor::color getFromGUIName(string const & guiname) const;
183 LColor::color getFromLyXName(string const & lyxname) const;
194 void fill(LColor::color col, string const & gui,
195 string const & latex, string const & x11,
199 //typedef map<LColor::color, information, less<LColor::color> > InfoTab;
200 typedef map<LColor::color, information> InfoTab;
205 extern LColor lcolor;