mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-13 14:32:04 +00:00
2be247f6ef
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1623 a592a061-630c-0410-9148-cb99ea01b6c8
37 lines
523 B
C++
37 lines
523 B
C++
// -*- C++ -*-
|
|
#ifndef MATH_DELIMINSET_H
|
|
#define MATH_DELIMINSET_H
|
|
|
|
#include "math_parinset.h"
|
|
|
|
#ifdef __GNUG__
|
|
#pragma interface
|
|
#endif
|
|
|
|
/** A delimiter
|
|
\author Alejandro Aguilar Sierra
|
|
*/
|
|
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();
|
|
private:
|
|
///
|
|
int left_;
|
|
///
|
|
int right_;
|
|
///
|
|
int dw_;
|
|
///
|
|
int dh_;
|
|
};
|
|
#endif
|