]> git.lyx.org Git - lyx.git/blobdiff - src/insets/insetgraphicsParams.h
The markDirty() and fitCursor() changes
[lyx.git] / src / insets / insetgraphicsParams.h
index a3aafedb2ad7fb36b6bac980ff69f915339aa9d2..edbafeb03dab74a9bfb44912241be4124f9d4cd4 100644 (file)
@@ -1,21 +1,18 @@
 // -*- C++ -*-
-/* This file is part of
- * =================================================
- *
- *          LyX, The Document Processor
- *          Copyright 1995 Matthias Ettrich.
- *          Copyright 1995-2002 The LyX Team.
+/**
+ * \file insetgraphicsParams.h
+ * This file is part of LyX, the document processor.
+ * Licence details can be found in the file COPYING.
  *
  * \author Baruch Even
- * \author Herbert Voss <voss@lyx.org>
- * ================================================= */
+ * \author Herbert Voss
+ *
+ * Full author contact details are available in file CREDITS
+ */
 
 #ifndef INSETGRAPHICSPARAMS_H
 #define INSETGRAPHICSPARAMS_H
 
-#ifdef __GNUG__
-#pragma interface
-#endif
 
 #include "graphics/GraphicsTypes.h"
 #include "LString.h"
@@ -37,7 +34,7 @@ struct InsetGraphicsParams
        /// How to display the image inside LyX
        grfx::DisplayType display;
        /// Scaling for output (LaTeX)
-       unsigned int scale;
+       float scale;
        /// sizes for output (LaTeX)
        LyXLength width;
        ///
@@ -79,7 +76,7 @@ struct InsetGraphicsParams
   // Only a subset of InsetGraphicsParams is needed for display purposes.
   // This function also interrogates lyxrc to ascertain whether
   // to display or not.
-       grfx::Params as_grfxParams(string const & filepath) const;
+       grfx::Params as_grfxParams(string const & filepath = string()) const;
 
 private:
        /// Initialize the object to a default status.