* This file is part of LyX, the document processor.
* Licence details can be found in the file COPYING.
*
- * \author André Pönitz
+ * \author André Pönitz
*
* Full author contact details are available in file CREDITS.
*/
class CommandInset : public InsetMathNest {
public:
///
- explicit CommandInset(docstring const & name);
+ explicit CommandInset(Buffer * buf, docstring const & name,
+ bool needs_math_mode = true);
///
- bool metrics(MetricsInfo & mi, Dimension & dim) const;
+ void metrics(MetricsInfo & mi, Dimension & dim) const;
///
void draw(PainterInfo & pi, int x, int y) const;
///
///
docstring name_;
///
+ bool needs_math_mode_;
+ ///
mutable bool set_label_;
///
mutable RenderButton button_;