mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-11 13:46:43 +00:00
0024f42724
MathScriptInset/MathBigOpInset git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2220 a592a061-630c-0410-9148-cb99ea01b6c8
34 lines
530 B
C++
34 lines
530 B
C++
// -*- C++ -*-
|
|
#ifndef MATH_DELIMINSET_H
|
|
#define MATH_DELIMINSET_H
|
|
|
|
#include "math_inset.h"
|
|
|
|
#ifdef __GNUG__
|
|
#pragma interface
|
|
#endif
|
|
|
|
/** A delimiter
|
|
\author Alejandro Aguilar Sierra
|
|
*/
|
|
class MathDelimInset : public MathInset {
|
|
public:
|
|
///
|
|
MathDelimInset(int, int);
|
|
///
|
|
MathInset * clone() const;
|
|
///
|
|
void draw(Painter &, int, int);
|
|
///
|
|
void Write(std::ostream &, bool fragile) const;
|
|
///
|
|
void Metrics(MathStyles st, int asc = 0, int des = 0);
|
|
private:
|
|
int dw() const;
|
|
///
|
|
int left_;
|
|
///
|
|
int right_;
|
|
};
|
|
#endif
|