]> git.lyx.org Git - lyx.git/blobdiff - src/BufferView.h
Capitalize labels of floats, etc. Fixes #11993.
[lyx.git] / src / BufferView.h
index 74e29c6424681ff0048a9dc660bb8768acd0659f..1b76da27117c593e4fdad9bc029f5465883005d4 100644 (file)
@@ -26,6 +26,7 @@ namespace lyx {
 
 namespace support { class FileName; }
 
+namespace frontend { struct CaretGeometry; }
 namespace frontend { class Painter; }
 namespace frontend { class GuiBufferViewDelegate; }
 
@@ -311,6 +312,10 @@ public:
        bool caretInView() const;
        /// get the position and height of the caret
        void caretPosAndDim(Point & p, Dimension & dim) const;
+       /// compute the shape of the caret
+       void buildCaretGeometry(bool complet);
+       /// the shape of the caret
+       frontend::CaretGeometry const & caretGeometry() const;
 
        ///
        void draw(frontend::Painter & pain, bool paint_caret);