lyx_mirror/src/mathed/math_diminset.h
André Pönitz 8b7b3a5895 - fix nasty bug due to missing InsetFormula copy c'tor
- make all cache variables mutable, remove const_casts


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2426 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-06 17:20:26 +00:00

28 lines
378 B
C++

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