forget to add the file

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2415 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
André Pönitz 2001-08-03 17:56:11 +00:00
parent 244d75e942
commit 2369041276
2 changed files with 50 additions and 0 deletions

View File

@ -0,0 +1,24 @@
#include "math_diminset.h"
MathDimInset::MathDimInset()
: width_(0), ascent_(0), descent_(0)
{}
int MathDimInset::ascent() const
{
return ascent_;
}
int MathDimInset::descent() const
{
return descent_;
}
int MathDimInset::width() const
{
return width_;
}

View File

@ -0,0 +1,26 @@
// -*- C++ -*-
#ifndef MATH_DIMINSET_H
#define MATH_DIMINSET_H
#include "math_inset.h"
/// thing that need the dimension cache
class MathDimInset : public MathInset {
public:
MathDimInset();
///
int ascent() const;
///
int descent() const;
///
int width() const;
protected:
///
int width_;
///
int ascent_;
///
int descent_;
};
#endif