#define METRICSINFO_H
#include "lyxfont.h"
-#include "support/std_string.h"
+
+#include <string>
class Painter;
class BufferView;
};
-//
+//
// This is the part common to MetricsInfo and PainterInfo
//
struct MetricsBase {
/// current math style (display/text/script/..)
Styles style;
/// name of current font - mathed specific
- string fontname;
+ std::string fontname;
/// This is the width available in pixels
int textwidth;
};
};
+// temporarily change the used color
+struct ColorChanger : public Changer<LyXFont, std::string> {
+ ///
+ ColorChanger(LyXFont & font, std::string const & color);
+ ///
+ ~ColorChanger();
+};
+
#endif