]> git.lyx.org Git - lyx.git/blobdiff - src/insets/insetgraphicsParams.h
* In the process of fixing the math background color bug, this commit transfer backgr...
[lyx.git] / src / insets / insetgraphicsParams.h
index 338a58d5d4462a7256ef4eb99330264c784b7f48..8b2a62842401af1d53257c5e14a5e0a67ad43282 100644 (file)
 #include "lyxlength.h"
 #include "support/filename.h"
 
-class LyXLex;
-
 namespace lyx {
-namespace graphics {
-       class Params;
-}
-}
+
+namespace graphics { class Params; }
+
+class LyXLex;
 
 
 /// This class holds all the parameters needed by insetGraphics.
@@ -32,11 +30,11 @@ class InsetGraphicsParams
 {
 public:
        /// Image filename.
-       lyx::support::FileName filename;
+       support::DocFileName filename;
        /// Scaling the Screen inside Lyx
        unsigned int lyxscale;
        /// How to display the image inside LyX
-       lyx::graphics::DisplayType display;
+       graphics::DisplayType display;
        /// Scaling for output (LaTeX)
        std::string scale;
        /// sizes for output (LaTeX)
@@ -80,7 +78,7 @@ public:
   // Only a subset of InsetGraphicsParams is needed for display purposes.
   // This function also interrogates lyxrc to ascertain whether
   // to display or not.
-       lyx::graphics::Params as_grfxParams() const;
+       graphics::Params as_grfxParams() const;
 
 private:
        /// Initialize the object to a default status.
@@ -94,4 +92,6 @@ bool operator==(InsetGraphicsParams const &, InsetGraphicsParams const &);
 ///
 bool operator!=(InsetGraphicsParams const &, InsetGraphicsParams const &);
 
+} // namespace lyx
+
 #endif