]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_gridinset.h
Make Angus' compiler happy
[lyx.git] / src / mathed / math_gridinset.h
index 8a6e8a14a8735a7af4f11737a25792489400cbfb..dfcffeea2a755f2c4546914448b13114f6acfa85 100644 (file)
@@ -68,10 +68,16 @@ public:
        ///
        MathGridInset(col_type m, row_type n, char valign, string const & halign);
        ///
+       MathInset * clone() const;
+       ///
        void metrics(MathMetricsInfo const & st) const;
        ///
        void draw(Painter &, int x, int y) const;
        ///
+       void metricsT(TextMetricsInfo const & st) const;
+       ///
+       void drawT(TextPainter &, int x, int y) const;
+       ///
        void halign(string const &);
        ///
        void halign(char c, col_type col);
@@ -110,9 +116,9 @@ public:
        int cellYOffset(idx_type idx) const;
 
        ///
-       bool idxUp(idx_type &, pos_type &) const;
+       bool idxUp(idx_type &) const;
        ///
-       bool idxDown(idx_type &, pos_type &) const;
+       bool idxDown(idx_type &) const;
        ///
        bool idxLeft(idx_type &, pos_type &) const;
        ///
@@ -127,17 +133,15 @@ public:
        bool idxEnd(idx_type &, pos_type &) const;
        ///
        void idxDelete(idx_type &, bool &, bool &);
-       ///
-       void idxDeleteRange(idx_type, idx_type);
                        
        ///
-       void addRow(row_type);
+       virtual void addRow(row_type);
        ///
-       void delRow(row_type);
+       virtual void delRow(row_type);
        ///
-       void addCol(col_type);
+       virtual void addCol(col_type);
        ///
-       void delCol(col_type);
+       virtual void delCol(col_type);
        ///
        virtual void appendRow();
        ///
@@ -151,6 +155,17 @@ public:
        ///
        void setDefaults();
 
+       ///
+       virtual int colsep() const;
+       ///
+       virtual int rowsep() const;
+       ///
+       virtual int hlinesep() const;
+       ///
+       virtual int vlinesep() const;
+       ///
+       virtual int border() const;
+
        ///
        void write(WriteStream & os) const;
        ///