mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-11 13:46:43 +00:00
c06f5351cf
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2471 a592a061-630c-0410-9148-cb99ea01b6c8
41 lines
679 B
C++
41 lines
679 B
C++
// -*- C++ -*-
|
|
#ifndef MATH_DELIMINSET_H
|
|
#define MATH_DELIMINSET_H
|
|
|
|
#include "math_nestinset.h"
|
|
#include "LString.h"
|
|
|
|
#ifdef __GNUG__
|
|
#pragma interface
|
|
#endif
|
|
|
|
/** A delimiter
|
|
\author Alejandro Aguilar Sierra
|
|
*/
|
|
|
|
class latexkeys;
|
|
|
|
class MathDelimInset : public MathNestInset {
|
|
public:
|
|
///
|
|
MathDelimInset(latexkeys const *, latexkeys const *);
|
|
///
|
|
MathInset * clone() const;
|
|
///
|
|
void draw(Painter &, int x, int y) const;
|
|
///
|
|
void write(std::ostream &, bool fragile) const;
|
|
///
|
|
void metrics(MathStyles st) const;
|
|
private:
|
|
///
|
|
static string latexName(latexkeys const *);
|
|
///
|
|
int dw() const;
|
|
///
|
|
latexkeys const * left_;
|
|
///
|
|
latexkeys const * right_;
|
|
};
|
|
#endif
|