]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/xforms/FormMathsStyle.C
Yet more dialog tweaking from Rob.
[lyx.git] / src / frontends / xforms / FormMathsStyle.C
index e326eee15251170270fe2f007103ef13321f8387..31c87871d001d03cd60af3c0e97b3b4be67c86a6 100644 (file)
@@ -1,30 +1,34 @@
 /**
  * \file FormMathsStyle.C
- * Copyright 2001 The LyX Team.
- * See the file COPYING.
+ * This file is part of LyX, the document processor.
+ * Licence details can be found in the file COPYING.
  *
  * \author Alejandro Aguilar Sierra
- * \author Pablo De Napoli, pdenapo@dm.uba.ar
- * \author John Levon, moz@compsoc.man.ac.uk
- * \author Angus Leeming, a.leeming@ic.ac.uk
+ * \author Pablo De Napoli
+ * \author John Levon
+ * \author Angus Leeming 
+ *
+ * Full author contact details are available in file CREDITS
  * Adapted from FormMathsSpace martin.vermeer@hut.fi
  */
 
 #include <config.h>
 
-#ifdef __GNUG_
+#ifdef __GNUG__
 #pragma implementation
 #endif
 
 #include "FormMathsStyle.h"
-#include "form_maths_style.h"
+#include "forms/form_maths_style.h"
 #include "bmtable.h"
 
+#include "debug.h"
+
+#include FORMS_H_LOCATION
+
 #include "style.xbm"
 #include "font.xbm"
 
-#include "debug.h"
-
 char const * latex_mathstyle[] = {
        "displaystyle", "textstyle", "scriptstyle", "scriptscriptstyle"
 };
@@ -36,7 +40,7 @@ kb_action latex_mathfontcmds[] = {
 
 
 
-FormMathsStyle::FormMathsStyle(LyXView * lv, Dialogs * d,
+FormMathsStyle::FormMathsStyle(LyXView & lv, Dialogs & d,
                               FormMathsPanel const & p)
        : FormMathsSub(lv, d, p, _("Maths Styles & Fonts"), false),
          style_(-1)
@@ -53,7 +57,7 @@ FL_FORM * FormMathsStyle::form() const
 
 void FormMathsStyle::build()
 {
-       dialog_.reset(build_maths_style());
+       dialog_.reset(build_maths_style(this));
 
        fl_set_bmtable_data(dialog_->bmtable_style1, 1, 1,
                            style1_width, style1_height, style1_bits);