]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetFlex.h
When selecting special logos, set their color correctly
[lyx.git] / src / insets / InsetFlex.h
index d5902be949ae0bb6ed8946b9444f0e372aa4e561..82770026c33249b4e7cd549199b100bbf10adb17 100644 (file)
@@ -23,9 +23,11 @@ namespace lyx {
 class InsetFlex : public InsetCollapsable {
 public:
        ///
-       InsetFlex(Buffer const &, std::string const & layoutName);
+       InsetFlex(Buffer *, std::string const & layoutName);
        ///
-       docstring name() const { return from_utf8(name_); }
+       docstring layoutName() const { return from_utf8("Flex:" + name_); }
+       ///
+       InsetLayout const & getLayout() const;
        ///
        InsetCode lyxCode() const { return FLEX_CODE; }
        /// Default looks
@@ -41,6 +43,8 @@ public:
                FuncStatus &) const;
        ///
        void doDispatch(Cursor & cur, FuncRequest & cmd);
+       ///
+       void updateBuffer(ParIterator const & it, UpdateType utype);
 
 protected:
        ///