]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathHull.h
Fix drawing of empty boxes
[lyx.git] / src / mathed / InsetMathHull.h
index c12fcc75931fd1c45972cc98772de1fd126770aa..f8c04dfe2be2793a44c5b3a641ebeb837a67a373 100644 (file)
@@ -17,7 +17,7 @@
 #include "DocIterator.h"
 #include "OutputEnums.h"
 
-#include <boost/scoped_ptr.hpp>
+#include "support/unique_ptr.h"
 
 
 namespace lyx {
@@ -86,6 +86,8 @@ public:
        ///
        bool ams() const;
        ///
+       bool outerDisplay() const;
+       ///
        void validate(LaTeXFeatures & features) const;
        /// identifies HullInset
        InsetMathHull const * asHullInset() const { return this; }
@@ -185,6 +187,8 @@ public:
        std::string contextMenuName() const;
        ///
        InsetCode lyxCode() const { return MATH_HULL_CODE; }
+       ///
+       bool canPaintChange(BufferView const &) const;
 
 protected:
        InsetMathHull(InsetMathHull const &);
@@ -235,7 +239,7 @@ private:
        /// change number of columns, split or combine columns if necessary.
        void changeCols(col_type);
        ///
-       docstring standardFont() const;
+       std::string standardFont() const;
        ///
        ColorCode standardColor() const;
        /// consistency check
@@ -258,7 +262,7 @@ private:
        ///
        std::vector<InsetLabel *> label_;
        ///
-       boost::scoped_ptr<RenderPreview> preview_;
+       unique_ptr<RenderPreview> preview_;
        ///
        DocIterator docit_;
        ///