*
* Dependencies: Xlib, XForms
*
- * Copyright: (c) 1996, 1997 Alejandro Aguilar Sierra
+ * Copyright: 1996, 1997 Alejandro Aguilar Sierra
*
* Version: 0.8beta.
*
}
-void MathMatrixInset::Draw(int x, int baseline)
+void MathMatrixInset::draw(Painter & pain, int x, int baseline)
{
- MathParInset::Draw(x, baseline);
-}
+ MathParInset::draw(pain, x, baseline);
+}
void MathMatrixInset::Metrics()
{
- int i, hl, h= 0;
- MathedRowSt * cprow= 0, * cxrow;
+ int i, hl, h = 0;
+ MathedRowSt * cprow= 0;
if (!row) {
// lyxerr << " MIDA ";
}
// Clean the arrays
- cxrow = row;
+ MathedRowSt * cxrow = row;
while (cxrow) {
for (i = 0; i <= nc; ++i) cxrow->w[i] = 0;
cxrow = cxrow->next;
MathAccentInset::~MathAccentInset()
{
- if (inset) // DEL LINE
- delete inset;
+ delete inset;
}