]> git.lyx.org Git - lyx.git/blobdiff - src/insets/insetgraphicsParams.h
The speed patch: redraw only rows that have changed
[lyx.git] / src / insets / insetgraphicsParams.h
index b96343836f71a14e30d40200f1a6918bc3f0c858..338a58d5d4462a7256ef4eb99330264c784b7f48 100644 (file)
@@ -27,9 +27,10 @@ namespace graphics {
 }
 
 
-/// This struct holds all the parameters needed by insetGraphics.
-struct InsetGraphicsParams
+/// This class holds all the parameters needed by insetGraphics.
+class InsetGraphicsParams
 {
+public:
        /// Image filename.
        lyx::support::FileName filename;
        /// Scaling the Screen inside Lyx
@@ -37,7 +38,7 @@ struct InsetGraphicsParams
        /// How to display the image inside LyX
        lyx::graphics::DisplayType display;
        /// Scaling for output (LaTeX)
-       float scale;
+       std::string scale;
        /// sizes for output (LaTeX)
        LyXLength width;
        ///
@@ -55,7 +56,7 @@ struct InsetGraphicsParams
        bool clip;
 
        /// Rotation angle.
-       float rotateAngle;
+       std::string rotateAngle;
        /// Origin point of rotation
        std::string rotateOrigin;
        /// Do we have a subcaption?