mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-28 12:26:59 +00:00
7f6bd7f12d
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1641 a592a061-630c-0410-9148-cb99ea01b6c8
36 lines
592 B
C++
36 lines
592 B
C++
// -*- 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 MathedInset {
|
|
public:
|
|
///
|
|
explicit
|
|
MathFuncInset(string const & nm,
|
|
short ot = LM_OT_FUNC, short st = LM_ST_TEXT);
|
|
///
|
|
MathedInset * Clone();
|
|
///
|
|
void draw(Painter &, int, int);
|
|
///
|
|
void Write(std::ostream &, bool fragile);
|
|
///
|
|
void Metrics();
|
|
///
|
|
bool GetLimits() const;
|
|
private:
|
|
///
|
|
bool lims_;
|
|
};
|
|
#endif
|