]> git.lyx.org Git - lyx.git/blobdiff - src/insets/insetcollapsable.h
some reindentation, revert workarea xpos++, constify, remove all traces of LyXParagra...
[lyx.git] / src / insets / insetcollapsable.h
index 5b89661942708c4becd8c7732c131fd2a729fed1..de94c0c9882d9535a57268102a0bf700409bce97 100644 (file)
@@ -21,9 +21,6 @@
 #include "insettext.h"
 #include "lyxfont.h"
 #include "LColor.h"
-#if 1 // NEW_INSETS
-#include "lyxparagraph.h"
-#endif
 
 class Painter;
 class LyXText;
@@ -45,8 +42,6 @@ public:
        ///
        InsetCollapsable();
        ///
-       //Inset * Clone(Buffer const &) const;
-       ///
        void Read(Buffer const *, LyXLex &);
        ///
        void Write(Buffer const *, std::ostream &) const;
@@ -135,9 +130,11 @@ public:
        bool nodraw() const;
        ///
        int scroll(bool recursive=true) const;
+       ///
        void scroll(BufferView *bv, float sx) const {
                UpdatableInset::scroll(bv, sx);
        }
+       ///
        void scroll(BufferView *bv, int offset) const {
                UpdatableInset::scroll(bv, offset);
        }
@@ -160,9 +157,7 @@ protected:
        LColor::color framecolor;
        ///
        LyXFont labelfont;
-#ifdef NEW_INSETS
 public:
-#endif
        ///
        InsetText inset;
 protected:
@@ -172,7 +167,6 @@ protected:
        mutable int button_top_y;
        ///
        mutable int button_bottom_y;
-
 private:
        ///
        string label;