]> git.lyx.org Git - features.git/blobdiff - src/metricsinfo.h
This is the merging of the GUI API cleanup branch that was developed in svn+ssh:...
[features.git] / src / metricsinfo.h
index e7d3eeb36073a33b9c90c6e44703b3b1c4da13c9..84163116955aed6655a96635074848916987a527 100644 (file)
 
 #include <string>
 
-class Painter;
 class BufferView;
 
+namespace lyx {
+namespace frontend {
+class Painter;
+}
+}
+
 
 /// Standard Sizes (mode styles)
 enum Styles {
@@ -80,7 +85,7 @@ public:
 class PainterInfo {
 public:
        ///
-       PainterInfo(BufferView * bv, Painter & pain);
+       PainterInfo(BufferView * bv, lyx::frontend::Painter & pain);
        ///
        void draw(int x, int y, char c);
        ///
@@ -89,7 +94,7 @@ public:
        ///
        MetricsBase base;
        ///
-       Painter & pain;
+       lyx::frontend::Painter & pain;
        /// Whether the text at this point is right-to-left (for InsetNewline)
        bool ltr_pos;
        /// Whether the parent is deleted (change tracking)