]> git.lyx.org Git - lyx.git/blobdiff - src/insets/insettext.h
updates to minipage inset
[lyx.git] / src / insets / insettext.h
index ce8d3d638674971c65f8f1b72089d697d8e2e44b..e14b164512f986c46b8e1488b13b79060a3fadb1 100644 (file)
@@ -50,15 +50,15 @@ public:
        ///
        CLEAR_FRAME = 2,
        ///
-       DRAW_FRAME = 3,
+       DRAW_FRAME = 4,
        ///
-       SELECTION = 4,
+       SELECTION = 8,
        ///
-       CURSOR_PAR = 5,
+       CURSOR_PAR = 16,
        ///
-       FULL = 6,
+       FULL = 32,
        ///
-       INIT = 7
+       INIT = 64
     };
     ///
     enum DrawFrame {
@@ -99,7 +99,7 @@ public:
     ///
     void update(BufferView *, LyXFont const &, bool =false);
     ///
-    void SetUpdateStatus(UpdateCodes);
+    void SetUpdateStatus(BufferView *, int what);
     ///
     string const EditMessage() const;
     ///
@@ -125,7 +125,7 @@ public:
     ///
     void InsetKeyPress(XKeyEvent *);
     ///
-    UpdatableInset::RESULT LocalDispatch(BufferView *, int, string const &);
+    UpdatableInset::RESULT LocalDispatch(BufferView *, kb_action, string const &);
     ///
     int Latex(Buffer const *, std::ostream &,
              bool fragile, bool free_spc) const;
@@ -170,7 +170,7 @@ public:
     ///
     void SetFrameColor(BufferView *, LColor::color);
     ///
-    LyXText * getLyXText(BufferView const *) const;
+    LyXText * getLyXText(BufferView const *, bool const recursive=false) const;
     ///
     void deleteLyXText(BufferView *, bool recursive=true) const;
     ///
@@ -178,11 +178,11 @@ public:
     ///
     LyXParagraph * par;
     ///
-    mutable UpdateCodes need_update;
+    mutable int need_update;
 
 protected:
     ///
-    void UpdateLocal(BufferView *, UpdateCodes, bool mark_dirty);
+    void UpdateLocal(BufferView *, int what, bool mark_dirty);
     ///
     mutable int drawTextXOffset;
     ///