]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/xforms/FormMathsBitmap.h
Bugfixes: checkboxes to radiobuttons (from J�rgen S) and remove a little
[lyx.git] / src / frontends / xforms / FormMathsBitmap.h
index 4a3c6d07beba5b0976108092183f7ac183ea18a3..4d9495e630643f724fde6db7245f6eee423e57b3 100644 (file)
@@ -13,7 +13,7 @@
 #define FORM_MATHSBITMAP_H
 
 #include <vector>
-#include <boost/smart_ptr.hpp>
+#include "support/smart_ptr.h"
 
 #ifdef __GNUG__
 #pragma interface
  * This class provides an XForms implementation of a maths bitmap form.
  */
 class FormMathsBitmap : public FormMathsSub {
+       ///
        friend class FormMathsPanel;
 
-  public:
+public:
+       ///
+       typedef lyx::shared_c_ptr<FL_OBJECT> bm_ptr;
        ///
-       typedef boost::shared_ptr<FL_OBJECT> bm_ptr;
+       typedef lyx::shared_c_ptr<FL_FORM> fl_ptr;
+       
        ///
        FormMathsBitmap(LyXView *, Dialogs * d, FormMathsPanel const &,
                        std::vector<string> const &);
        ///
+       ~FormMathsBitmap();
+       ///
        void addBitmap(int, int, int, int, int, unsigned char const *,
                       bool = true);
 
@@ -57,7 +63,7 @@ private:
        /// The latex name chosen
        string latex_chosen_;
        /// Real GUI implementation
-       FL_FORM * form_;
+       fl_ptr form_;
        /// The bitmap tables
        std::vector<bm_ptr> bitmaps_;