mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-09 10:47:57 +00:00
31a37ba49b
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_3_X@6541 a592a061-630c-0410-9148-cb99ea01b6c8
39 lines
723 B
C++
39 lines
723 B
C++
// -*- C++ -*-
|
|
#ifndef MATH_FRAMEBOXINSET_H
|
|
#define MATH_FRAMEBOXINSET_H
|
|
|
|
#include "math_nestinset.h"
|
|
|
|
#ifdef __GNUG__
|
|
#pragma interface
|
|
#endif
|
|
|
|
/** Extra nesting
|
|
* \author André Pönitz
|
|
*
|
|
* Full author contact details are available in file CREDITS
|
|
*/
|
|
|
|
class MathFrameboxInset : public MathNestInset {
|
|
public:
|
|
///
|
|
MathFrameboxInset();
|
|
///
|
|
MathInset * clone() const;
|
|
///
|
|
void metrics(MathMetricsInfo & mi) const;
|
|
///
|
|
void draw(MathPainterInfo & 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
|