* \author John Levon
* \author Angus Leeming
*
- * Full author contact details are available in file CREDITS
+ * Full author contact details are available in file CREDITS.
*/
#include <config.h>
-
#include "FormMathsBitmap.h"
-#include "ControlMath2.h"
-#include "xformsBC.h"
#include "bmtable.h"
#include "forms_gettext.h"
-#include "gettext.h"
-#include "support/LAssert.h"
-
-#include "lyx_xpm.h"
+#include "xformsBC.h"
-#include <algorithm>
+#include "ControlMath.h"
-extern "C" void C_FormDialogView_CancelCB(FL_OBJECT *, long);
-extern "C" void C_FormDialogView_InputCB(FL_OBJECT *, long);
-using std::vector;
using std::max;
+using std::vector;
+using std::string;
+
+extern "C" void C_FormDialogView_CancelCB(FL_OBJECT *, long);
+extern "C" void C_FormDialogView_InputCB(FL_OBJECT *, long);
FD_maths_bitmap::~FD_maths_bitmap()
{
}
-typedef FormController<ControlMath2, FormView<FD_maths_bitmap> > base_class;
+typedef FormController<ControlMath, FormView<FD_maths_bitmap> > base_class;
FormMathsBitmap::FormMathsBitmap(Dialog & parent, string const & t, vector<string> const & l)
void FormMathsBitmap::build()
{
- lyx::Assert(bitmaps_.size() > 0);
+ BOOST_ASSERT(bitmaps_.size() > 0);
h_+= 42; // Allow room for a Close button