]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetGraphicsParams.h
Fix empty width support for Box inset
[lyx.git] / src / insets / InsetGraphicsParams.h
index 348e7084068222d04a036c23d7b6e9ac04ebf223..33471bf64392fa12bff8cbd14ae622820b8fc3c6 100644 (file)
@@ -5,7 +5,7 @@
  * Licence details can be found in the file COPYING.
  *
  * \author Baruch Even
- * \author Herbert Voß
+ * \author Herbert Voß
  *
  * Full author contact details are available in file CREDITS.
  */
@@ -14,7 +14,6 @@
 #define INSETGRAPHICSPARAMS_H
 
 
-#include "graphics/GraphicsTypes.h"
 #include "Length.h"
 
 #include "support/FileName.h"
@@ -37,8 +36,8 @@ public:
        support::DocFileName filename;
        /// Scaling the Screen inside Lyx
        unsigned int lyxscale;
-       /// How to display the image inside LyX
-       graphics::DisplayType display;
+       /// If to display the image inside LyX
+       bool display;
        /// Scaling for output (LaTeX)
        std::string scale;
        /// sizes for output (LaTeX)