lyx_mirror/src/mathed/math_funcinset.h

34 lines
614 B
C
Raw Normal View History

// -*- C++ -*-
#ifndef MATH_FUNCINSET_H
#define MATH_FUNCINSET_H
#include "math_inset.h"
#include "math_defs.h"
#ifdef __GNUG__
#pragma interface
#endif
/**
Functions or LaTeX names for objects that I don't know how to draw.
*/
class MathFuncInset : public MathInset {
public:
///
explicit MathFuncInset(string const & nm, MathInsetTypes ot = LM_OT_FUNC);
///
virtual MathInset * clone() const;
///
void draw(Painter &, int, int);
///
void write(std::ostream &, bool fragile) const;
///
void writeNormal(std::ostream &) const;
///
void metrics(MathStyles st);
private:
///
bool lims_;
};
#endif