mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-11 13:46:43 +00:00
31 lines
438 B
C
31 lines
438 B
C
|
// -*- C++ -*-
|
||
|
#ifndef MATH_DELIMINSET_H
|
||
|
#define MATH_DELIMINSET_H
|
||
|
|
||
|
#include "math_parinset.h"
|
||
|
|
||
|
/// A delimiter
|
||
|
class MathDelimInset: public MathParInset {
|
||
|
public:
|
||
|
///
|
||
|
MathDelimInset(int, int, short st = LM_ST_TEXT);
|
||
|
///
|
||
|
MathedInset * Clone();
|
||
|
///
|
||
|
void draw(Painter &, int, int);
|
||
|
///
|
||
|
void Write(std::ostream &, bool fragile);
|
||
|
///
|
||
|
void Metrics();
|
||
|
protected:
|
||
|
///
|
||
|
int left;
|
||
|
///
|
||
|
int right;
|
||
|
///
|
||
|
int dw;
|
||
|
///
|
||
|
int dh;
|
||
|
};
|
||
|
#endif
|