]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/xforms/FormMathsPanel.h
Bugfixes: checkboxes to radiobuttons (from J�rgen S) and remove a little
[lyx.git] / src / frontends / xforms / FormMathsPanel.h
index a6c9c133d31fc9bd2eb571bfb3022055f8cca541..87ae8ff60e226feb31e89729b413b0bede9355be 100644 (file)
@@ -12,6 +12,7 @@
 #ifndef FORM_MATHSPANEL_H
 #define FORM_MATHSPANEL_H
 
+#include "commandtags.h"
 #include <boost/smart_ptr.hpp>
 
 #ifdef __GNUG_
@@ -25,6 +26,7 @@ class FormMathsDeco;
 class FormMathsDelim;
 class FormMathsMatrix;
 class FormMathsSpace;
+class FormMathsStyle;
 class FormMathsSub;
 struct FD_form_maths_panel;
 
@@ -46,7 +48,13 @@ enum MathsCallbackValues {
        MM_EQU,
        MM_DECO,
        MM_SPACE,
+       MM_STYLE,
        MM_DOTS,
+       MM_AMS_MISC,
+       MM_AMS_ARROWS,
+       MM_AMS_BREL,
+       MM_AMS_NREL,
+       MM_AMS_OPS,
        MM_FUNC
 };
  
@@ -60,8 +68,9 @@ public:
        ///
        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();
@@ -88,6 +97,7 @@ private:
        boost::scoped_ptr<FormMathsDelim>  delim_;
        boost::scoped_ptr<FormMathsMatrix> matrix_;
        boost::scoped_ptr<FormMathsSpace>  space_;
+       boost::scoped_ptr<FormMathsStyle>  style_;
        boost::scoped_ptr<FormMathsBitmap> arrow_;
        boost::scoped_ptr<FormMathsBitmap> boperator_;
        boost::scoped_ptr<FormMathsBitmap> brelats_;
@@ -95,6 +105,11 @@ private:
        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_;