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
Color_tabularonoffline,
/// Bottom area color
Color_bottomarea,
+ /// New page color
+ Color_newpage,
/// Page break color
Color_pagebreak,
Color_ignore
};
+
+struct RGBColor {
+ unsigned int r;
+ unsigned int g;
+ unsigned int b;
+ RGBColor() : r(0), g(0), b(0) {}
+ RGBColor(unsigned int red, unsigned int green, unsigned int blue)
+ : r(red), g(green), b(blue) {}
+};
+
+inline bool operator==(RGBColor const & c1, RGBColor const & c2)
+{
+ return (c1.r == c2.r && c1.g == c2.g && c1.b == c2.b);
+}
+
+
+inline bool operator!=(RGBColor const & c1, RGBColor const & c2)
+{
+ return !(c1 == c2);
+}
+
} // namespace lyx
#endif