mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-09-21 23:51:25 +00:00
244d75e942
sizeof(MathInset) == 24 on IA32 git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2414 a592a061-630c-0410-9148-cb99ea01b6c8
36 lines
592 B
C++
36 lines
592 B
C++
// -*- C++ -*-
|
|
#ifndef MATH_SYMBOLINSET_H
|
|
#define MATH_SYMBOLINSET_H
|
|
|
|
#include "math_diminset.h"
|
|
|
|
struct latexkeys;
|
|
|
|
/// big operators
|
|
class MathSymbolInset : public MathDimInset {
|
|
public:
|
|
///
|
|
explicit MathSymbolInset(latexkeys const *);
|
|
///
|
|
MathInset * clone() const;
|
|
///
|
|
void write(std::ostream &, bool fragile) const;
|
|
///
|
|
void writeNormal(std::ostream &) const;
|
|
///
|
|
void metrics(MathStyles st);
|
|
///
|
|
void draw(Painter &, int, int);
|
|
///
|
|
bool isScriptable() const { return true; }
|
|
|
|
private:
|
|
///
|
|
latexkeys const * sym_;
|
|
///
|
|
string ssym_;
|
|
///
|
|
MathTextCodes code_;
|
|
};
|
|
#endif
|