mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-09-22 07:57:22 +00:00
d6f2a2313a
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2466 a592a061-630c-0410-9148-cb99ea01b6c8
35 lines
676 B
C++
35 lines
676 B
C++
// -*- C++ -*-
|
|
#ifndef MATH_BIGOPINSET_H
|
|
#define MATH_BIGOPINSET_H
|
|
|
|
// This inset is for things like "\sum" and "\int" that get displayed
|
|
// larger in displayed formulae and take limits
|
|
|
|
#include "math_diminset.h"
|
|
|
|
struct latexkeys;
|
|
|
|
/// big operators
|
|
class MathBigopInset : public MathDimInset {
|
|
public:
|
|
///
|
|
explicit MathBigopInset(latexkeys const *);
|
|
///
|
|
MathInset * clone() const;
|
|
///
|
|
void write(std::ostream &, bool fragile) const;
|
|
///
|
|
void writeNormal(std::ostream &) const;
|
|
///
|
|
void metrics(MathStyles st) const;
|
|
///
|
|
void draw(Painter &, int x, int y) const;
|
|
///
|
|
bool isScriptable() const { return true; }
|
|
|
|
private:
|
|
///
|
|
latexkeys const * sym_;
|
|
};
|
|
#endif
|