]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetTheorem.cpp
* Inset: Prepare for an eventual merge of updateLabels() and addToToc()
[lyx.git] / src / insets / InsetTheorem.cpp
index a328176088f8ae425b071672d2038394cf0edee1..3dae9df1b2a973049dd1bc8a22ac5d2aea92431c 100644 (file)
@@ -1,5 +1,6 @@
+#if 0
 /**
- * \file Inset.heorem.cpp
+ * \file InsetTheorem.cpp
  * This file is part of LyX, the document processor.
  * Licence details can be found in the file COPYING.
  *
 
 #include <config.h>
 
-#include "Inset.heorem.h"
+#include "InsetTheorem.h"
 #include "insets/InsetText.h"
 
-#include "debug.h"
-#include "gettext.h"
-#include "Font.h"
+#include "support/debug.h"
+#include "support/gettext.h"
+#include "FontInfo.h"
 #include "Text.h"
 #include "MetricsInfo.h"
 
-#include "support/std_ostream.h"
+#include <ostream>
 
+using namespace std;
 
 namespace lyx {
 
-using std::endl;
-using std::ostream;
-
-
 /*
   The intention is to be able to create arbitrary theorem like environments
    sing this class and some helper/container classes. It should be possible
@@ -39,11 +37,6 @@ Inset.heorem::InsetTheorem()
        : InsetCollapsable()
 {
        setLabel(_("theorem"));
-       Font font(Font::ALL_SANE);
-       font.decSize();
-       font.decSize();
-       font.setColor(Color::collapsable);
-       setLabelFont(font);
 #if 0
        setAutoCollapse(false);
 #endif
@@ -100,3 +93,5 @@ int Inset.heorem::latex(Buffer const * buf, odocstream & os,
 
 
 } // namespace lyx
+
+#endif