mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-23 10:18:50 +00:00
1829cdef6a
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6555 a592a061-630c-0410-9148-cb99ea01b6c8
50 lines
885 B
C++
50 lines
885 B
C++
// -*- C++ -*-
|
|
|
|
/**
|
|
* \file math_biginset.h
|
|
*
|
|
* This file is part of LyX, the document processor.
|
|
* Licence details can be found in the file COPYING.
|
|
*
|
|
* \author André Pönitz
|
|
*
|
|
* Full author contact details are available in file CREDITS.
|
|
*/
|
|
|
|
#ifndef MATH_BIGINSET_H
|
|
#define MATH_BIGINSET_H
|
|
|
|
|
|
#include "math_diminset.h"
|
|
#include "LString.h"
|
|
|
|
/// Inset for \bigl & Co.
|
|
class MathBigInset : public MathDimInset {
|
|
public:
|
|
///
|
|
MathBigInset(string const & name, string const & delim);
|
|
///
|
|
MathInset * clone() const;
|
|
///
|
|
void draw(PainterInfo & pi, int x, int y) const;
|
|
///
|
|
void write(WriteStream & os) const;
|
|
///
|
|
void metrics(MetricsInfo & 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
|