mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-13 06:20:28 +00:00
2a5ab60ce8
Some mathed internal renamings to prepare further IU git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7173 a592a061-630c-0410-9148-cb99ea01b6c8
36 lines
691 B
C++
36 lines
691 B
C++
// -*- C++ -*-
|
|
#ifndef MATH_FRAMEBOXINSET_H
|
|
#define MATH_FRAMEBOXINSET_H
|
|
|
|
#include "math_nestinset.h"
|
|
|
|
|
|
/** Extra nesting
|
|
* \author André Pönitz
|
|
*
|
|
* Full author contact details are available in file CREDITS
|
|
*/
|
|
|
|
class MathFrameboxInset : public MathNestInset {
|
|
public:
|
|
///
|
|
MathFrameboxInset();
|
|
///
|
|
InsetBase * clone() const;
|
|
///
|
|
void metrics(MetricsInfo & mi, Dimension & dim) const;
|
|
///
|
|
void draw(PainterInfo & pi, int x, int y) const;
|
|
///
|
|
void write(WriteStream & os) const;
|
|
/// write normalized content
|
|
void normalize(NormalStream & ns) const;
|
|
///
|
|
mode_type currentMode() const { return TEXT_MODE; }
|
|
private:
|
|
/// width of '[' in current font
|
|
mutable int w_;
|
|
};
|
|
|
|
#endif
|