mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-01 05:25:55 +00:00
6a1167adab
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5573 a592a061-630c-0410-9148-cb99ea01b6c8
33 lines
508 B
C
33 lines
508 B
C
#ifdef __GNUG__
|
|
#pragma implementation
|
|
#endif
|
|
|
|
#include "math_diminset.h"
|
|
#include "Lsstream.h"
|
|
#include "textpainter.h"
|
|
|
|
|
|
void MathDimInset::metricsT(TextMetricsInfo const &) const
|
|
{
|
|
#ifndef WITH_WARNINGS
|
|
#warning temporarily disabled
|
|
#endif
|
|
/*
|
|
std::ostringstream os;
|
|
os << MathAtom(this);
|
|
dim_.w = int(os.str().size());
|
|
dim_.a = 1;
|
|
dim_.d = 0;
|
|
*/
|
|
}
|
|
|
|
|
|
void MathDimInset::drawT(TextPainter &, int, int) const
|
|
{
|
|
/*
|
|
std::ostringstream os;
|
|
os << MathAtom(this);
|
|
pain.draw(x, y, STRCONV(os.str()));
|
|
*/
|
|
}
|