#ifndef FORM_MATHSPANEL_H
#define FORM_MATHSPANEL_H
+#include "commandtags.h"
#include <boost/smart_ptr.hpp>
#ifdef __GNUG_
MM_SPACE,
MM_STYLE,
MM_DOTS,
+ MM_AMS_MISC,
+ MM_AMS_ARROWS,
+ MM_AMS_BREL,
+ MM_AMS_NREL,
+ MM_AMS_OPS,
MM_FUNC
};
///
void setActive(FormMathsSub *) const;
/// dispatch a symbol insert
- void insertSymbol(string const & sym) const;
-
+ void insertSymbol(string const & sym, bool bs = true) const;
+ /// dispatch an LFUN:
+ void dispatchFunc(kb_action action) const;
private:
/// Pointer to the actual instantiation of the ButtonController.
virtual xformsBC & bc();
boost::scoped_ptr<FormMathsBitmap> misc_;
boost::scoped_ptr<FormMathsBitmap> dots_;
boost::scoped_ptr<FormMathsBitmap> varsize_;
+ boost::scoped_ptr<FormMathsBitmap> ams_misc_;
+ boost::scoped_ptr<FormMathsBitmap> ams_arrows_;
+ boost::scoped_ptr<FormMathsBitmap> ams_rel_;
+ boost::scoped_ptr<FormMathsBitmap> ams_nrel_;
+ boost::scoped_ptr<FormMathsBitmap> ams_ops_;
/// A pointer to the currently active subdialog
mutable FormMathsSub * active_;