]> git.lyx.org Git - features.git/blobdiff - src/insets/insetfloat.h
read the Changelog
[features.git] / src / insets / insetfloat.h
index 960ed603f2fa1f9f2c1fb7709e588b98913b6bc1..62e51aae9eed9e80d70e31ef877700f3159ad1c3 100644 (file)
@@ -26,12 +26,9 @@ class Painter;
 class InsetFloat : public InsetCollapsable {
 public:
        ///
-       explicit
-       InsetFloat();
+       InsetFloat(string const &);
        ///
-       ~InsetFloat() {}
-       ///
-       void Write(Buffer const * buf, ostream & os) const;
+       void Write(Buffer const * buf, std::ostream & os) const;
        ///
        void Read(Buffer const * buf, LyXLex & lex);
        ///
@@ -45,18 +42,20 @@ public:
        ///
        const char * EditMessage() const;
        ///
-       bool InsertInset(BufferView *, Inset * inset);
-       ///
        bool InsertInsetAllowed(Inset * inset) const;
        ///
-       LyXFont GetDrawFont(BufferView *, LyXParagraph * par, int pos) const;
-       ///
        void InsetButtonRelease(BufferView * bv, int x, int y, int button);
+       ///
+       void wide(bool w);
+       ///
+       bool wide() const;
 private:
        ///
        string floatType;
        ///
        string floatPlacement;
+       ///
+       bool wide_;
 };
 
 #endif