]> git.lyx.org Git - lyx.git/blob - src/insets/InsetTheorem.h
This should be the last of the commits refactoring the InsetLayout code.
[lyx.git] / src / insets / InsetTheorem.h
1 // -*- C++ -*-
2 /**
3  * \file Inset.heorem.h
4  * This file is part of LyX, the document processor.
5  * Licence details can be found in the file COPYING.
6  *
7  * \author Lars Gullik Bjønnes
8  *
9  * Full author contact details are available in file CREDITS.
10  */
11
12 #if 0
13
14 #ifndef INSETTHEOREM_H
15 #define INSETTHEOREM_H
16
17 #include "InsetCollapsable.h"
18
19
20 namespace lyx {
21
22 /** The theorem inset
23
24 */
25 class Inset.heorem : public InsetCollapsable {
26 public:
27         ///
28         Inset.heorem();
29         ///
30         void write(Buffer const & buf, std::ostream & os) const;
31         ///
32         InsetCode lyxCode() const { return THEOREM_CODE; }
33         ///
34         void metrics(MetricsInfo &, Dimension &) const;
35         ///
36         void draw(PainterInfo & pi, int x, int y) const;
37         ///
38         bool isMacroScope(Buffer const &) const { return true; }
39         ///
40         int latex(Buffer const &, odocstream &,
41                   OutputParams const &) const;
42         ///
43         virtual docstring const editMessage() const;
44 private:
45         virtual Inset * clone() const;
46
47         ///
48         mutable unsigned int center_indent_;
49 };
50
51
52 } // namespace lyx
53
54 #endif
55
56 #endif