]> git.lyx.org Git - features.git/blobdiff - src/insets/insettext.h
Lot's of updates for new update handling of text-insets
[features.git] / src / insets / insettext.h
index c61fffd0a493b5d80beb6f00e41b835f0819ee25..50cfd1044e567e9a924a608829a4ca85097deb91 100644 (file)
@@ -45,6 +45,7 @@ public:
        INIT,
        FULL,
        CURSOR_PAR,
+       CURSOR,
        SELECTION
     };
     ///
@@ -71,7 +72,9 @@ public:
     ///
     int width(Painter &, LyXFont const & f) const;
     ///
-    void draw(BufferView *, LyXFont const &, int , float &) const;
+    int textWidth(Painter &) const;
+    ///
+    void draw(BufferView *, LyXFont const &, int , float &, bool) const;
     ///
     void update(BufferView *, LyXFont const &, bool =false);
     ///