mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-11 13:46:43 +00:00
fe87869cb7
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4289 a592a061-630c-0410-9148-cb99ea01b6c8
44 lines
720 B
C++
44 lines
720 B
C++
// -*- C++ -*-
|
|
#ifndef MATH_BIGINSET_H
|
|
#define MATH_BIGINSET_H
|
|
|
|
#include "math_diminset.h"
|
|
#include "LString.h"
|
|
|
|
#ifdef __GNUG__
|
|
#pragma interface
|
|
#endif
|
|
|
|
/** Inset for \bigl & Co.
|
|
\author André Pönitz
|
|
*/
|
|
|
|
class MathBigInset : public MathDimInset {
|
|
public:
|
|
///
|
|
MathBigInset(string const & name, string const & delim);
|
|
///
|
|
MathInset * clone() const;
|
|
///
|
|
void draw(MathPainterInfo &, int x, int y) const;
|
|
///
|
|
void write(WriteStream & os) const;
|
|
///
|
|
void metrics(MathMetricsInfo & st) const;
|
|
///
|
|
void normalize(NormalStream & os) const;
|
|
|
|
private:
|
|
///
|
|
size_type size() const;
|
|
///
|
|
double increase() const;
|
|
|
|
/// \bigl or what?
|
|
string const name_;
|
|
/// ( or [ or Vert...
|
|
string const delim_;
|
|
};
|
|
|
|
#endif
|